After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 395197 - [avidemux] no/wrong pixel-aspect-ratio detected
[avidemux] no/wrong pixel-aspect-ratio detected
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-10 22:38 UTC by Tim-Philipp Müller
Modified: 2009-02-16 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sample (500.00 KB, video/x-msvideo)
2007-01-10 22:39 UTC, Tim-Philipp Müller
Details

Description Tim-Philipp Müller 2007-01-10 22:38:16 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").
Comment 1 Tim-Philipp Müller 2007-01-10 22:39:23 UTC
Created attachment 79995 [details]
sample
Comment 2 Wim Taymans 2007-01-11 18:05:27 UTC
Is this info in an ODML header somewhere?
Comment 3 Wim Taymans 2007-01-11 18:06:41 UTC
yes, in the vprp chunk.
Comment 4 Tim-Philipp Müller 2007-01-18 15:20:32 UTC
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).
Comment 5 Edward Hervey 2008-01-03 11:45:59 UTC
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.
Comment 6 Edward Hervey 2008-08-16 14:33:14 UTC
Closing bug after lack of reaction
Comment 7 Tim-Philipp Müller 2008-08-18 11:02:20 UTC
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.
Comment 8 Robin Stocker 2008-10-29 16:30:03 UTC
It's displayed 640x352 (PAR 1:1), which is exactly the same as with mplayer. Seems to be fine to me.
Comment 9 Edward Hervey 2008-12-03 10:59:05 UTC
Tim, does this still fail ?
Comment 10 Jan Schmidt 2009-02-16 16:45:46 UTC
ping!