|
|
|
08-24-2019, 04:53 PM
|
#1
|
Human being with feelings
Join Date: Apr 2018
Posts: 358
|
Render presets show up as actions in the action list
It would be quite useful to have my render presets show up in the actions list.
I use the same 4 or 5 presets to do what I need to do and I suspect everyone else does as well.
|
|
|
08-24-2019, 07:26 PM
|
#2
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
|
From v5.975 Reaper allows you to script that. I personally use custom actions built from my scripts related to render presets (starting at "mpl_Set render format to ...").
Last edited by mpl; 08-24-2019 at 07:36 PM.
|
|
|
08-25-2019, 10:51 PM
|
#3
|
Human being with feelings
Join Date: Apr 2018
Posts: 358
|
Thanks, MPL!
These look great.
If I could sponsor another?
Output Format = Video(ffmpeg/libav encoder)
Format = QT/MOV/MP4 (keep source aspect ratio and framerate)
Video Codec = MJPEG
Audio codec = 24bit PCM
And just to confirm it looks like I would use this newly created script with
Script: mpl_Set render bounds to time selection.lua
Script: mpl_Set render source to master.lua
Then this new script for making video clips?
It looks like if I want 32 bit WAV I can just change the first value
"local form conf = [1]=32"
Is that accurate or do I need to ask you to make that as well?
Many thanks to you sir.
|
|
|
08-26-2019, 10:31 AM
|
#4
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
|
I`ve added 32 bit wav and mp4 video presets. There are a lot of flags in video format, so you probably have to reverse engeneer youself that stuff or ask someone to do this for a reasonable donation.
|
|
|
08-26-2019, 03:34 PM
|
#5
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Use my Ultraschall-API and you can code it yourself. I reverse-engineered all settings for all formats and wrote some nice handy functions to deal with that.
There are also functions, who can read the Preset-Settings and apply them to the current project.
This is the introduction-chapter for these functions and how to work with them:
https://mespotin.uber.space/Ultrasch...1_Introduction
|
|
|
08-26-2019, 05:00 PM
|
#6
|
Human being with feelings
Join Date: Apr 2018
Posts: 358
|
thanks, MPL and mespotine.
This is all great stuff.
I will dig in when I get a beat to do so.
Thank you thank you.
|
|
|
08-27-2019, 11:31 AM
|
#7
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
|
|
|
08-28-2019, 07:30 PM
|
#8
|
Human being with feelings
Join Date: Apr 2018
Posts: 358
|
Cfillion.
Holy crap.
Many thanks from many of us.
|
|
|
08-28-2019, 09:40 PM
|
#9
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,820
|
Quote:
Originally Posted by Swi
Cfillion.
Holy crap.
Many thanks from many of us.
|
Yep! Thanks !
|
|
|
08-29-2019, 01:50 PM
|
#10
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
|
+1
Will have to test out the suggestions on this thread too!
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
11-15-2019, 03:35 AM
|
#11
|
Human being with feelings
Join Date: Aug 2019
Posts: 855
|
Quote:
Originally Posted by cfillion
|
Hi Cfillion, thanks so much for your excellent scripts! I'm using the latest Dev version and for the last few pre-release versions I've been getting this error while using your render presets script -
cfillion_Apply render preset (create action).lua:154: reaper-render.ini: <RENDERPRESET contains 9 tokens, expected 8
Any idea what could be causing this?
Thanks again.
|
|
|
11-15-2019, 03:39 AM
|
#12
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
Thanks, this is probably due to this change:
Code:
v5.984+dev1106 - November 6 2019
+ Render: include all options in "options and format" render presets
I'll take a closer look at what changed and update the script later.
|
|
|
11-15-2019, 03:53 AM
|
#13
|
Human being with feelings
Join Date: Aug 2019
Posts: 855
|
Quote:
Originally Posted by cfillion
Thanks, this is probably due to this change:
Code:
v5.984+dev1106 - November 6 2019
+ Render: include all options in "options and format" render presets
I'll take a closer look at what changed and update the script later.
|
Legend. Thank you.
Do you have a means of receiving donations? I'm using a fair few of your scripts.
|
|
|
11-16-2019, 12:37 AM
|
#14
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
The new included options in the output format presets are "Tracks with only mono media to mono files" and "Multichannel tracks to multichannel files". Version 1.0.5 of the script now supports these when using the new pre-releases.
Quote:
Originally Posted by Joe90
Do you have a means of receiving donations? I'm using a fair few of your scripts.
|
See the link in my signature or the donate button on https://reapack.com. Thanks!
Last edited by cfillion; 11-22-2019 at 05:26 AM.
|
|
|
11-16-2019, 03:49 AM
|
#15
|
Human being with feelings
Join Date: Aug 2019
Posts: 855
|
Quote:
Originally Posted by cfillion
The new included options in the output format presets are "Tracks with only mono media to mono files" and "Multichannel tracks to multichannel files". Version 1.0.5 of the script now supports these when using the new pre-releases.
(The "Use project sample rate for mixing and FX/synth processing" option still isn't stored in the preset data.)
See the link in my signature or the donate button on https://reapack.com. Thanks!
|
Working and donated. Thanks!
|
|
|
02-01-2020, 06:51 PM
|
#16
|
Human being with feelings
Join Date: Aug 2019
Posts: 855
|
Hi cfillion, this script seems not to be working correctly on the latest development build, I'm guessing since the secondary render format has been introduced.
I have an 'Mp3 Full Mix' render preset, and when I load it via the render menu in Reaper it loads correctly, but when I use your script to make a preset, it loads the primary output format as WAV, not mp3 as it it's meant to.
I also tried DSY's render script, and the same issue occurs, so I guess something in these new builds is disrupting these scripts. I've tried resaving the render preset and then recreating the action with your script, but the same issue still occurs.
If you don't generally update your scripts to support development builds (which I'd understand) then let me know and I'll find a workaround, but if it's not a complex fix then I'd greatly appreciate it as I use these scripts all the time.
Cheers!
|
|
|
02-01-2020, 08:33 PM
|
#17
|
Human being with feelings
Join Date: Aug 2019
Posts: 855
|
I just rolled back to the previous version, reinstalled the latest version, then re-synchronised, and it's working as expected now, so please disregard my previous post.
My apologies.
|
|
|
02-04-2020, 02:42 PM
|
#18
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,146
|
On my end both versions 1.0.4 (line 217) and 1.0.6 of the script throw an error
Quote:
cfillion_Apply render preset (create action).lua:236: M:\REAPER 550c (x86)/Scripts/Apply render preset: Bounce.lua: Invalid argument
|
the problem is the colon in the file name stub on line 222
Quote:
local actionName = string.format('Apply render preset: %s', presetName)
|
Not sure about Mac OS but Windows doesn't allow this in file names, so replacing with a compatible symbol fixes the problem
Thanks to cfillion for the script
Last edited by Buy One; 02-04-2020 at 02:51 PM.
|
|
|
02-04-2020, 11:55 PM
|
#19
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
Quote:
Originally Posted by Buy One
Windows doesn't allow this in file names
|
Thanks! Good catch, will fix soon (and harden against special chars in preset names).
It usually works on Windows by accident as the colon is just making it save the contents in an alternate data stream (NTFS drives only).
Last edited by cfillion; 02-05-2020 at 12:07 AM.
|
|
|
02-05-2020, 01:59 AM
|
#20
|
Human being with feelings
Join Date: Sep 2019
Posts: 1,146
|
Quote:
Originally Posted by cfillion
It usually works on Windows by accident as the colon is just making it save the contents in an alternate data stream (NTFS drives only).
|
I run REAPER from a USB stick which is FAT32, so that's apparently the reason it glitched on me
|
|
|
02-10-2020, 11:45 AM
|
#21
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
The fixed version (1.0.7) is released.
|
|
|
05-27-2021, 04:15 PM
|
#22
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Hey Christian,
I have an issue on Windows. I get the following error when executing (both scripts):
Code:
cfillion_Apply render preset (create action).lua:191: reaper-render.ini: found unknown preset type: <RENDERPRESET_EXT
|
|
|
05-27-2021, 04:35 PM
|
#23
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Quote:
Originally Posted by _Stevie_
Hey Christian,
I have an issue on Windows. I get the following error when executing (both scripts):
Code:
cfillion_Apply render preset (create action).lua:191: reaper-render.ini: found unknown preset type: <RENDERPRESET_EXT
|
What is <RENDERPRESET_EXT? Never seen this before yet...
|
|
|
05-27-2021, 04:49 PM
|
#24
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
That's the synthax, not sure if it has been introduced recently?
Code:
<RENDERPRESET_EXT WavPak 3 0.070795
<RENDERPRESET "Render 1" 48000 2 0 1 3 0 0
a3B2dwQAAAAAAAAAAAAAAAEAAAA=
>
|
|
|
05-27-2021, 05:04 PM
|
#25
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
@Stevie, using latest dev version by chance?
Guess it could have to do with the new normalize on render options.
|
|
|
05-27-2021, 05:06 PM
|
#26
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Hm yes, but I also updated on my Mac and there's no EXT in the render ini.
But how could it be that the ini looks different on Windows and Mac?
|
|
|
05-27-2021, 05:29 PM
|
#27
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
From (very) briefly looking at it I think the <RENDERPRESET_EXT only gets created once you've actually enabled the normalize option and saved that as a preset, could that be the difference?
|
|
|
05-27-2021, 05:34 PM
|
#28
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Very good Sherlock!
I just checked... apparently all my presets have normalize added now, eventhough I only saved a single preset manually. The other entries got EXT added as well.
|
|
|
05-27-2021, 05:52 PM
|
#29
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Nice to know that my guess was right I don't know what to do with this finding now though. :P
|
|
|
05-27-2021, 06:02 PM
|
#30
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Haha
Maybe it helps Christian
EDIT: he is already investigating:
https://forums.cockos.com/showpost.p...1&postcount=16
EDIT2: it's a synthax bug apparently.
Last edited by _Stevie_; 05-27-2021 at 06:10 PM.
|
|
|
05-28-2021, 04:09 AM
|
#31
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Quote:
Originally Posted by nofish
From (very) briefly looking at it I think the <RENDERPRESET_EXT only gets created once you've actually enabled the normalize option and saved that as a preset, could that be the difference?
|
Ohh...that means rework-work for Ultraschall-Api. Thanks for pointing into the right direction.
Edit:
Yup, it's a bug in the devs-release.
|
|
|
06-01-2021, 12:26 PM
|
#32
|
Human being with feelings
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
|
I have now stopped working Script: cfillion_Apply render preset.lua
And all the actions associated with it. How to fix it?
|
|
|
06-01-2021, 01:54 PM
|
#33
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
If you had actually bothered to read the posts above... It's all explained there and that Christian will need some time to implement the new feature.
|
|
|
06-01-2021, 02:55 PM
|
#34
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Quote:
Originally Posted by MrTsonts
I have now stopped working Script: cfillion_Apply render preset.lua
And all the actions associated with it. How to fix it?
|
Don't use the developer release, as this is introduced by a bug in it.
Best is to stick to the official one currently.
|
|
|
06-01-2021, 03:32 PM
|
#35
|
Human being with feelings
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
|
Quote:
Originally Posted by _Stevie_
If you had actually bothered to read the posts above... It's all explained there and that Christian will need some time to implement the new feature.
|
I was interested in how to fix it now))))) And I found a solution, thanks to you))) Thank you)))))
|
|
|
06-01-2021, 03:44 PM
|
#36
|
Human being with feelings
Join Date: Apr 2019
Location: Ukraine, Kyiv
Posts: 173
|
Quote:
Originally Posted by Meo-Ada Mespotine
Don't use the developer release, as this is introduced by a bug in it.
Best is to stick to the official one currently.
|
Thanks for the advice. For me, it is better not to make presets with normalize.
|
|
|
06-03-2021, 12:30 PM
|
#37
|
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
Quote:
Originally Posted by _Stevie_
Hey Christian,
I have an issue on Windows. I get the following error when executing (both scripts):
Code:
cfillion_Apply render preset (create action).lua:191: reaper-render.ini: found unknown preset type: <RENDERPRESET_EXT
|
Released version 1.1 supporting the new RENDERPRESET_EXT token and applying the normalization settings. (Thanks to Mespotine for finding the new configvars. )
EDIT: Replaced by v1.1.1 using the API added in v6.29+dev0603 instead of configvars.
Last edited by cfillion; 06-03-2021 at 01:22 PM.
|
|
|
06-03-2021, 01:01 PM
|
#38
|
Human being with feelings
Join Date: Jan 2011
Posts: 1,182
|
Quote:
Originally Posted by cfillion
Released version 1.1 supporting the new RENDERPRESET_EXT token and applying the normalization settings. (Thanks to Mespotine for finding the new configvars. )
|
Thanks so much Cfillion!
|
|
|
06-03-2021, 02:34 PM
|
#39
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Thanks Christian and Mespo!
|
|
|
10-02-2021, 08:39 AM
|
#40
|
Human being with feelings
Join Date: Sep 2018
Location: lugansk
Posts: 153
|
cfillion,Hello!
After updating the wonderful Script: CFillion_apply Render Preset.lua, it became uncomfortable to use them. My button with this script is on the bottom panel and the pop-up menu is now opening down relative to the mouse pointer, and not up as before. I do not see all my presets now.
Can you configure so that the menu pop up above the mouse pointer?
Last edited by YuriOl; 10-02-2021 at 08:46 AM.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:04 AM.
|