Page 1 of 1

SMPTE Timecode trim/segment

Posted: Thu Mar 14, 2019 9:41 pm
by philthewiz
Hello !

Thank you very much for this piece of software. It's always impressive to see such good work available to everyone.

I would like to know if it would be possible to implement a tool or option to trim/segment a file based on the timecode of the source file?

HH:MM:SS:FF. It would open up a lot of possibilities for final deliveries. Cutting an identification slate before the program start or textless/graphic elements at the end of the program.

Framerate conversion to frame counts are tricky especially from a 29.97 Drop Frame TC.

It would be super useful for other people in my team to input precise in and out TC via variables.

And it would be good as well to input just an start TC or just end TC to trim a file from ;
Example : 10:00:00:00 till end of program or from start TC to 10:22:22:30.

Thank you again! :D

Re: SMPTE Timecode trim/segment

Posted: Fri Mar 15, 2019 8:02 am
by emcodem
Hi Phil,

that is no big issue as long as you don't need if frame accurate, you can do this using a custom ffmpeg node using ffmpeg commands like "-ss 00:00:03 -t 00:00:08".

Here some example about how to get the userinputs into your job:
viewtopic.php?f=5&t=849&p=3586#p3586

Let me know where you have troubles;-)

Re: SMPTE Timecode trim/segment

Posted: Fri Mar 15, 2019 9:40 am
by admin
Hi philthewiz, thank you for using FFAStrans and welcome to the forum! :-)

This is a good request and it's already on my list of new features to be added for all the encoders. Until then, you can use emcodems approach but it's restricted to the custom ffmpeg node. OR, you can create a custom avisynth script that takes variables to to do the trimming.

-steinar

Re: SMPTE Timecode trim/segment

Posted: Fri Mar 15, 2019 5:50 pm
by philthewiz
Hello steinar and emcodem !
Thank you for your response. I'll try to see if the -ss command would be accurate enough to trim a slate. I'll look into the avisynth scripts as well.

Looking forward to the feature in future releases :) I'm more then certain that a lot off people would use this program if this is implemented. Timecode is core to a professional workflow.

Thank you again.