Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.hardware > #1234 > unrolled thread
| Started by | Haines Brown <haines@histomat.net> |
|---|---|
| First post | 2012-05-19 12:26 -0400 |
| Last post | 2012-05-20 13:01 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.os.linux.hardware
DVD drive init decoder fails Haines Brown <haines@histomat.net> - 2012-05-19 12:26 -0400
Re: DVD drive init decoder fails HASM <netnews@invalid.com> - 2012-05-19 09:46 -0700
Re: DVD drive init decoder fails Haines Brown <haines@histomat.net> - 2012-05-20 04:40 -0400
Re: DVD drive init decoder fails Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2012-05-20 13:01 +0200
| From | Haines Brown <haines@histomat.net> |
|---|---|
| Date | 2012-05-19 12:26 -0400 |
| Subject | DVD drive init decoder fails |
| Message-ID | <87pqa0kugu.fsf@engels.HistoricalMaterialism.info> |
I am attempting to play a commercial DVD on a Sony Optiarc 24X DVD/CD
SATA Rewritable Drive under Debian Etch. I have libavcodec53 installed.
I issue the command:
$ mplayer dvdnav:// /dev/dvd5
(for some reason I don't have /dev/dvd, but only /dev/dvd5 and dvdrw5)
This produces the error:
MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
Loading protocol-related profile 'protocol.dvdnav'
Playing dvdnav://.
Playing /dev/dvd5.
libavformat file format detected.
RAWDV file format detected.
VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
====================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
====================================================================
====================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
ADecoder init failed :(
Audio: no sound
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x8b5a460]BICUBIC scaler, from yuv411p to yuv420p using \
MMX2
VO: [xv] 720x480 => 720x480 Planar YV12
V: 0.0 1/ 1 ??% ??% ??,?% 0 0 ^[[J^MV: 0.0 2/ 2 ??% ??% \
??,?% 0 0 ^[[$
Exiting... (End of file)
This disk plays on a DVD player and is for Region 1. So I don't
understand why the decoder cannot be initialized. Am I missing some
software?
Haines Brown
[toc] | [next] | [standalone]
| From | HASM <netnews@invalid.com> |
|---|---|
| Date | 2012-05-19 09:46 -0700 |
| Message-ID | <87k408jezy.fsf@127.0.0.1> |
| In reply to | #1234 |
Haines Brown <haines@histomat.net> writes: > $ mplayer dvdnav:// /dev/dvd5 > (for some reason I don't have /dev/dvd, but only /dev/dvd5 and dvdrw5) You can probably fix this editing /etc/udev/rules.d/70-persistent-cd.rules. Mine recently went to /dev/dvd1 with some upgrade and I had to fix it there. > This produces the error: > ... > Am I missing some software? Do you have libdvdcss installed? And my mplayer also tells me (not related to your problem though): Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line) -- HASM
[toc] | [prev] | [next] | [standalone]
| From | Haines Brown <haines@histomat.net> |
|---|---|
| Date | 2012-05-20 04:40 -0400 |
| Message-ID | <87ehqfkzy3.fsf@engels.HistoricalMaterialism.info> |
| In reply to | #1235 |
> Haines Brown <haines@histomat.net> writes: > >> $ mplayer dvdnav:// /dev/dvd5 >> (for some reason I don't have /dev/dvd, but only /dev/dvd5 and dvdrw5) > > You can probably fix this editing /etc/udev/rules.d/70-persistent-cd.rules. > Mine recently went to /dev/dvd1 with some upgrade and I had to fix it there. I commented all the duplication lines, but apparently have to await the next reboot for it to take effect. >> This produces the error: >> ... >> Am I missing some software? > > Do you have libdvdcss installed? I installed libdvdcss2_1.2.10-1_i386.deb and did # updatedv. But when I did $ locate libdvdcss2, this was all that I found. Besides some /usr/share/doc/*, /var/lib/dpkg/info/libdvdcss2.list /var/lib/dpkg/info/libdvdcss2.md5sums /var/lib/dpkg/info/libdvdcss2.postinst /var/lib/dpkg/info/libdvdcss2.postrm /var/lib/dpkg/info/libdvdcss2.shlibs And yet below it seems to be doing what it should. > And my mplayer also tells me (not related to your problem though): > Remember to disable MPlayer's cache when playing dvdnav:// streams > (adding -nocache to your command line) I did this, using the old /dev/dvd number, and got: $ mplayer -nocache dvdnav:// /dev/dvd5 MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Loading protocol-related profile 'protocol.dvdnav' Playing dvdnav://. libdvdnav: Using dvdnav version MPlayer-custom libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Can't stat /dev/dvd No such file or directory libdvdread: Could not open /dev/dvd libdvdnav: vm: failed to open/read the DVD Couldn't open DVD device: /dev/dvd (No such file or directory) No stream found to handle url dvdnav:// Playing /dev/dvd5. File not found: '/dev/dvd5' Failed to open /dev/dvd5. I assume the first stanza is not important. The second suggests to me that the libdvdcss is in fact being used. The problem is that libdvdread wants to read /dev/dvd, when it does not yet in fact exit. So I created a dvd --> dvd5 symlink, but that didn't help: $ mplayer -nocache dvdnav:// /dev/dvd ... Loading protocol-related profile 'protocol.dvdnav' Playing dvdnav://. libdvdnav: Using dvdnav version MPlayer-custom libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Can't stat /dev/dvd No such file or directory libdvdread: Could not open /dev/dvd libdvdnav: vm: failed to open/read the DVD Couldn't open DVD device: /dev/dvd (No such file or directory) No stream found to handle url dvdnav:// Playing /dev/dvd. File not found: '/dev/dvd' Failed to open /dev/dvd. I don't understand why if there's a symlink, dvd --> dvd5 --> sr0, it does not work. Haines
[toc] | [prev] | [next] | [standalone]
| From | Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> |
|---|---|
| Date | 2012-05-20 13:01 +0200 |
| Message-ID | <pan.2012.05.20.11.01.01.191495@deadspam.com> |
| In reply to | #1236 |
Haines Brown <haines@histomat.net> wrote: > I don't understand why if there's a symlink, dvd --> dvd5 --> sr0, it > does not work. Maybe you would get some explanation by reading the source for mplayer or by running mplayer in a debugger. However, it might be easier to study the output from "strace mplayer -nocache dvdnav:// /dev/dvd" even though that will give a lot of text. To get a file searchable by your favorite editor you can "strace mplayer -nocache dvdnav:// /dev/dvd >& /tmp/log.txt". regards Henrik -- The address in the header is only to prevent spam. My real address is: hc351(at)poolhem.se Examples of addresses which go to spammers: root@localhost postmaster@localhost
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.hardware
csiph-web