Friday, 11 May 2018

command line - ffmpeg time format in filter_complex

I wanted to trim video. I mean I wanted to select few sections from one video and then concat they or mix they together!


I did it.
But in "filter_complex" I can not type start point time format like:
hh:mm:ss.0
If I will type "trim=start=02:22:00.0" it fails....
Instead if I will type "trim=start=8520" then it will work!


    ffmpeg.exe -i video1.mp4 -filter_complex "[0:v]trim=duration=145[a]; [0:v]trim=start=8520:end=8553,setpts=PTS-STARTPTS[b]; [a][b]concat[c1]" -map [c1] output.mp4  

So I should only type seconds!
Tell me why?
So help me to type time format in "filter_complex" like... start=02:22:00.0 end=02:22:33.0

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...