Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 11-12-2018, 06:21 AM   #1
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default Reaper's strange approach to Timecode with Wildcards

Hi All,

I am trying to render multiple sections of video for a client using Reaper's rendering wildcard variable to append the timecode of the sections.

The problem is, the timecode of the wildcard is NOT the timecode I see on the timeline. For example:

My timecode at start of selection for render: 16:19:06:00
Reaper $Start wildcard timecode: 16-20-04.746

Same thing when I use the $minute $second variables.

Can someone enlighten me on this?
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 11-12-2018, 06:29 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

If you're looking for a wildcard that uses hours:minutes:seconds:frames format, there isn't one currently, unfortunately. The $start and $end wildcards will always be in hour-minute-second.thousandths format. The $hour, $minute, $second wildcards are for the time of day, not the timeline time.

Last edited by schwa; 11-17-2018 at 12:36 PM.
schwa is offline   Reply With Quote
Old 11-12-2018, 07:12 AM   #3
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default

But this is what I don't understand - if my timecode in Reaper is 09-59-00sec, why is the $Start wildcard giving me 09-59-35sec?

Check out the attached screencap...
Attached Images
File Type: jpg Reaper-TC1 (Custom) (Custom).jpg (59.3 KB, 578 views)
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 11-13-2018, 05:02 AM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

I can't seem to reproduce this. Could you attach your .RPP or email it to support at cockos? We don't need any of the media, just the .RPP file.
schwa is offline   Reply With Quote
Old 11-13-2018, 08:04 AM   #5
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default

Thank you Schwa! It happens with any New project I create - here is one, attached.
Attached Files
File Type: rpp Timecode Test.rpp (5.8 KB, 691 views)
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 11-13-2018, 10:31 AM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

Ah, sorry, it's because the project uses a 23.976 frame rate. At 23.976, frame 16:19:06:00 falls at time location 16:20:04.746.

What's needed, I suppose, is $timecodestart and $timecodeend wildcards.
schwa is offline   Reply With Quote
Old 11-13-2018, 08:15 PM   #7
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default

Ok, so if I understand correctly, the discrepancy in the Clock (timecode) and the $Start variable is because they are not the same units? I'm struggling to see how this could be useful...

What is the unit used by the $Start wildcard then?



Quote:
Originally Posted by schwa View Post
Ah, sorry, it's because the project uses a 23.976 frame rate. At 23.976, frame 16:19:06:00 falls at time location 16:20:04.746.

What's needed, I suppose, is $timecodestart and $timecodeend wildcards.
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 11-13-2018, 09:21 PM   #8
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,117
Default

Quote:
Originally Posted by Tim Rideout View Post
I'm struggling to see how this could be useful...
My advice would be to use 24fps or 30fps rather than 23.976/29.97, unless you have a reason to use 23.976... (Edit: ah, for a client, who probably requested 23.976? In any case, then, you should familiarize yourself with ND vs DF timecode, here's a link that might be helpful: http://www.bodenzord.com/archives/79)

As far as the use goes, it's a long story, buried in https://en.wikipedia.org/wiki/NTSC...
Justin is offline   Reply With Quote
Old 11-14-2018, 04:05 PM   #9
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default

Thanks Justin - but I will be using the native resolutions and framerates requested by my client. Reaper should be able to adapt to that.

Which brings me back to my original questions:

1) of what use is the $START wildcard if the format does not match my project settings
2) what format *IS* the $START wildcard in?

Thanks in advance,
T

