2

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 Answer 1

3

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'
12
  • this method did not work Apr 4, 2016 at 16:47
  • What was the message or result?
    – Gyan
    Apr 4, 2016 at 17:00
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Heptite
    Apr 5, 2016 at 3:06
  • @Heptite what does not provide an answer - the comment or my post?
    – Gyan
    Apr 5, 2016 at 5:45
  • it showed me a 3 line messages... Apr 5, 2016 at 14:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .