Old 02-11-2020, 08:51 AM   #1
JerContact
Human being with feelings
 
Join Date: Feb 2017
Posts: 43
Default Create Batch Convert API like Render API

* Request
I have noticed Batch Convert rendering is much faster than regular rendering in reaper when exporting selected items. The recently added render API has changed our production pipeline immensely!!! We can now render with a single button press (as our settings are always the same, and we can programmatically send the files to the correct location). It's amazing and I can't thank Cockos enough for giving us these magical API's! It would be great to be able to also write in script batch converting in the same way with a comprehensive API.

* Benefit
We would be able to use the power of the batch convert render which is much faster in our tests than regular rendering, plus we could add fx chains and any other batch settings to speed up the workflow and use the power of batching!!

* Reason
The biggest reason for this request is the speed of the render. It's just much faster for longer files than regular rendering from our tests.

* Implementation Suggestion
I would add in API calls to "Add Selected Items" to the queue through script. I would also add "Convert with last settings" in script as well. It would also be a benefit to add in API for "sample rate" and "bit depth" and "channels". And, last but not least it would be great to add in "FX Chain" as an api call!

Thanks, I love Reaper and the community you guys have made!!
JerContact is offline   Reply With Quote
Old 02-15-2020, 03:33 PM   #2
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,079
Default

Having access to Batch-Converting via API would be awesome. I already requested it once for that reason and still support that idea.
Especially, as one could code things like "create proxy-video-files in the background for my video editing-needs"-scripts.

About the speedup you mentioned, however, this could be simply because Reaper doesn't need to process as much for FXs and such in conversions, so comparing batch-converter with rendering is somewhat like comparing apples with bananas.

But still: +1 from me
__________________
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1111 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper
mespotine is offline   Reply With Quote
Old 02-15-2020, 03:44 PM   #3
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,315
Default

Can we also batch export images?
TonE is offline   Reply With Quote
Old 02-15-2020, 04:18 PM   #4
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,079
Default

That would be cool. You mean, to create thumbnail-images from videos and such?
__________________
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1111 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper
mespotine is offline   Reply With Quote
Old 02-16-2020, 01:21 PM   #5
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,315
Default

I was thinking mainly of exporting images of spectral peak waveforms, 1 image per 1 minute for example, I created an extra thread for it, but no replies so far.
TonE is offline   Reply With Quote
Old 02-16-2020, 01:39 PM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,625
Default

Code:
C:\>"Program Files\REAPER (x64)\reaper.exe" -help
or
Code:
$ /Applications/REAPER/REAPER.app/Contents/MacOS/REAPER -help
=>

Code:
Options:
  ...
  -batchconvert filelist.txt : batch converter mode, filelist.txt includes:
     - list of files to convert:
       filename.wav
         or
       filename.wav(TAB CHARACTER)outputfile.wav
     - <CONFIG block:
       - <FXCHAIN sub block with contents of FxChain file
       - FXCHAIN 'fxchainfilename' (use full path if specified, otherwise FxChains directory)
       - <OUTFMT block (base64 output format, copy from project file)
       - SRATE 44100 (omit to use source samplerate)
       - NCH 2 (omit to use source channel count)
       - RSMODE modeidx (resample mode, copy from project file)
       - DITHER 3 (1=dither, 2=noise shaping, 3=both)
       - USESRCSTART 1 (write source media BWF start offset to output)
       - PAD_START 1.0 (leading silence in sec, can be negative)
       - PAD_END 1.0 (trailing silence in sec, can be negative)
       - OUTPATH 'path'
       - OUTPATTERN 'wildcardpattern'
schwa is offline   Reply With Quote
Old 02-16-2020, 02:12 PM   #7
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 2,079
Default

*Slaps onto my hand* of course.

Thanks Schwa Will add that in the next devcycles of my Ultraschall-API then
__________________
Use she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1111 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper
mespotine is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.