Created attachment 104158 [details]
VDPAU_TRACE=1 vlc
Using VLC and flashplayer causes h264 video streams to be incorrectly rendered.
Both chroma planes are stretched and wrapped over vertically (x2) while the
luma plane seems correct.
Note: the issue does not appear with every h264 encoded clip and never happens
with mplayer (a bug in mplayer perhaps ?).
The following clip [1] is known to exhibit the issue, attaching VDPAU_TRACE=1
log of VLC playback.
How to enable/force VLC (v2.1.5) + VDPAU:
- Fire up VLC
- Navigate to Tools>Preferences>Input/Codecs
- Set "Hardware-accelerated decoding to VDPAU.
- Save and play a video.
If VDPAU is seemingly unused by VLC (high CPU usage), check the VLC log:
- Navigate to Tools>Messages
- Change the Verbosity level to "2(debug)". Elapsed events/messages with
higher level are not stored, as such you will need to restart playback.
Last minute update:
Interesting... seem like for every h264 clip that I can find, VLC exhibits this
problem. I have a sneaky suspicion that VLC is using xcb_xv for presentation,
which could have something to do with all this.
-Emil
[1] "Fantastic Four: Rise of the Silver Surfer – 720p Trailer" from
http://www.h264info.com/clips.html
http://downloads.dvdloc8.com/trailers/divxdigest/fantastic_four_rise_of_the_silver_surfer-trailer.zip