Pour connaitre les différentes pistes audio d'un DVD, on ,peut utiliser lsdvd -a /dev/dvd (on peut remplacer /dev/dvd par /mnt/loop). On verra alors :
Title: 01, Length: 00:42:10.290 Chapters: 12, Cells: 12, Audio streams: 08, Subpictures: 32
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x81
        Audio: 3, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x82
        Audio: 4, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x83
        Audio: 5, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x84
        Audio: 6, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x85
        Audio: 7, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x86
        Audio: 8, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x87

Title: 02, Length: 00:42:12.020 Chapters: 12, Cells: 12, Audio streams: 02, Subpictures: 03
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x81

Title: 03, Length: 00:42:14.090 Chapters: 12, Cells: 12, Audio streams: 02, Subpictures: 03
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x81

Title: 04, Length: 00:42:14.250 Chapters: 12, Cells: 12, Audio streams: 02, Subpictures: 03
        Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
        Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x81

Longest track: 04

On peut aussi utiliser mplayer -vo null -ao null -frames 0 -identify dvd:// 2>/dev/null | grep "^ID" qui donne un certain nombre d'informations :
ID_DVD_TITLES=2
ID_DVD_TITLE_1_CHAPTERS=1
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=26
ID_DVD_TITLE_2_ANGLES=1
ID_AUDIO_ID=0
ID_AID_0_LANG=fr
ID_AUDIO_ID=129
ID_AID_129_LANG=en
ID_AUDIO_ID=2
ID_AID_2_LANG=en
ID_VIDEO_ID=0
ID_AUDIO_ID=129
ID_AUDIO_ID=0
ID_FILENAME=dvd://
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=8000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=10.00
ID_VIDEO_CODEC=mpegpes
Des cookies d'analyse d'audience sont utilisés sur ce site