Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 02-11-2020, 08:51 AM   #1
JerContact
Human being with feelings
 
Join Date: Feb 2017
Posts: 54
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
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
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 you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   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: 4,031
Default

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

That would be cool. You mean, to create thumbnail-images from videos and such?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   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: 4,031
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: 15,750
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
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,622
Default

*Slaps onto my hand* of course.

Thanks Schwa Will add that in the next devcycles of my Ultraschall-API then
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   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 07:05 AM.


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