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 737782 - Green/Gray/blurred padding on bottom, top or sides of video
Green/Gray/blurred padding on bottom, top or sides of video
Status: RESOLVED DUPLICATE of bug 756320
Product: GStreamer
Classification: Platform
Component: dont know
1.4.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-02 14:10 UTC by Reza Razavi
Modified: 2016-02-29 00:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
h264 sample file (1.47 MB, video/quicktime)
2014-10-02 14:15 UTC, Reza Razavi
Details

Description Reza Razavi 2014-10-02 14:10:59 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
Comment 1 Reza Razavi 2014-10-02 14:15:20 UTC
Created attachment 287592 [details]
h264 sample file
Comment 2 Aurélien Zanelli 2014-10-03 08:27:01 UTC
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.
Comment 3 Tim-Philipp Müller 2016-02-29 00:09:18 UTC
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 ***