[vlc-devel] Setting audio tracks PIDs when streaming mpeg-ts

jboileau jboileau at gmail.com
Mon Apr 14 17:36:47 CEST 2008


Hum... since the possibility to set more than one audio track's pid is
not documented anywhere and the UI does not support more than one PID
for audio tracks, I guess it would be more a feature request.

One way around the problem I have just figured out is using the
--sout-ts-es-id-pid option. This sets the pids equal to the elementary
stream id. In the case of a movie the two audio tracks are 1 and 2.
Now I have to see if I can configure the subsystem to use pid's 1 and
2 instead of 80 and 81.

Thanks for your help,

Jacques

On Mon, Apr 14, 2008 at 9:10 AM, Antoine Cellerier <dionoea at videolan.org> wrote:
>
> On Mon, Apr 14, 2008, jboileau wrote:
> > I need to set PIDs for my audio tracks when I stream a movie to
> > MPEG-TS. This is a requirement imposed by the subsystem that render's
> > the stream. In VLC we can easily set the audio PID but that only sets
> > the PID for the first audio track. We have two. In the past, with
> > version 0.8.6, if I would set the PID to 80 the second track would get
> > it's PID always attributed the next value which is 81. So that worked
> > fine. But now with 0.9.0 if I set the PID to 80 for the first track,
> > the second track gets an incremented PID on every play. It starts at
> > 81 but the next play will get a PID of 82 and so on. Is there a way to
> > specify a fixed PID for the second audio track?
>
> That sounds like a bug in the current implementation. Feel free to
> submit a patch to fix it or file a new ticket on trac.
>
> --
> Antoine Cellerier
> dionoea
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Jacques Boileau



More information about the vlc-devel mailing list