[MPlayer-dev-eng] [PATCH] dvdnav - partial REVIEW

Jan Knutar jknutar at nic.fi
Tue May 23 22:36:18 CEST 2006


On Tuesday 23 May 2006 23:12, Ötvös Attila wrote:

> > I'm not sure this is valid for non dvd mpeg's, but I have a feeling it
> > still is. So it might even be worth using that mask directly in the
> > demuxer.
> 
> The mplayer needs on 4 parameters:
> language code
> physical stream id
> audio format
> channels number
> 
> I think from these the libdvdnav can give 2:
> language code = dvdnav_audio_stream_to_lang()
> physical stream id = dvdnav_get_audio_logical_stream()
> 
> The mplayer needs on 2 parameters:
> audio format
> channels numbers
> 
> I seem that the dvdnav_get_audio_logical_stream() doesn't include the audio 
> format and channels number.


Sorry for hijacking the thread. I'd like some hints on how to debug playback
with a DVD here. The strange thing is, that the DVD plays fine with your patch,
however, without it, I can't seem to find any english subtitles at all. :) The DVD's
menu has 3 language choices at start, and if I click english, it works quite well,
a few subtitles at the start are lost, but after that it works.

With regular dvd://, trying -sid from 1 to about 20 yields no english subtitles.
I was wondering where to start adding printf's and similar, in order to figure
out what subtitlte (is that spu?) stream MPlayer is playing with dvdnav://.

A two year old version of xine, which has dvd menu support, does not seem
to be able to find the english subs either. There's something strange about
the disc.

Is it possible to make DVD which wouldn't show subtitles with regular dvd://
playback, btw?

Anyway, any hints where to start looking would be appreciated.



More information about the MPlayer-dev-eng mailing list