0

one question that currently drives me crazy. I used the following command to cut a video:

ffmpeg -i origin.mp4 -ss 00:09:53 -to 00:11:53 -async 1 output.mp4

However, the output does not start at 09 minutes and 53 seconds, but at 10:38 of the original mp4. The length (2 minutes) is correct in the output... I don't get the problem. Any ideas?

Thank you!

4
  • that's very strange. Have you tried this on a different file? Maybe the mp4 is corrupted and thus displays a wrong timecode... or could it be that there is a timecode already embedded, starting at 2:00 ? – Florian Claaßen Nov 23 '20 at 16:43
  • Share the input if you can. – Gyan Nov 23 '20 at 18:00
  • I checked the input file and it has a strange behaviour: It starts at 00:00 and after two seconds it jumps to 00:23. And, if I open it with a different media player, it skips the first 40 seconds... strange. Can I repair that with ffmpeg? – Christopher Nov 24 '20 at 8:11
  • 1
    Ok, I got it - the input file war indeed broken! Thanks! – Christopher Nov 24 '20 at 13:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.