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

Antoine Cellerier dionoea at videolan.org
Mon Apr 14 15:10:15 CEST 2008


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



More information about the vlc-devel mailing list