[MPlayer-users] playing dvd-audio

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Nov 27 22:54:12 CET 2004


Hi,
> How do I play audio dvds? Can mplayer do this? Or maybe some other
> tools?
> There is no ccs encryption, or it is overrided by drive.. I guess. Just
> .aob mpeg streams with audio tracks.

There is an encryption scheme for audio DVDs and is that is used in your
case I can't see a way to play it with MPlayer (not yet cracked and we
certainly won't get any official keys...)

If it is encrypted you might be able to play it with MPlayer CVS version
and the attached patch - that is if it uses LPCM format, MLP isn't
supported (at least for now).

Greetings,
Reimar Döffinger

P.S.: samples are essential for improving support, so whether it works
or not, if you can please upload the aob (at least part of it) to
ftp.mplayerhq.hu/MPlayer/incoming.
-------------- next part --------------
Index: libmpdemux/demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpg.c,v
retrieving revision 1.52
diff -u -r1.52 demux_mpg.c
--- libmpdemux/demux_mpg.c	23 Oct 2004 00:05:37 -0000	1.52
+++ libmpdemux/demux_mpg.c	27 Nov 2004 16:59:14 -0000
@@ -33,7 +33,11 @@
   float half_pts = 0.0;
   mpg_demuxer_t* mpg_d;
 
-  if (!ds_fill_buffer(demuxer->video)) return 0;
+  if (!ds_fill_buffer(demuxer->video)) {
+    if (!ds_fill_buffer(demuxer->audio))
+      return 0;
+    return 1;
+  }
   mpg_d = (mpg_demuxer_t*)calloc(1,sizeof(mpg_demuxer_t));
   demuxer->priv = mpg_d;
   mpg_d->final_pts = 0.0;
Index: libmpdemux/demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.176
diff -u -r1.176 demuxer.c
--- libmpdemux/demuxer.c	25 Nov 2004 22:24:00 -0000	1.176
+++ libmpdemux/demuxer.c	27 Nov 2004 16:59:18 -0000
@@ -1337,7 +1337,9 @@
   break;
  }
  case DEMUXER_TYPE_MPEG_PS: {
-  sh_video=d_video->sh;sh_video->ds=d_video;
+  sh_video=d_video->sh;
+  if (sh_video)
+    sh_video->ds=d_video;
 //  if(demuxer->stream->type!=STREAMTYPE_VCD) demuxer->movi_start=0; // for VCD
 
   if(audio_id!=-2) {


More information about the MPlayer-users mailing list