greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010
10:29 AM
AudioPIDPref
Does anyone know the correct usage of the tag - AudioPIDPref ?
What should the value be ? How do you set the video's audio track ?
If I just put in a value of 999, would it always select the last track ?
What should the value be ? How do you set the video's audio track ?
If I just put in a value of 999, would it always select the last track ?
4 REPLIES 4

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010
12:52 PM
Re: AudioPIDPref
By default, we choose the last audio stream.
If you know the PIDs of the different audio streams, you can select a particular audio streamin with the AudioPIDPref content meta data parameter.
You would have to know what the PIDs are beforehand (you could specify them when encoding your content).
--Kevin
If you know the PIDs of the different audio streams, you can select a particular audio streamin with the AudioPIDPref content meta data parameter.
You would have to know what the PIDs are beforehand (you could specify them when encoding your content).
--Kevin
greubel
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010
04:26 PM
Re: AudioPIDPref
My channel just serves "whatever" to the Roku. I don't know what the user is trying to play.
Is there an easy way to detect what audio tracks exist and what they are ?
I found this info.
Audio PID (1st pair) - 0x01E2 (482)
Audio PID (2nd pair) optional - 0x01E3 (483)
Audio PID (3rd pair) optional - 0x01E4 (484)
The problem is getting 5.1 to be selected. I can detect if the Roku is set for 5.1 but how do I select the correct track ?
Is there an easy way to detect what audio tracks exist and what they are ?
I found this info.
Audio PID (1st pair) - 0x01E2 (482)
Audio PID (2nd pair) optional - 0x01E3 (483)
Audio PID (3rd pair) optional - 0x01E4 (484)
The problem is getting 5.1 to be selected. I can detect if the Roku is set for 5.1 but how do I select the correct track ?

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010
04:29 PM
Re: AudioPIDPref
We do not provide the ability to query the stream for available PIDs. You would have to know the PIDs before setting the values. Other content providers have provided the available PIDs as part of the xml feeds.
--Kevin
--Kevin

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2010
04:38 PM
Re: AudioPIDPref
ffmpeg will list the PIDs in a TS file.
--Mark
--Mark