Green border video buffer corruption?

This forum is about all development around libVLC.
sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Green border video buffer corruption?

Postby sherington » 10 Oct 2013 17:29

Hello,

I noticed with my embedded media players that the current vlc-2.2.0-git shows green borders on some videos. On a DVD ISO I see a single line of green pixels on the right hand side of the video. With an MP4 I see about 30 lines of dark green and 30 lines of light green pixels on the bottom edge.

This works OK with vlc-2.1.0.

The earliest commit that I know about when I spotted this behaviour was 241b81a725b7c092bbcbd4a8a192da1bfe026977. I am *not* saying that commit broke it, but that's the earliest commit I know about where it is broken.

I then checked in the vlc QT application for 2.2.0-git and I do see the same problem.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Green border video buffer corruption?

Postby Rémi Denis-Courmont » 10 Oct 2013 17:45

If you use vmem, it is a known bug waiting for someone who cares to patch it. With Qt, you really should use native embedded windows though.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: Green border video buffer corruption?

Postby sherington » 10 Oct 2013 18:48

If you use vmem, it is a known bug waiting for someone who cares to patch it. With Qt, you really should use native embedded windows though.
I'm just embedding a regular window with libvlc_media_player_set_xwindow(wid).

The vlc application itself, when built from the latest 2.2.0 git, shows the same issue.

https://docs.google.com/file/d/0B1LSsrA ... 3d5bDdQTFU

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Green border video buffer corruption?

Postby Rémi Denis-Courmont » 10 Oct 2013 21:07

Then I don't know and I cannot reproduce.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: Green border video buffer corruption?

Postby XilasZ » 11 Oct 2013 09:26

Known issue, this green line bug appeared when avcodec_align_dimensions2 was introduced in avcodec/video.c, it happens with directx/direct3d/opengl vouts on windows, and also on android.
Didn't had the time yet to test more.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests