Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a MOV file that I want to split into several smaller files (at certain timestamps in a comma-separated list). I'm simultaneously compressing the video into WEBM files.

The command I'm using is:

ffmpeg -i original.mov -map_metadata -1 -map 0 -c:v libvpx -crf 10 -qmax 40 -b:v 2.5M -cpu-used 16 -n -force_key_frames "00:00:02.481,00:04:25.907,00:06:26.712" -f segment -segment_times "00:00:02.481,00:04:25.907,00:06:26.712" "output_%03d.webm" 2> logfile.log

This works, and the resulting WEBM files play fine in Windows Media Player, but their metadata have incorrect 'duration' and 'start' values, so embedding them in HTML5 gets messed up. (The HTML5 video player thinks that the videos are longer than they really are and that they have a delayed start.)

What am I doing wrong?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.