#978: wrong container fps when muxing raw Xvid to avi -------------------------------------+------------------------------------- Reporter: Selur | Type: defect Status: new | Priority: normal Component: | Version: git- undetermined | master Keywords: m4v avi fps | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- I got a small m4v file (Xvid; http://www.multiupload.com/S9CJO31ED4]small.m4v) and I want to mux into an .avi container.
ffmpeg reports it as: Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 25 tbc Problem is when I remux it with: ffmpeg -y -i "D:\Encoding Output\small.m4v" -vtag xvid -vcodec copy -map 0:0 -f avi "D:\Encoding Output\small.avi" ffmpeg reports: Input #0, m4v, from 'D:\Encoding Output\small.m4v': Duration: N/A, bitrate: N/A Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 25 tbc Output #0, avi, to 'D:\Encoding Output\small.avi': Metadata: ISFT : Lavf53.29.100 Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 50 tbn, 50 tbc Stream mapping: Stream #0:0 -> #0:0 (copy) Press [q] to stop, [?] for help frame= 664 fps= 0 q=-1.0 Lsize= 2195kB time=00:00:26.54 bitrate= 677.5kbits/s video:2158kB audio:0kB global headers:0kB muxing overhead 1.718484% and the resulting container fps flag is set to 50fps, not 25 fps; even when I use: ffmpeg -y -r 25 -i "D:\Encoding Output\small.m4v" -vtag xvid -vcodec copy -map 0:0 -r 25 -f avi "D:\Encoding Output\small.avi" I still end up with 50fps in the container,... :/ -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/978> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac