GNOME Bugzilla – Bug 737782
Green/Gray/blurred padding on bottom, top or sides of video
Last modified: 2016-02-29 00:09:18 UTC
Hi, I'm using gstreamer 1.4.1 I have 2 videos in h264 format that when I try to playback with : gst-launch-1.0 filesrc location=path ! qtdemux ! h264parse ! avdec_h264 ! videoscale ! video/x-raw,width=1920,height=1080 ! videoconvert ! xvimagesink Output will have a green bar on top, or if I use vaapi it will have a gray bar at bottom of screen. this bar wont show up using gstreamer 1.2 or other players. attached you'll find 2 seconds of sample video. Regards
Created attachment 287592 [details] h264 sample file
Hi I made some test with both master and 1.4.1, In these two version, I can see a thin green bar, 1 or 2px height, at the top of the picture with the following shortened pipeline: gst-launch-1.0 filesrc location=<file> ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! xvimagesink I notice this top bar disappears when I maximise the window, instead I have a bar at the right side. Encoding the resulting pictures in png instead of rendering them, I notice that the dump doesn't have green bar. I also run some test on my working board which have gst 1.4.3 version. I tested with both a v4l2sink and a fbdevsink and I see no green bar. However video is downscaled to 800 pixel height, so the green bar might not be really visible. So I think xvimagesink may be a good start point.
I think this is the same as bug #756320, some kind of interaction between gst-libav decoders and xvimagesink I think (perhaps we still use that scratch space around the frame API which iirc has been deprecated?). *** This bug has been marked as a duplicate of bug 756320 ***