Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th January 2012, 11:27   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
ffmpeg: wrong container fps when muxing raw Xvid to avi

I got a small m4v file (Xvid; small.m4v) and I want to mux into an .avi container.

ffmpeg reports it as:
Quote:
Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 25 tbc
MediaInfo reports it as:
Quote:
Video
Count : 205
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : MPEG-4 Visual
Commercial name : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings : BVOP2
Format settings, BVOP : 2
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, QPel : No
Format settings, GMC : 0
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Format settings, Matrix : Default (H.263)
Internet media type : video/MP4V-ES
Codec : MPEG-4V
Codec : MPEG-4 Visual
Codec/Family : MPEG-4V
Codec profile : Advanced Simple@L5
Codec settings : BVOP
Codec settings, Packet bitstream : No
Codec settings, BVOP : Yes
Codec settings, QPel : No
Codec settings, GMC : 0
Codec settings, GMC : No warppoints
Codec settings, Matrix : Default (H.263)
Width : 720
Width : 720 pixels
Height : 576
Height : 576 pixels
Pixel aspect ratio : 1.422
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate : 25.000
Frame rate : 25.000 fps
Standard : PAL
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Interlacement : PPF
Interlacement : Progressive
Compression mode : Lossy
Compression mode : Lossy
Writing library : XviD0063
Writing library : XviD 63
Writing library/Name : XviD
Writing library/Version : 63
Problem is when I remux it with:
Code:
ffmpeg -y -i "D:\Encoding Output\small.m4v" -vtag xvid -vcodec copy -map 0:0 -f avi "D:\Encoding Output\small.avi"
ffmpeg reports:
Quote:
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:
Code:
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,... :/

Is this a bug in ffmpeg or am I doing it wrong?

Cu Selur

Ps.: I'm using ffmpeg version N-36635-gceb0dd9.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.