[MPlayer-users] switch_audio on *.ts files

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Jun 19 13:24:38 CEST 2009


On Fri, Jun 19, 2009 at 01:15:19PM +0200, Nico Sabbi wrote:
> On Friday 19 June 2009 13:05:30 rvm wrote:
> > (Don't know why gmail didn't send the whole text, 2nd try):
> >
> > Both -aid and -vid require the ID printed by mplayer, but then the
> > slave commands don't accept those IDs, they expect other values
> > that mplayer doesn't print anywhere... :(
> >
> > The video IDs from a ts:
> > ID_VIDEO_ID=1001
> > ID_VIDEO_ID=1501
> > ID_VIDEO_ID=301
> > ID_VIDEO_ID=501
> >
> > mplayer video.ts -vid 301 works as expected but
> >
> > set_property switch_video 301
> > The switch_video option must be <= 255: 301
> > Failed to set property 'switch_video' to '301'
> >
> > Is this a bug or am I doing something wrong?
> 
> 
> in this case mplayer surely wants rewritten IDs, not PID values that 
> can exceed 255.
> It's only that I don't remember this change, that is not unusual ;)
> *If* I can find time I'll fix it, but as you may have noticed I don't 
> much time and I'm no more very active.

Don't spend your time on this yet. My memory is bad, too, but I think
that I changed most places to use the "virtual" stream ID and not the
index in the streams array, simply because that is too brittle
(basically an implementation detail) - in that case the properties
range limits were just forgotten to be changed.
If my other patch fixes the issue, I think that's good enough.


More information about the MPlayer-users mailing list