GNOME Bugzilla – Bug 701397
mpeg4videoparse doesn't override PAR from demuxer
Last modified: 2013-06-01 09:43:22 UTC
I have an AVI file with vprp header that has incorrect aspect ratio. Every other player display the video right (overriding the wrong avi aspect ratio from MPEG 4 vol), but in gstreamer the parser checks if pixel-aspect-ratio already is present in caps and if it is it leaves it alone. Why does gstreamer assume that the demuxer knows the real PAR better than video parser?
Actually, VLC also takes the value from vprp header. Looks like the behavior is not as consistent as I thought. (MPlayer + movist take bitstream value, VLC + gstreamer vprp)
I think in our experience it's simply more common that the real/correct value is in the container headers, and the values in the bitstream are bogus.
Yeah, I thought the behavior is more consistent outside gstreamer; It doesn't seem to be.