After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598341 - no sound when playing some home-made type DVDs
no sound when playing some home-made type DVDs
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-13 21:51 UTC by Jean-François Fortin Tam
Modified: 2011-05-23 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (302.77 KB, text/plain)
2009-10-14 12:39 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2009-10-13 21:51:32 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.
Comment 1 Bastien Nocera 2009-10-13 22:34:28 UTC
Does this software create LPCM audio tracks by any chance?
Comment 2 Jean-François Fortin Tam 2009-10-13 22:48:03 UTC
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.
Comment 3 Jean-François Fortin Tam 2009-10-13 23:23:29 UTC
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?
Comment 4 Bastien Nocera 2009-10-14 11:24:34 UTC
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
Comment 5 Jean-François Fortin Tam 2009-10-14 12:34:45 UTC
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.
Comment 6 Jean-François Fortin Tam 2009-10-14 12:39:18 UTC
Created attachment 145412 [details]
debug log

Tried generating a debug log with GST_DEBUG=resin*:5,rsn*:5, hope it helps.
Comment 7 Bastien Nocera 2009-10-16 10:02:56 UTC
Nothing much interesting in there.

Could you please check whether:
gst-launch playbin2 uri=dvd://1
works?
Comment 8 Jean-François Fortin Tam 2009-10-16 18:22:59 UTC
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 ...
Comment 9 Bastien Nocera 2009-10-16 18:56:09 UTC
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.
Comment 10 Jean-François Fortin Tam 2009-10-17 12:33:47 UTC
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.
Comment 11 Jean-François Fortin Tam 2009-10-17 12:51:36 UTC
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.
Comment 12 Jean-François Fortin Tam 2009-12-16 03:50:56 UTC
Hm, I think that this is fixed with the packages from the gstreamer PPA.