GNOME Bugzilla – Bug 395197
[avidemux] no/wrong pixel-aspect-ratio detected
Last modified: 2009-02-16 20:22:47 UTC
For the attached .avi (head only) we fail to extract the correct PAR somewhere, not sure if it's ffmpeg or avidemux (doesn't work with xviddec either). As a result it shows up slightly condensed horizontally in totem (not visible in the snippet attached though). mplayer seems to get it right though ("Movie-Aspect is 1.82:1").
Created attachment 79995 [details] sample
Is this info in an ODML header somewhere?
yes, in the vprp chunk.
There doesn't seem to be a vprp chunk though in this file AFAICS. mplayer gets its value from this: float aspect; aspect = av_q2d (avctx->sample_aspect_ratio) * avctx->width / avctx->height; If I try the same in ffmpegdec the picture looks way too wide. FWIW, in totem the picture looks about right when force the aspect ratio to 2.11:1 (DVB) (with an unmodified ffdec_mpeg4).
It's displaying it as 640x352 here with a PAR of 1/1 , which means a DAR of 1.81 . So I'd say it's fine. I don't really see what the issue is to be honest. Displays fine both with gstreamer and mplayer.
Closing bug after lack of reaction
I don't think this displayed right yet. Admittedly it's hard to see from the sample alone. I'll see if I can dig up the full file again.
It's displayed 640x352 (PAR 1:1), which is exactly the same as with mplayer. Seems to be fine to me.
Tim, does this still fail ?
ping!