On Sat, Jan 31, 2015 at 03:00:03PM -0300, Fernando de Oliveira wrote: > I am replying, because yesterday, when updating the book to > libdvdread-5.0.2 and libdvdnav-5.0.3, mplayer gave me problems and also > I included in xine-lib-1.2.6 a comment "not recommended by upstream > developers" that I thought to modify to better English. Then, testing > today xine-lib-1.2.6, I found that we do need the opposite: > --with-external-dvdnav. So, decided to discuss a little, before > proceeding. More comments in-line, below. > > On 16-09-2014 17:14, Ken Moffat wrote: > > On 7.6 I'm having problems playing DVDs. My drive shows up as > > /dev/sr0, and has a /dev/cdrom symlink but not /dev/dvd : that much > > is not new. > > Same here. > > LFS-7.5, i686 >
Sorry it has taken me a week and a half to reply to this, but I've only now got round to _testing_ AV applications on my 20150127 build. So, these comments relate to how things were before you updated libdvdread and libdvdnav. > > As I've previously noted, vlc is unusable for playng DVDs - plays a > > few seconds, then pauses for a few seconds - but it works enough to > > show that libdvdcss is installed. > > It works fine here. > It has _never_ worked correctly for me when playing DVDs! Unfortunately, I cannot test it in this system because I was tempted to try building Qt5 (full, including the web part, for qupzilla) instead of Qt4 - posts in forums implied that vlc would now work with Qt5, but the book is correct. I'll be reverting to Qt4 for future builds. > > In xine, I can only play from the DVD option on the menu if I've > > made a /dev/symlink - and that, of course, goes when I power off. > > But under those circumstances it works. > > Well, it did not play at all, complaining about "Missing symbols in > libdvdcss". Then, I assumed I needed to use the system libdvdnav, so > xine-lib would probably use system libdvdcss, which worked fine with vlc. > > Now, I need to remove the comment and am almost convinced to recommend > system libdvdnav and include the switch. Opinions, please? > > Given your problems, I tried to see if some configuration would help, > and found a solution. I edit file ~/.xine/config and added: > > gui.osdmenu.dvd_mountpoint:/dev/sr0 > media.dvd.device:/dev/sr0 > media.dvd.raw_device:/dev/sr0 > I remembered to test with the symlink, and my current thought is that I should look at trying to create a /dev/dvd symlink as well as /dev/cdrom. xine worked without any problem. > and it worked (seems that default, commented out in original file) is > /dvd or, more probably, your /dev/symlink (?). > > FWIW, also added: > > gui.experience_level:Advanced > > necessary to have options for video driver. Can also be defined in the > config file: > > video.driver:xv > > Without this, it was trying to use libvdpau, which is installed but not > appropriate for vmware. > Ah, you are in a VM. I have never attempted to fix up the audio, or the external drive, for use in qemu. I take my hat off to you for getting working sound in a VM. ;-) > Also added: > > audio.driver:alsa > > because pulse is installed, but not being used in LXDE. > Oh, you poor fellow, fancy polluting your system with that. *grin* > > > With lsdvd and transcode I > > have managed to extract a vob file - again specifying /dev/sr0 - and > > both xine and parole can play that. Actually, I just tried that in > > vlc, again it only plays for a second two before pausing, so I > > guess my vlc problem is with the dvd libs (it's fine with the mp4 I > > made using ffmpeg). > > These, I haven't tested today. Don't know what lsdvd is. > http://sourceforge.net/projects/lsdvd/ - it in effect runs ls on the contents of a DVD, allowing me to see chapters and tracks to work out which part I actually want. I'm hoping to test transcode (and ffmpeg/x264) this week, but there are so many other interesting things to try, and so much music to either rip from CD, or download from Qobuz and retag. > > > > But in parole, if I specify /dev/cdrom or /dev/sr0 I get an alert > > popup: > > > > GStreamer backend error > > Error parsing H.264 stream > > I don't get this error, but found > > https://bugs.launchpad.net/ubuntu/+source/parole/+bug/1278089/comments/7 > > <<running "parole --xv false" and then opening the file in Parole again > plays the video correctly>> > > I'm trying to find how to modify the configuration, without success. > Discovered, though, that it is in file > > ~/.config/xfce4/xfconf/xfce-perchannel-xml/parole.xml > For me, with the gstreamer-1.4.5 packages parole played a DVD without any problem. > Now, changing to mplayer: can't play DVD with gmplayer, but with > mplayer, I can using: > > mplayer dvdnav:// -nocache -mouse-movements -dvd-device /dev/sr0 > > > Most of this will possibly interest only ĸen (or perhaps not anymore), > but my main points are: > > 1. Should libdvdnav be promoted to recommended for xine-lib (with added > switch --with-external-dvdnav)? > > 2. Does someone know how to permanently configure parole? > > 3. How to play DVD with gmplayer (mplayer's gui)? > For point 1. you have made a choice. For point 2, I've no idea (on one box it opens local clips when I select them, on another I have to press play - I thought the xdg-utils fixed that on the first box, but obviously there is something else that I missed - anyway, not very important). For point 3, no interest - I don't need any mplayer variants, I've got enough video players (3 with ffplay, 4 when I resume using Qt4). ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
