Estou completamente perplexo com isso, mas tenho certeza que a correção deve ser simples - eu posso reproduzir DVDs bem no meu Ubuntu, mas acabei de comprar um novo DVD e não há som.
O som funciona em todos os outros DVDs que eu toquei e os arquivos avi normais também funcionam, a música funciona bem. Então, acho que deve estar faltando um código, mas não tenho ideia de como reduzi-lo. Alguém pode ajudar?
Para referência eu tenho libdvdcss2, libdvdnav4, restricted-extras instalados. Eu tentei vlc, mplayer e parole sem sucesso.
Qualquer ajuda para determinar o codec que está faltando seria muito apreciada.
Exemplo de saída do mplayer para DVD de trabalho:
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.12 for DVD access
There are 39 titles on this DVD.
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
.....
audio stream: 0 format: ac3 (stereo) language: aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0
Detected file format: MPEG-PS
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7000.0 kbps (875.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 2 threads if supported.
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
>
==========================================================================
Para o DVD que não funciona:
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.12 for DVD access
There are 9 titles on this DVD.
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 0x0000011f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000015c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000236
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
number of audio channels on disk: 0.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: ja
number of subtitles on disk: 2
Detected file format: MPEG-PS
Too many video packets in the buffer: (4096 in 8256891 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 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Asking decoder to use 2 threads if supported.
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
Audio: no sound
Starting playback...