Mplayer et lecture de DVD


#1

Merci pour vos réponses sur l’autre fil je viens de revérifer les librairies que j’ai installé pour mplayer et lire les dvds et je les ai toutes

ash@seal:~$ sudo apt-cache policy libdvdcss2 libdvdnav4 libdvdplay0 libdvdread3 libdvdcss2: Installé : 1.2.9+debian-1.unofficial.sarge.1 Candidat : 1.2.9+debian-1.unofficial.sarge.1 Table de version : *** 1.2.9+debian-1.unofficial.sarge.1 0 550 http://ftp.debian-unofficial.org sarge/main Packages 100 /var/lib/dpkg/status 1.2.9-0.0 0 550 ftp://ftp.nerim.net etch/main Packages 1.2.8-1sarge.1 0 500 http://download.videolan.org sarge/main Packages 1.2.8-0.0 0 550 ftp://ftp.nerim.net sarge/main Packages libdvdnav4: Installé : 0.1.9-3 Candidat : 0.1.9-3 Table de version : *** 0.1.9-3 0 550 http://ftp.fr.debian.org stable/main Packages 550 http://ftp.fr.debian.org etch/main Packages 33 http://ftp.fr.debian.org unstable/main Packages 100 /var/lib/dpkg/status libdvdplay0: Installé : 1.0.1-6 Candidat : 1.0.1-6 Table de version : *** 1.0.1-6 0 550 http://ftp.fr.debian.org stable/main Packages 550 http://ftp.fr.debian.org etch/main Packages 33 http://ftp.fr.debian.org unstable/main Packages 100 /var/lib/dpkg/status libdvdread3: Installé : 0.9.4-5.1 Candidat : 0.9.4-5.1 Table de version : *** 0.9.4-5.1 0 550 http://ftp.fr.debian.org etch/main Packages 33 http://ftp.fr.debian.org unstable/main Packages 100 /var/lib/dpkg/status 0.9.4-5 0 550 http://ftp.fr.debian.org stable/main Packages ash@seal:~$

Voila les logs que j’ai lorsque je lance mplayer pour un dvd

[code]ash@seal:~$ mplayer /dev/dvd
MPlayer 1.0pre7-3.3.5 © 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding “echo 1024 > /proc/sys/dev/rtc/max-user-freq” to your system startup scripts.
Opening joystick device /dev/input/js0
Can’t open joystick device /dev/input/js0 : Permission denied
Can’t init input joystick
Setting up LIRC support…
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.
Playing /dev/dvd.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
(…)
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
Encrypted VOB file! Read DOCS/HTML/en/dvd.html.
MPEG-PS file format detected.

Too many video packets in the buffer: (4096 in 8271614 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9000.0 kbps (1125.0 kbyte/s)

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

MPlayer interrupted by signal 11 in module: init_audio_codec

  • MPlayer crashed by bad usage of CPU/FPU/RAM.
    Recompile MPlayer with --enable-debug and make a ‘gdb’ backtrace and
    disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn’t happen.
    It can be a bug in the MPlayer code or in your drivers or in your
    gcc version. If you think it’s MPlayer’s fault, please read
    DOCS/HTML/en/bugreports.html and follow the instructions there. We can’t and
    won’t help unless you provide this information when reporting a possible bug.
    ash@seal:~$
    [/code]
    ps : j’ai volontairement raccourcis les logs de mplayer car c’etait la meme chose sur plusieurs lignes

#2

Tu as essayé la syntaxe suivante:

5.2. Lecture de DVDs

Pour voir la liste complète des options disponibles, veuillez lire la page de man. La syntaxe pour lire un Digital Versatile Disc (DVD) est la suivante:

mplayer dvd://<piste> [-dvd-device <périphérique>]

Exemple:

mplayer dvd://1 -dvd-device /dev/hdc

C’est tiré de la doc officielle.
Chez moi je fais: mplayer dvd:// Et il détecte automatiquement les paramètres adéquats.
Désolé, pas encore eu le temps de commencer le how-to … :confused:


#3

Il a pas l’air d’aimer les dvd cryptés, t’as pas un dvd non crypter pour tester si ça marche? ça permettrait de cibler si le probléme vient des codecs ou de la librairie de décodage de CSS.


#4

perso j’utilise Kaffeine pour la lecture des DVD, (g)mplayer pour tout ce qui est “petites” videos.

qu’est-ce que cela donne dans Kaffeine (ou Totem, ou VLC, ou …)?


#5

[quote=“jabba”]Tu as essayé la syntaxe suivante:

5.2. Lecture de DVDs

Pour voir la liste complète des options disponibles, veuillez lire la page de man. La syntaxe pour lire un Digital Versatile Disc (DVD) est la suivante:

mplayer dvd://<piste> [-dvd-device <périphérique>]

Exemple:

mplayer dvd://1 -dvd-device /dev/hdc

C’est tiré de la doc officielle.
Chez moi je fais: mplayer dvd:// Et il détecte automatiquement les paramètres adéquats.
Désolé, pas encore eu le temps de commencer le how-to … :confused:[/quote]
oui je viens de tester et erreur je vais finir par penser que je vais devoir réinstaller mplayer :s

Pour le how to c’est pas grave du moment que j’arrive a lire mes dvds :slightly_smiling:

[code]ash@seal:~$ mplayer dvd://
MPlayer 1.0pre7-3.3.5 © 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding “echo 1024 > /proc/sys/dev/rtc/max-user-freq” to your system startup scripts.
Opening joystick device /dev/input/js0
Can’t open joystick device /dev/input/js0 : Permission denied
Can’t init input joystick
Setting up LIRC support…
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.
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait…
There are 1 titles on this DVD.
There are 20 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a long time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000140
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001451
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002a891
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS’s
libdvdread: Elapsed time 0
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7700.0 kbps (962.5 kbyte/s)

Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)

