Opened 7 years ago

Closed 4 years ago

#2169 closed defect (fixed)

On some case Mplayer is unable to extract audio track from vob files

Reported by: mister.freeman@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description (last modified by reimar)

I use Mplayer SVN-r36498-snapshot-4.8.2 ( archlinux 64 bits package "mplayer 36498-4" )
and I notice that on some case mplayer is unable to extract audio tracks from vob files,
for example I have "terminator 2" DVD, I try to rip this DVD with mplayer :
mplayer -dumpstream dvd://4 -dumpfile video.vob
I get a vob file with full movie and 3 track audio :
audio stream: 0 format: ac3 (stereo) language: fr aid: 128.
audio stream: 1 format: ac3 (5.1) language: fr aid: 129.
audio stream: 2 format: ac3 (5.1) language: en aid: 130.
subtitle ( sid ): 0 language: fr
but when I try to extract audio track with mplayer it fails with this message :
Playing video.vob.
libavformat version 55.19.104 (internal)
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
dump: 0 bytes written to 'en.ac3'.
Core dumped ;)
the commande line for extracting the third audio track was :

mplayer video.vob -aid 130 -dumpaudio -dumpfile en.ac3

it fails also if I try to extract the others 2 audio tracks,
If I use ffmpeg I don't have problem for extracting tracks from this vob file :
ffmpeg -i video.vob -map 0:3 en.ac3
so I think there is a bug with mplayer for extracting audio track from vob files, sometimes it works but with some particular DVD it fails ( Terminator 2, Star Wars episode 2 )

Change History (2)

comment:1 Changed 6 years ago by compn

  • Analyzed by developer unset
  • Reproduced by developer unset

you need -acodec copy in your ffmpeg command line, otherwise it maybe reencoding.

can you try mplayer -demuxer lavf -dumpaudio ?

comment:2 Changed 4 years ago by reimar

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

To the best of my knowledge these (quite common) issues with vob files should be fixed in the latest version.

Note: See TracTickets for help on using tickets.