GNOME Bugzilla – Bug 598341
no sound when playing some home-made type DVDs
Last modified: 2011-05-23 12:58:41 UTC
Totem can play professional DVDs just fine, but it has now occured to me twice that there was no sound, and in both cases, it was a home-made (think amateur movie) DVD. The first one was made by me using DeVeDe, the other probably has been made with some random proprietary DVD making software.
Does this software create LPCM audio tracks by any chance?
Actually no, I just investigated a little bit more, and it's not on a per-DVD basis (ie: professional vs home-made or codecs have nothing to do with it). The problem is different from what I first thought. The reason is that I, without exiting totem, had played the homemade dvd "after" the professional one. However, the problem is actually this instead: sound will not work if you do not exit totem before loading a different DVD (either disk or .iso image). Other properties, such as resolution/aspect ratio and menu interactivity may also be messed up. So, to reproduce: - load a movie - load a second movie without exiting totem.
Erm. Seems like I came up with two issues after all. One of the homemade dvds (the one which wasn't made by me) does not have sound even if I close and restart totem before using it (the homemade dvd made by DeVeDe does not have this problem). So, two issues: 1- if a dvd has previously been read, you must restart totem before loading a new one 2- a particular dvd I have here has no sound when played by totem (VLC does work) I'm guessing I should file a new bug for #1, but how do I check if the audio tracks are "LPCM" for #2?
We'll concentrate on #2. You should see the type of audio listed in the properties (make sure you switch to the different audio tracks if there's more than one of them). See also bug 575568
Tried that, but the info listed in the properties is incomplete: Codec: N/D Channels: Stereo Sample: 48000 Hz Bitrate: N/A Now, going into the Sound > Language menu, the Language menu is empty.
Created attachment 145412 [details] debug log Tried generating a debug log with GST_DEBUG=resin*:5,rsn*:5, hope it helps.
Nothing much interesting in there. Could you please check whether: gst-launch playbin2 uri=dvd://1 works?
Doesn't seem to work: jeff@kusanagi:~$ gst-launch playbin2 uri=dvd://1 (gst-launch-0.10:4320): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal Setting pipeline to PAUSED ... libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Can't stat 1 No such file or directory ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/RsnDvdBin:source/resinDvdSrc:dvdsrc: Could not read title information for DVD. Additional debug info: resindvdsrc.c(361): rsn_dvdsrc_start (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/RsnDvdBin:source/resinDvdSrc:dvdsrc: system error: No such file or directory Setting pipeline to NULL ... Freeing pipeline ...
Might mistake, I think it should be something like: gst-launch playbin2 uri=dvd:///dev/cdrom replace /dev/cdrom with the path to the dvd drive.
jeff@kusanagi:~$ gst-launch playbin2 uri=dvd:///dev/sr0 (gst-launch-0.10:9058): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstpython_d.so': /usr/lib/gstreamer-0.10/libgstpython_d.so: undefined symbol: _Py_RefTotal Setting pipeline to PAUSED ... libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav: Using dvdnav version 4.1.3 libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdnav: DVD Title: libdvdnav: DVD Serial Number: 3B4B6162C7FDFFC9 libdvdnav: DVD Title (Alternative): libdvdnav: Unable to find map file '/home/jeff/.dvdnav/.map' libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8 libdvdnav: *** pgci_ut handle is NULL *** libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000150 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00002690 libdvdread: Elapsed time 0 libdvdread: Found 1 VTS's libdvdread: Elapsed time 0 Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstPulseSinkClock ...But still no sound.
Here is my affected vob file for your convenience: wget -c http://jeff.ecchi.ca/public/bug-598341-VTS_01_1.VOB.7z (sorry for the insane compression ratio, but I think you prefer a little processing time with file-roller rather than waiting for my DSL connection to send you 92 additional Mib ;) Note: the slideshows at the beginning are silent (that is normal); you have to scrub (or wait) until ~2 minutes to have actual video that is supposed to have sound.
Hm, I think that this is fixed with the packages from the gstreamer PPA.