I have a webm file (vp8 codec) with 2m:39s of duration
Using ffmpeg -i video.webm it says that the video have 15fps
nput #0, matroska,webm, from 'video.webm': Metadata: encoder : Lavf54.17.3 Duration: 00:02:39.63, start: 0.000000, bitrate: 417 kb/s Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp (default) Stream #0:1: Video: vp8, yuv420p(progressive), 320x240, SAR 1:1 DAR 4:3, 15 fps, 15 tbr, 1k tbn, 1k tbc (default)
I tried to convert setting to the same framerate and add to a mp4 container
$ x264 --output intermediate.264 --fps 15 --preset slow --bitrate 400 --vbv-maxrate 800 --vbv-bufsize 1600 --min-keyint 48 --keyint 48 --scenecut 0 --no-scenecut --pass 1 --video-filter "resize:width=426,height=240" video.webm
$ MP4Box -add intermediate.264 -fps 15 out.mp4
But the generated file out.mp4 now have a 2m:57s duration