I was able to convert by ffmpeg -i video.webm -strict experimental video.mp4. Or add -strict experimental (or the alias -strict -2) if you are stuck with outdated ffmpeg.
#Ubuntu convert webm to mp4 mp4#
If you want to stream copy (re-mux) and avoid re-encoding: ffmpeg -i input.webm -c copy output.mp4 To convert WebM to MP4 with VLC, you need to do the followings: Step 1. So your output mp4 file info ( ffmpeg -i.
You configure ffmpeg to generate new pts (a.k.a Presentation TimeStamp) for each frame and you set the target frame-rate to 24. So by calling : ffmpeg -fflags +genpts -i 1.webm -r 24 1.mp4
The encoder generate a different result, 16k tbn, 1k tbc (default) As your input file report a strange frame rate value 1k fps coming from the tbs and tbr value (look here for their definition)