GNOME Bugzilla – Bug 740072
h263parse: ignores width/height on the sink pad and produces wrong size
Last modified: 2018-11-03 13:28:17 UTC
Run the following to reproduce the issue: gst-launch-1.0 playbin uri=http://samples.mplayerhq.hu/V-codecs/h263/100374.mov In the sink pad video size is 240x180 and in the src pad is declared 352x288. The correct size is 240x180 as it's specified in the container. /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH263Parse:h263parse0.GstPad:sink: caps = "video/x-h263\,\ variant\=\(string\)itu\,\ width\=\(int\)240\,\ height\=\(int\)180\,\ framerate\=\(fraction\)12000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1" Redistribute latency... /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_h263:avdec_h263-0.GstPad:sink: caps = "video/x-h263\,\ variant\=\(string\)itu\,\ width\=\(int\)352\,\ height\=\(int\)288\,\ framerate\=\(fraction\)12000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true\,\ annex-d\=\(boolean\)true\,\ annex-e\=\(boolean\)false\,\ annex-f\=\(boolean\)false\,\ annex-g\=\(boolean\)false\,\ annex-i\=\(boolean\)false\,\ annex-j\=\(boolean\)false\,\ annex-k\=\(boolean\)false\,\ annex-m\=\(boolean\)false\,\ annex-n\=\(boolean\)false\,\ annex-q\=\(boolean\)false\,\ annex-r\=\(boolean\)false\,\ annex-s\=\(boolean\)false\,\ annex-t\=\(boolean\)false\,\ annex-u\=\(boolean\)false\,\ annex-v\=\(boolean\)false\,\ profile\=\(string\)1" /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH263Parse:h263parse0.GstPad:src: caps = "video/x-h263\,\ variant\=\(string\)itu\,\ width\=\(int\)352\,\ height\=\(int\)288\,\ framerate\=\(fraction\)12000/1001\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ parsed\=\(boolean\)true\,\ annex-d\=\(boolean\)true\,\ annex-e\=\(boolean\)false\,\ annex-f\=\(boolean\)false\,\ annex-g\=\(boolean\)false\,\ annex-i\=\(boolean\)false\,\ annex-j\=\(boolean\)false\,\ annex-k\=\(boolean\)false\,\ annex-m\=\(boolean\)false\,\ annex-n\=\(boolean\)false\,\ annex-q\=\(boolean\)false\,\ annex-r\=\(boolean\)false\,\ annex-s\=\(boolean\)false\,\ annex-t\=\(boolean\)false\,\ annex-u\=\(boolean\)false\,\ annex-v\=\(boolean\)false\,\ profile\=\(string\)1"
Created attachment 326123 [details] [review] Respect size in upstream caps
There's a similar bug somewhere about the same with h264. IMHO we should use the crop meta for this. The in-codec dimensions are like they are on the caps now, just that it should be cropped.
See bug #685812, bug #693971 and bug #694068
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/188.