Page 1 of 1

Random audio tracks order in duplicated http stream, normal?

Posted: 13 Feb 2011 17:50
by DsChAeK
Hi,

I have a TS http-stream with following audio tracks:

Code: Select all

2304 Saubere Effekte - [Deutsch] 2305 Saubere Effekte - [English] 2307 Saubere Effekte - [Deutsch]
If i duplicate the stream to another http-stream with following options:

Code: Select all

:sout=#duplicate{dst=std{access=http,mux=ts,dst=192.168.0.123:12345} :sout-ts-es-id-pid :ts-es-id-pid
The order of the new stream audio tracks is random:

Code: Select all

2304 Titel 1 - [Deutsch] 2307 Titel 2 - [Deutsch] 2305 Titel 3 - [English]
or

Code: Select all

2305 Titel 1 - [English] 2304 Titel 2 - [Deutsch] 2307 Titel 3 - [Deutsch]
Well, I can handle this by myself because I have the pids, and I can start playback with --audio-track-id=<integer> and use libvlc_audio_set_track() during playback.

But nevertheless I wanted to ask if this is meant to be this way?

With best regards,
DsChAeK

Re: Random audio tracks order in duplicated http stream, nor

Posted: 14 Feb 2011 18:11
by Jean-Baptiste Kempf
Well, it might be a bug...

Re: Random audio tracks order in duplicated http stream, nor

Posted: 21 Oct 2012 08:04
by cooldevelopments
Did anyone find a solution to this? It appears it is still a bug in v2.0.3

Re: Random audio tracks order in duplicated http stream, nor

Posted: 22 Oct 2012 11:25
by Jean-Baptiste Kempf
I have not seen any change on this.

Re: Random audio tracks order in duplicated http stream, nor

Posted: 23 Oct 2012 21:32
by cooldevelopments
Do you know if there is a property on the ActiveX control which exposes the Audio PID (At least then I can re-stream the track I want and not the random one placed in that position)

Re: Random audio tracks order in duplicated http stream, nor

Posted: 25 Oct 2012 13:22
by Jean-Baptiste Kempf
I don't think so. One would have to fix the TS muxer to order the PID.