Quote:
Originally Posted by Justin View Post
My advice would be to use 24fps or 30fps rather than 23.976/29.97, unless you have a reason to use 23.976... (Edit: ah, for a client, who probably requested 23.976? In any case, then, you should familiarize yourself with ND vs DF timecode, here's a link that might be helpful: http://www.bodenzord.com/archives/79)

As far as the use goes, it's a long story, buried in https://en.wikipedia.org/wiki/NTSC...
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 11-14-2018, 07:03 PM   #10
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 16,117
Default

Quote:
Originally Posted by Tim Rideout View Post
1) of what use is the $START wildcard if the format does not match my project settings
2) what format *IS* the $START wildcard in?
These were answered by schwa above:
Quote:
The $start and $end wildcards will always be in hour-minute.thousandths format.
v5.962 will have $starttimecode and $endtimecode wildcards in order to display the time in h-mm-ss-ff format. You can use a release candidate of that version (currently 5.962rc2) for testing via https://www.landoleet.org (you can visit the pre-release forum for more information on that).
Justin is offline   Reply With Quote
Old 11-14-2018, 08:49 PM   #11
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,153
Default

Fantastic, thanks Justin, this is huge, at least to me
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is online now   Reply With Quote
Old 11-15-2018, 12:34 AM   #12
Tim Rideout
Human being with feelings
 
Tim Rideout's Avatar
 
Join Date: Jan 2013
Location: Montreal, Canada
Posts: 263
Default

Thank you!

I will indeed download the Release Candidate.

Quote:
Originally Posted by Justin View Post
These were answered by schwa above:

v5.962 will have $starttimecode and $endtimecode wildcards in order to display the time in h-mm-ss-ff format. You can use a release candidate of that version (currently 5.962rc2) for testing via https://www.landoleet.org (you can visit the pre-release forum for more information on that).
__________________
---
www.TimRideout.com
Tim Rideout is offline   Reply With Quote
Old 04-11-2019, 03:03 AM   #13
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default Possible Issue with $starttimecode

I'm experiencing an issue with the $starttimecode wildcard and the region render matrix. I would venture to guess that on this session the issue is that the session start timecode goes into the negative.

The project start is -06:59:30:00
I'm rendering a region (via region render matrix) starting at 01:50:57:00
but the timecode position generated is 1-21-00-00 in the filename.

Framerate is 23.976

Thanks!

I also have a request, is there anyway to have tempo information passed on from a subproject to the parent project or display and have that added to the wildcard?

The way that I work is there is one large master session for a film/TV show. I adjust the start time for each episode in the session so that timestamping is correct. But it would be nice to be able to see the tempo of a subprojects and have it in the wildcards for printing stems in the render matrix.

Last edited by blumpy; 04-11-2019 at 03:36 AM.
blumpy is offline   Reply With Quote
Old 04-11-2019, 04:45 AM   #14
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

Quote:
Originally Posted by blumpy View Post
I'm experiencing an issue with the $starttimecode wildcard and the region render matrix. I would venture to guess that on this session the issue is that the session start timecode goes into the negative.

The project start is -06:59:30:00
I'm rendering a region (via region render matrix) starting at 01:50:57:00
but the timecode position generated is 1-21-00-00 in the filename.

Framerate is 23.976
Are you seeing the same incorrect timecode in the render dialog before rendering? Because it looks correct here:

schwa is offline   Reply With Quote
Old 04-11-2019, 09:32 AM   #15
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default Perhaps is region render matrix?

Hi Schwa,

Thanks for the reply. Here's a screen shot of it occurring on my machine.

This appears to be an issue when the TC position comes from the region render matrix but only for the $starttimecode wildcard label. The embedded timestamp in the wav file is correct its just the label coming from the render matrix.
Attached Images
File Type: png Capture.PNG (25.8 KB, 492 views)
File Type: png Capture2.PNG (24.9 KB, 454 views)

Last edited by blumpy; 04-11-2019 at 09:42 AM.
blumpy is offline   Reply With Quote
Old 04-11-2019, 11:25 AM   #16
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

You have the "bounds" field in the render dialog set to "selected regions." Is there another region that starts at 1:21:00:00? Can you open the region manager and take a screenshot of that?
schwa is offline   Reply With Quote
Old 04-11-2019, 03:12 PM   #17
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default

Here's the sessions regions.... yes there is a region at that location. (ignore the selected/highlighted region)