open: No such file or directory
vo_mga: Couldn’t open /dev/mga_vid
open: No such file or directory
vo_mga: Couldn’t open /dev/mga_vid

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale…
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :frowning:
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))

Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le…
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le…
Starting playback…
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [3dfx] 720x576 => 1024x576 Planar YV12
Couldn’t open /dev/3dfx
ash@seal:~$[/code]
juste pour voir si ca allais mais non j’ai aussi essayé la commande du man pour lire la premiere piste et [code]ash@seal:~$ mplayer dvd://1 -dvd-device /dev/dvd
MPlayer 1.0pre7-3.3.5 © 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding “echo 1024 > /proc/sys/dev/rtc/max-user-freq” to your system startup scripts.
Opening joystick device /dev/input/js0
Can’t open joystick device /dev/input/js0 : Permission denied
Can’t init input joystick
Setting up LIRC support…
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.
Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait…
There are 1 titles on this DVD.
There are 20 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a long time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000140
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00001451
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002a891
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS’s
libdvdread: Elapsed time 0
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7700.0 kbps (962.5 kbyte/s)

Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)

open: No such file or directory
vo_mga: Couldn’t open /dev/mga_vid
open: No such file or directory
vo_mga: Couldn’t open /dev/mga_vid

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale…
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :frowning:
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))

Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le…
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le…
Starting playback…
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [3dfx] 720x576 => 1024x576 Planar YV12
Couldn’t open /dev/3dfx
ash@seal:~$
[/code]

[quote=“BobX”]Il a pas l’air d’aimer les dvd cryptés, t’as pas un dvd non crypter pour tester si ça marche? ça permettrait de cibler si le probléme vient des codecs ou de la librairie de décodage de CSS.[/quote]Je ne sais pas comment savoir si un dvd est crypté ou pas :blush:

[quote=“ghostintheshell”]perso j’utilise Kaffeine pour la lecture des DVD, (g)mplayer pour tout ce qui est “petites” videos.

qu’est-ce que cela donne dans Kaffeine (ou Totem, ou VLC, ou …)?[/quote]
Avec kaffeine j’arrive a lire les dvds aucun probleme mais j’aimerais le faire avec mplayer. D’ailleurs c’est ma solution de rechange quand je veux regarder un film


#6

tous les dvd/vidéo commerciaux le sont … enfin … si on peut appeller ça une protection (hacké par un ado); cette protection se nomme macrovision / css d’ou le nom libdvdcss …

quand tu rippes un dvd avec DVD Shrink par exemple, les protections sont sautées et la copie n’a plus ces protections (sauf si tu le souhaites …).
nécessaire pour jouir de son droit à la copie privée …

bah au moins t’as une solution :smiley:


#7

Merci pour les infos sur le cryptage des dvds[quote=“ghostintheshell”]bah au moins t’as une solution :smiley:[/quote]Vi et heureusement que j’en ai une mais je souhaiterais quand meme faire marcher ce maudit mplayer correctement.

Je n’arrive meme pas à lire les flux videos avec.