3

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

1 Answers1

4

Update: This functionality was broken since July 2013. Fixed in June 2016.


Enclose it in single quotes and escape the colons,

trim=start='02\:22\:00':end='02\:22\:33'
Gyan
  • 38,955