| Summary: | Segfault while trying to play a Netflix DVD | ||
|---|---|---|---|
| Product: | [Applications] dragonplayer | Reporter: | Damian Nowak <oferty> |
| Component: | general | Assignee: | Harald Sitter <sitter> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | crash | CC: | bvbfan, myriam |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Damian Nowak
2017-01-06 00:31:07 UTC
Try with gstreamer gst-play-1.0 /dev/sr0 or gst-play-1.0 /dev/cdrom Is he played well? Hey Anthony, thanks for your timely reply and suggestion! I wasn't able to play the DVD in any player. I started looking around and found out about "DVD regions". I'm from Europe but live in the U.S. - once I changed the region and I was immediately able to play the movie in VLC player. Dragon Player no longer segfaults but still doesn't play the video (but GStreamer doesn't play the movie, but it's beyond the scope of this ticket/KDE team). Therefore, we have one confirmed bug here: if the region of DVD device doesn't match the region of DVD disk, Dragon Player segfaults. === Just a FYI. Not seeking help with this. Gstreamer doesn't play the DVD: --- nowaker@nwkr-laptop ~ % gst-play-1.0 /dev/sr0 Press 'k' to see a list of keyboard shortcuts. Now playing /dev/sr0 ERROR Error parsing H.264 stream for file:///dev/sr0 ERROR debug information: gsth264parse.c(1179): gst_h264_parse_handle_frame (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0: No H.264 NAL unit found Reached end of play list. --- VLC works fine: --- nowaker@nwkr-laptop ~ % vlc /dev/sr0 VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000000000d49148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libdvdnav: Using dvdnav version 5.0.3 libdvdnav: DVD Title: (...) (...) --- Phonon is just a warpper around gstreamer library, dragon is a graphical representation of Phonon, so you have 2 choices: 1. sudo pacman -S gstreamer-vaapi libva x264 x265 2. sudo pacman -S phonon-qt5-vlc (vlc backend for phonon, systemsettings -> multimedia -> audio/video) In 2 cases it's better to provide vainfo result because of missing h264 decoder. sudo pacman -S vainfo Thanks Anthony. Using VLC as a backend works fine.
Gstreamer doesn't seem to work although everything seems to be in place for it. Same error message as previously, No H.264 NAL unit found.
nowaker@nwkr-laptop ~ % pacman -Q | grep -P 'vaapi|libva|x26'
gstreamer-vaapi 1.10.2-1
libva 1.7.3-1
libva-intel-driver 1.7.3-1
libx264 2:148.20160920-1
x264 2:148.20160920-1
x265 2.2-1
Here's vainfo:
nowaker@nwkr-laptop ~ % vainfo
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Mobile - 1.7.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
===
For future readers of this thread: vainfo is part of libva.
% pacman -Qo vainfo
/usr/bin/vainfo is owned by libva 1.7.3-1
I made bugreport down to gstreamer https://bugzilla.gnome.org/show_bug.cgi?id=776998 |