Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329709 - media-vide/totem - Unable to play DVD
Summary: media-vide/totem - Unable to play DVD
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-24 15:22 UTC by iceonfire29
Modified: 2014-02-23 18:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output (dmesg,735 bytes, text/plain)
2010-07-24 15:24 UTC, iceonfire29
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iceonfire29 2010-07-24 15:22:55 UTC
Hi

When I insert a DVD, seconds after Totem Movie Player js launched but then nothing happens

Reproducible: Always

Steps to Reproduce:
1.Insert DVD
Actual Results:  
Nothing happens, Totem screen remains black


emerge --info output

Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_540_@_1.86GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 24 Jul 2010 01:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -msse3 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -msse2 -msse3 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi adns akonadi alsa applet archive ares arts audacious audit avahi berkdb branding bzip2 cairo caps cdda cdr cleartype cli consolekit cracklib crypt css cups curl cxx dbus dga directfb djvu dri dts dvd dvdr emboss emerald encode esd exif expat faac faad fbcon ffmpeg fftw firefox flac fontconfig fortran fpx freetype fuse gd gdbm gedit gif glade glitz gmp gnome gnome-keyring gnutls gpm graphviz gs gstreamer gtk guile hal hdri iconv icu idn imagemagick inotify ipv6 java java6 jbig jpeg jpeg2k kde lcms libcaca libffi libnotify libssh2 lm_sensors lzo mad md5sum mikmod mmap mmx mmxext mng modplug modules motif mp3 mp4 mpeg mpi mpi-threads mudflap mysql nautilus ncurses networkmanager nls nptl nptlonly nsplugin nss ogg openexr opengl openmp pam pango pbs pcre pdf perl phonon pic pkcs11 png policykit ppds pth python qt3 qt3support qt4 readline reflection romio samba scsi sdl semantic-desktop session sha512 skey slp sndfile soundex spl sql sqlite sqlite3 sse sse2 ssh ssl startup-notification svg svga symlink sysfs syslog tcl tcpd theora threads tiff tk tracker truetype unicode urandom usb vcd vorbis webkit win32codecs x264 x86 xcb xcomposite xft xinetd xml xmp xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 iceonfire29 2010-07-24 15:24:59 UTC
Created attachment 240003 [details]
dmesg output
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-07-25 20:28:13 UTC
The DVD is encrypted. Ensure that USE="css" is enabled for the relevant packages. If it still does not work, try another media player such as mplayer.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 01:15:50 UTC
(In reply to comment #2)
> The DVD is encrypted. Ensure that USE="css" is enabled for the relevant
> packages. If it still does not work, try another media player such as mplayer.

USE=css is set, according to `emerge --info', so it should be set for media-libs/libdvdread.

We'll need more output - please exit totem and run it manually from a shell, then see what its output says.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-26 21:22:36 UTC
... and reopen the bug report after that.
Comment 5 iceonfire29 2010-07-27 11:42:33 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > The DVD is encrypted. Ensure that USE="css" is enabled for the relevant
> > packages. If it still does not work, try another media player such as mplayer.
> USE=css is set, according to `emerge --info', so it should be set for
> media-libs/libdvdread.
> We'll need more output - please exit totem and run it manually from a shell,
> then see what its output says.

Comment 6 iceonfire29 2010-07-27 12:08:13 UTC
Hi

Unfortunatly totem prints nothing on the terminal. However, I tried with MPlayer and it worked. I don't think it's a totem problem, even with Brasero Burner does not see an inserted disc. With an audio cd there's no problem.
Comment 7 Pacho Ramos gentoo-dev 2010-07-27 19:00:31 UTC
Please try with totem-2.30.2 (you can get gnome-2.30 keywording lists from bug 324077), I watched "Inglourious Basterds" just past week and totem played it just fine
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-30 09:07:53 UTC
Please paste output of emerge -pv media-plugins/gst-plugins-meta media-libs/gst-plugins-ugly media-plugins/gst-plugins-a52dec media-plugins/gst-plugins-dvdread media-plugins/gst-plugins-mpeg2dec-0.10 media-plugins/gst-plugins-resindvd
Comment 9 iceonfire29 2010-08-01 13:45:39 UTC
Hi

Sorry for answering late. I upgraded to gnome 2.30, but with the new Totem doesn't work, it's the same problem as the previous version.
Comment 10 Mart Raudsepp gentoo-dev 2010-08-02 16:49:40 UTC
You still didn't report what was asked in comment #8, so we can't help you till then:

Please paste output of
emerge -pv gst-plugins-meta gst-plugins-ugly gst-plugins-a52dec gst-plugins-dvdread gst-plugins-mpeg2dec gst-plugins-resindvd
Comment 11 iceonfire29 2010-08-08 11:39:16 UTC
Hi
Here is the output of emerge:
[ebuild   R   ] media-libs/gst-plugins-ugly-0.10.13  USE="-debug" 994 kB
[ebuild   R   ] media-plugins/gst-plugins-a52dec-0.10.13  0 kB
[ebuild   R   ] media-plugins/gst-plugins-dvdread-0.10.13  0 kB
[ebuild   R   ] media-plugins/gst-plugins-mpeg2dec-0.10.13  0 kB
[ebuild   R   ] media-plugins/gst-plugins-resindvd-0.10.18  0 kB
[ebuild   R   ] media-plugins/gst-plugins-meta-0.10-r4  USE="X a52 alsa dvd esd ffmpeg flac mad mpeg ogg theora vorbis xv -dvb -lame -mythtv -oss -pulseaudio -taglib -v4l -v4l2" 0 kB
Comment 12 Mart Raudsepp gentoo-dev 2010-08-09 10:16:37 UTC
that looks good to me, maybe can also check this:

emerge -vp libdvdread libdvdnav
Comment 13 iceonfire29 2010-08-12 14:40:11 UTC
Hi

Here is the output:

[ebuild   R   ] media-libs/libdvdread-4.1.3_p1168  USE="css" 94 kB
[ebuild   R   ] media-libs/libdvdnav-4.1.3_p1168  0 kB



Comment 14 Pacho Ramos gentoo-dev 2010-08-31 11:17:14 UTC
What errors do you get when running:
totem dvd:///dev/sr0 ?
Comment 15 iceonfire29 2010-09-02 19:06:34 UTC
Hi

Here is what I got:

(totem:12780): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(totem:12780): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
** Message: Error: No URI set
gstplaybin2.c(3446): setup_next_source (): /GstPlayBin2:play


Comment 16 Pacho Ramos gentoo-dev 2010-09-02 20:53:36 UTC
Maybe gstreamer team will know better what does that error mean :-/
Comment 17 Mart Raudsepp gentoo-dev 2010-09-03 13:45:30 UTC
It might mean such a device doesn't exist... For me there's no /dev/sr0 for my DVD for instance, most should have a /dev/dvd that symlinks to the right device (hda for my case), so maybe a better test would be

totem dvd:///dev/dvd

However, I think this should work fine (for testing):
totem dvd://
Comment 18 iceonfire29 2010-09-08 07:50:28 UTC
Hi

I tried both but I got the same nessage. I also used /dev/dvdrw /dev/disk but it is the same result
Comment 19 Pacho Ramos gentoo-dev 2010-12-23 20:05:44 UTC
Could you try with 2.32?
Comment 20 Allan Gottlieb 2010-12-24 17:05:50 UTC
(In reply to comment #19)
> Could you try with 2.32?
> 
I have also had trouble with totem for a while (doesn't play) and have been following this bug.  I have 2.32 (~amd64) and just tried
totem dvd:///dev/dvd.  The result is

(totem:5726): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

** (totem:5726): WARNING **: chapters: failed to load CMML file dvd:///dev/dvd.cmml: The specified location is not supported

same error for simply totem /dev/sr0 (which /dev/dvd points to).

note that gnome-mplayer /dev/sr0 plays the movie
Comment 21 Pacho Ramos gentoo-dev 2010-12-26 09:42:26 UTC
Could you try on a new created user account? I have googled a bit looking for errors like yours and, in one case, seemed it was caused by a misconfiguration
Comment 22 Allan Gottlieb 2011-01-19 17:00:08 UTC
(In reply to comment #21)
> Could you try on a new created user account? I have googled a bit looking for
> errors like yours and, in one case, seemed it was caused by a misconfiguration
> 
I created a new user and the result is the same.
The dvd plays with gnome-mplayer but totem just gives a blank screen.
Comment 23 Pacho Ramos gentoo-dev 2011-01-27 19:30:17 UTC
Maybe running "totem --debug" could help
Comment 24 Allan Gottlieb 2011-02-07 22:44:03 UTC
(In reply to comment #23)
> Maybe running "totem --debug" could help
> 
The dvd player has a movie in it, which gnome-mplayer plays.

gottlieb@ajglap ~ $ totem --debug dvd://
(totem:13961): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
(totem:13961): Totem-DEBUG: Setting initial properties
(totem:13961): Totem-DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
(totem:13961): Totem-DEBUG: Received SaveComplete message in state save-yourself-done
(totem:13961): Totem-DEBUG: totem_playlist_add_one_mrl (): Title 0 (null) (null)


(totem:13961): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

** (totem:13961): WARNING **: chapters: failed to load CMML file dvd://.cmml: The specified location is not supported
Comment 25 Pacho Ramos gentoo-dev 2011-02-08 09:22:01 UTC
Does the following work for you?
gst-launch-0.10 playbin2 device://dev/dvd
Comment 26 Allan Gottlieb 2011-02-08 15:26:59 UTC
(In reply to comment #25)
> Does the following work for you?
> gst-launch-0.10 playbin2 device://dev/dvd
> 
No, I get the following.
gottlieb@ajglap ~ $ gst-launch-0.10 playbin2 device://dev/dvd
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPlayBin2:playbin20: No URI set
Additional debug info:
gstplaybin2.c(3372): setup_next_source (): /GstPlayBin2:playbin20
Setting pipeline to NULL ...
Freeing pipeline ...
gottlieb@ajglap ~ $ 

Comment 27 Pacho Ramos gentoo-dev 2011-02-08 17:29:04 UTC
This looks like a problem with gstreamer then :-/
Comment 28 Mart Raudsepp gentoo-dev 2014-02-16 05:27:37 UTC
Is this still an issue after all this time?
If yes, then maybe gst-plugins-base-1.2.3 would help (together with 1.2.x gst-plugins-resindvd), as it fixed a case where DVD's, which ended up trying to play a section without audio first, wouldn't work at all. DVDFASTSTART=no in environment would likely have workarounded it in some cases, etc.

http://thaytan.livejournal.com/9610.html
https://bugzilla.gnome.org/show_bug.cgi?id=603921

There were also some transcoding fixes off of DVDs in gstreamer-1.2.3 bump.
Comment 29 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-02-16 09:53:49 UTC
I have been playing a DVD with Gnome 3.10 not so long ago but I have to re-read this report to ensure what was the exact use case.
Comment 30 Mart Raudsepp gentoo-dev 2014-02-23 09:22:34 UTC
All of us have been able to play DVD's back in 2010 too. The issue seems to have been with the DVD the original reported used, or his setup. In light of the fixes I referenced, I hope he was affected by the "track/section without audio" bug and it is working good now. So trying to confirm if possible :)
Comment 31 Allan Gottlieb 2014-02-23 18:40:30 UTC
(In reply to Mart Raudsepp from comment #30)
> All of us have been able to play DVD's back in 2010 too. The issue seems to
> have been with the DVD the original reported used, or his setup. In light of
> the fixes I referenced, I hope he was affected by the "track/section without
> audio" bug and it is working good now. So trying to confirm if possible :)

I am not the original reporter, but also had the problem (comments 20,22,24, and 26).  For me all is well now with media-vedio/totem-3.8.2-r1 and has been so for a while.