I just tried to use AudioPIDPref for the first time without any luck. I ripped a DVD to an m4v file using HandBrake and included the main audio track and the commentary. Both tracks are encoded as AAC and I can switch between them using VLC, but I can't figure out how to get the roVideoScreen to choose one or the other. I always get the main audio, even though it's the first audio track and not the last. The documentation for AudioPIDPref specifies that the last audio track will be selected if AudioPIDPref isn't set. MediaInfo shows:
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1h 40mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 252 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 115 MiB (7%)
Language : English
Encoded date : UTC 2012-07-01 21:55:19
Tagged date : UTC 2012-07-01 22:08:59
Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 1h 40mn
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 223 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 115 MiB (7%)
Language : English
Encoded date : UTC 2012-07-01 21:55:19
Tagged date : UTC 2012-07-01 22:08:59
I tried using the ID it shows (2 or 3) as AudioPIDPref, but it has no effect.
Has anyone been able to do something like this or have any insight?
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.