06-09-2019, 10:41 PM | #41 |
Human being with feelings
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 305
|
Thank you so much! And I also need to show Frame Rates video track on the video screen like Timecode.
__________________
NK Recording Studio Email: lachinhan@gmail.com or admin@thuamninhkieu.com Website:nkpro.top and ntmusicpro.com |
06-11-2019, 05:32 AM | #42 |
Human being with feelings
Join Date: Nov 2009
Location: UK
Posts: 669
|
Bear in mind that the math in this processor is incorrect for drop frame timecode.
It goes out of sync pretty quickly as demonstrated here. |
04-30-2020, 12:29 PM | #43 |
Human being with feelings
Join Date: Jan 2013
Posts: 1,126
|
Hey guys, I don't know much about JSFXs but could this be combined with REAPER's default SMPTE reader to use an external SMPTE audio source to read from?
I found how to do it using Global memory: https://forum.cockos.com/showthread....12#post2280812
__________________
REALIVE: a reaper config to use REAPER live: WITH A PDF MANUAL!!! Last edited by lexaproductions; 05-01-2020 at 01:44 PM. |
09-01-2020, 10:47 AM | #44 |
Human being with feelings
Join Date: Jun 2020
Location: Bahía Blanca, Argentina
Posts: 12
|
I second the motion to be able to overlay measures/beats. It'd be very useful for collaborative videos. As of now, I'm using the Big Time view and capturing the screen. It works but it feels dirty, hahaha!
|
09-30-2020, 08:59 PM | #45 |
Human being with feelings
Join Date: Jul 2019
Location: Vancouver, BC
Posts: 137
|
Hey folks! Got this awesome script, got a problem with it though, it never shows the right timeline, so I put it on my item, the item is at 01:00:00.00 and the TC is something random, so I manually fixed it with the offset values, and saved that as a preset, if I put that preset on another video, it's again something random, cuz the initial random TC value also changes. Any help would be lovely!
|
02-16-2021, 07:44 AM | #46 | |
Human being with feelings
Join Date: Apr 2020
Location: Germany
Posts: 43
|
Quote:
How does this work - I have never created an FX myself here? Any keyword for this topic ... Thanks |
|
02-27-2021, 04:54 AM | #47 |
Human being with feelings
Join Date: Mar 2013
Location: Italy - Monza
Posts: 210
|
|
03-06-2021, 12:59 PM | #48 |
Human being with feelings
Join Date: Jun 2013
Location: Mannheim, Germany
Posts: 13
|
I'd like this very much, too! Trying to calculate this in the script does not really lead anywhere...
__________________
Film scoring scripts: https://github.com/ChrAfonso/REAPER_..._and_streamers - feedback welcome! |
06-18-2021, 10:30 AM | #49 |
Human being with feelings
Join Date: Nov 2019
Posts: 1
|
thank you very much, very useful to me!
|
04-20-2022, 04:04 AM | #50 |
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
Would it be possible to edit this script to display item time or region time ?
|
04-20-2022, 04:59 AM | #51 | |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
Quote:
item_start_time==0?item_start_time=project_time; and the later: item_time=project_time-item_start_time; let me know if this works. P.S. time code has been officially added to the text overlay preset since v6.5ish edit: I forgot to mention that your the video preset fx/code must be at the item level for this to work (track level won't work) Last edited by papagirafe; 04-20-2022 at 05:35 AM. Reason: clarification |
|
04-20-2022, 05:51 AM | #52 |
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
Thank you for answer. Do you mean this preset? Can you advise me how exactly should I edit the code? I apologize, but I don't know much in this issue. Thank you very much!
Code:
// Text/timecode overlay #text=""; // set to string to override font="Arial"; //@param1:size 'text height' 0.05 0.01 0.2 0.1 0.001 //@param2:ypos 'y position' 0.95 0 1 0.5 0.01 //@param3:xpos 'x position' 0.5 0 1 0.5 0.01 //@param4:border 'bg pad' 0.1 0 1 0.5 0.01 //@param5:fgc 'text bright' 1.0 0 1 0.5 0.01 //@param6:fga 'text alpha' 1.0 0 1 0.5 0.01 //@param7:bgc 'bg bright' 0.75 0 1 0.5 0.01 //@param8:bga 'bg alpha' 0.5 0 1 0.5 0.01 //@param9:bgfit 'fit bg to text' 0 0 1 0.5 1 //@param10:ignoreinput 'ignore input' 0 0 1 0.5 1 //@param12:tc 'show timecode' 0 0 1 0.5 1 //@param13:tcdf 'dropframe timecode' 0 0 1 0.5 1 input = ignoreinput ? -2:0; project_wh_valid===0 ? input_info(input,project_w,project_h); gfx_a2=0; gfx_blit(input,1); gfx_setfont(size*project_h,font); tc>0.5 ? ( t = floor((project_time + project_timeoffs) * framerate + 0.0000001); f = ceil(framerate); tcdf > 0.5 && f != framerate ? ( period = floor(framerate * 600); ds = floor(framerate * 60); ds > 0 ? t += 18 * ((t / period)|0) + ((((t%period)-2)/ds)|0)*2; ); sprintf(#text,"%02d:%02d:%02d:%02d",(t/(f*3600))|0,(t/(f*60))%60,(t/f)%60,t%f); ) : strcmp(#text,"")==0 ? input_get_name(-1,#text); gfx_str_measure(#text,txtw,txth); b = (border*txth)|0; yt = ((project_h - txth - b*2)*ypos)|0; xp = (xpos * (project_w-txtw))|0; gfx_set(bgc,bgc,bgc,bga); bga>0?gfx_fillrect(bgfit?xp-b:0, yt, bgfit?txtw+b*2:project_w, txth+b*2); gfx_set(fgc,fgc,fgc,fga); gfx_str_draw(#text,xp,yt+b); |
04-20-2022, 06:45 AM | #53 |
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
|
04-20-2022, 06:59 AM | #54 |
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
@Luster: Do you mean script: X-raym_regions clock? This is perfect script. But I need to display the item time in the video preview window.
|
04-20-2022, 07:20 AM | #55 | |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
Quote:
Code:
// Text/timecode overlay #text=""; // set to string to override font="Arial"; //@param1:size 'text height' 0.05 0.01 0.2 0.1 0.001 //@param2:ypos 'y position' 0.95 0 1 0.5 0.01 //@param3:xpos 'x position' 0.5 0 1 0.5 0.01 //@param4:border 'bg pad' 0.1 0 1 0.5 0.01 //@param5:fgc 'text bright' 1.0 0 1 0.5 0.01 //@param6:fga 'text alpha' 1.0 0 1 0.5 0.01 //@param7:bgc 'bg bright' 0.75 0 1 0.5 0.01 //@param8:bga 'bg alpha' 0.5 0 1 0.5 0.01 //@param9:bgfit 'fit bg to text' 0 0 1 0.5 1 //@param10:ignoreinput 'ignore input' 0 0 1 0.5 1 //@param12:tc 'show timecode' 0 0 1 0.5 1 //@param13:tcdf 'dropframe timecode' 0 0 1 0.5 1 input = ignoreinput ? -2:0; project_wh_valid===0 ? input_info(input,project_w,project_h); gfx_a2=0; gfx_blit(input,1); gfx_setfont(size*project_h,font); tc>0.5 ? ( itime==0?itime=project_time + project_timeoffs; t = floor((project_time + project_timeoffs -itime ) * framerate + 0.0000001); f = ceil(framerate); tcdf > 0.5 && f != framerate ? ( period = floor(framerate * 600); ds = floor(framerate * 60); ds > 0 ? t += 18 * ((t / period)|0) + ((((t%period)-2)/ds)|0)*2; ); sprintf(#text,"%02d:%02d:%02d:%02d",(t/(f*3600))|0,(t/(f*60))%60,(t/f)%60,t%f); ) : strcmp(#text,"")==0 ? input_get_name(-1,#text); gfx_str_measure(#text,txtw,txth); b = (border*txth)|0; yt = ((project_h - txth - b*2)*ypos)|0; xp = (xpos * (project_w-txtw))|0; gfx_set(bgc,bgc,bgc,bga); bga>0?gfx_fillrect(bgfit?xp-b:0, yt, bgfit?txtw+b*2:project_w, txth+b*2); gfx_set(fgc,fgc,fgc,fga); gfx_str_draw(#text,xp,yt+b); |
|
04-20-2022, 08:24 AM | #56 |
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
|
04-20-2022, 08:59 AM | #57 |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
|
04-21-2022, 02:12 AM | #58 | ||
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
Quote:
Quote:
I'll probably have to think of something else .... Anyway, thanks guys! |
||
04-21-2022, 06:27 AM | #59 | |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
Quote:
I think jumping to position 0 + saving your project + close project + reload project +play should fix things. If not, pre-open the edit windows for all your items, jump to position 0 and resave code of all item's presets. The code I submitted was unfortunately a quick patch involving level 5 magic, the alternative involves level 21 magic... ;-) ***edit: Hey i didn't think about that before but a simple solution: generate smaller video with only time code display in it for the maximum length of your video items. Then for each of your video item overlay this smaller size time code video on top of them as a item starting at the same place for the same length. Last edited by papagirafe; 04-21-2022 at 07:33 AM. Reason: new idea |
|
04-28-2022, 07:04 AM | #60 | |
Human being with feelings
Join Date: Jun 2013
Location: Mannheim, Germany
Posts: 13
|
Quote:
sprintf(#text, "%f", time);
__________________
Film scoring scripts: https://github.com/ChrAfonso/REAPER_..._and_streamers - feedback welcome! |
|
04-28-2022, 09:34 AM | #61 |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
|
04-29-2022, 01:17 AM | #62 |
Human being with feelings
Join Date: Mar 2013
Posts: 181
|
|
04-29-2022, 03:44 AM | #63 |
Human being with feelings
Join Date: Aug 2020
Location: Brasil
Posts: 680
|
|
01-10-2023, 07:28 PM | #64 |
Human being with feelings
Join Date: Dec 2022
Posts: 3
|
Hi! is not there a calculation for drop frame videos?
|
01-13-2023, 10:21 AM | #65 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,721
|
|
Thread Tools | |
Display Modes | |
|
|