id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
978	wrong container fps when muxing raw Xvid to avi	Selur		"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,... :/"	defect	new	normal	undetermined	git-master		m4v avi fps				0	0
