Comment 6 for bug 1723565

Revision history for this message
Doug McMahon (mc3man) wrote : Re: [Bug 1723565] Re: With vaapi plugin DVD_VIDEO media renders quite poorly in wayland session

On 10/15/2017 10:43 PM, Daniel van Vugt wrote:
> This is probably either a bug in the GL code paths of clutter-gst, or
> gstreamer-vaapi.
>
> I don't suppose 'mpv' works for you with DVDs?
>
> ** Package changed: totem (Ubuntu) => gstreamer-vaapi (Ubuntu)
>
> ** Also affects: clutter-gst-3.0 (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: clutter-gst-3.0 (Ubuntu)
> Status: New => Confirmed
>
> ** Summary changed:
>
> - With vaapi plugin DVD_VIDEO media renders quite poorly in wayland session
> + With gstreamer-vaapi installed, DVD video is flickering and green in a wayland session
>
While mpv isn't that suitable for dvd (dev's don't care about), it does
work ok with vaapi in wayland.
Ex. (currently muddling thru the new changes that you'll see in 0.28, a
bit of a pita. Have gotten  -
window deco but no vaapi
vaapi but no window deco
Anyway -

$ mpv --gpu-context=wayland --hwdec=vaapi --dvd-device=/dev/sr1 dvd://
Playing: dvd://
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: TEMPTATIONS
libdvdnav: DVD Serial Number: 26333988
libdvdnav: DVD Title (Alternative): TEMPTATIONS
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000624d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00010a1e
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[dvdnav] Selecting title 0.
[dvdnav] DVDNAV, switched to title: 1
  (+) Video --vid=1 (mpeg2video 720x480 29.970fps)
  (+) Audio --aid=1 --alang=en (ac3 2ch 48000Hz)
File tags:
  Title: TEMPTATIONS
AO: [pulse] 48000Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [gpu] 720x480 => 720x540 vaapi[nv12]
AV: 00:00:00 / 02:53:51 (0%) A-V:  0.000
  (+) Video --vid=1 (mpeg2video 720x480 29.970fps)
  (+) Audio --aid=1 --alang=en (ac3 2ch 48000Hz)
      Subs  --sid=1 (eia_608)
AV: 00:00:05 / 02:53:51 (0%) A-V:  0.000