Why would another region cause this?

https://www.dropbox.com/s/3nzukgtz5c...gions.PNG?dl=0

Last edited by blumpy; 04-11-2019 at 06:11 PM.
blumpy is offline   Reply With Quote
Old 04-12-2019, 03:35 AM   #18
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

You have the dialog set up to render "selected regions" which means regions that are enabled in the region matrix *and* selected in the region manager. If you just want to use the region matrix, choose "project regions."

The distinction could admittedly be clearer.
schwa is offline   Reply With Quote
Old 04-12-2019, 08:42 AM   #19
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default Yes, but.....

The way that I've been doing it is that I use the region manager to select the regions to render and the region matrix to select the tracks within that region to be rendered.

...but the $starttimecode wildcard doesn't always reflect the region selected. That's why I'm confused.

In the attached photo link (sorry for dropbox....too big of a image for the forum) I'm rendering two regions, R57 and R58 by selecting the regions in the manager. The tracks that are being rendered in the matrix. The output at the bottom left yields the correct timecode position for R57 but not for R58.

https://www.dropbox.com/s/u4o8oejal4...atrix.PNG?dl=0
blumpy is offline   Reply With Quote
Old 04-12-2019, 08:44 AM   #20
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

Click the button that says "2 files".
schwa is offline   Reply With Quote
Old 04-12-2019, 08:57 AM   #21
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default I'm completely confused now.

Forgive me but I'm not sure what 2 files button you're referring to. I only see the Render 2 files in the 'render to file' window.

I am also seeing which tracks I have selected in the matrix will change the $starttimecode wildcard even though it's the same region. would you like a video of this or am I missing something?
blumpy is offline   Reply With Quote
Old 04-12-2019, 09:39 AM   #22
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

When you choose to render "selected regions," all regions selected in the region manager will be rendered to separate files. The "render to:" box displays the filename for the first rendered file, but the button to the right of it that says
2 files" tells you that there will be 2 files rendered. Click on that button to see a list of all of the filenames.

In the example from your screenshot, the first filename will end in "1-48-52-08.wav", and the second filename will end in "1-50-57-00.wav".
schwa is offline   Reply With Quote
Old 04-12-2019, 10:31 AM   #23
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default Thank you

Ah, I never knew that was a button....ha!

Here's the output:
https://www.dropbox.com/s/ni65qs08p6...03022.png?dl=0
blumpy is offline   Reply With Quote
Old 04-12-2019, 10:41 AM   #24
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

Finally we're getting somewhere! Could you send that .RPP (not the media or anything, just the .RPP) to support at cockos please?
schwa is offline   Reply With Quote
Old 04-12-2019, 10:56 AM   #25
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default emailed

I just emailed it. Thanks again!
blumpy is offline   Reply With Quote
Old 04-12-2019, 11:07 AM   #26
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

That was a crazy bug! Fixed for the next build, thanks for sticking with it.
schwa is offline   Reply With Quote
Old 04-12-2019, 11:13 AM   #27
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default What caused

Glad I could help? Lol.... what was causing this?
blumpy is offline   Reply With Quote
Old 04-12-2019, 11:29 AM   #28
blumpy
Human being with feelings
 
blumpy's Avatar
 
Join Date: Sep 2016
Posts: 532
Default Schwa

BTW, I think you're the reason I discovered reaper. I bought a bunch of your plugins and then saw that you made some of them available in reaper.

Great soundings stuff.... I'm assuming that was you...Stillwell and Schwa?
blumpy is offline   Reply With Quote
Old 04-12-2019, 11:30 AM   #29
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 16,501
Default

The timecode, and project start offset, and selected regions were all red herrings. The code that resolves wildcards looks for media items that overlap with the rendered regions, in case the user wants to use the media item name wildcard, but that could cause the overlapping media item start time to be used to resolve wildcards instead of the region start time.
schwa 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 11:34 AM.


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