[MPlayer-users] M2TS from Blu-ray, get audio (and then some more)

Alexander Roalter alex at roalter.it
Sun Jan 29 00:45:11 CET 2012

On the Sucker Punch Blu-ray, there's the following scenario:

The movie is presented once as the normal feature (title 4) and once as 
Maximum Movie mode (title 5), with the director walking in and talking 
about how certain scenes were made.

Title 4 plays without problems, but with title 5, the audio is 
erroneously detected as TrueHD. Giving -ausid 0x71 helps, and it plays 
without problems.

Now, there's an alternate video stream present (default is 4113) with 
the id 6912. This video stream starts in all black, but in certain 
scenes, it seems to be the so-called picture-in-picture commentary. What 
I lack is the possibility to find any sound for it, with neither the 
default nor the lavf demuxer.

The lavf demuxer shows

[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0
[lavf] stream 2: subtitle (pgssub), -sid 0
[lavf] stream 3: subtitle (pgssub), -sid 1
[lavf] stream 4: subtitle (pgssub), -sid 2
[lavf] stream 5: subtitle (pgssub), -sid 3
[lavf] stream 6: subtitle (pgssub), -sid 4
[lavf] stream 7: subtitle (pgssub), -sid 5
[lavf] stream 8: subtitle (pgssub), -sid 6
[lavf] stream 9: subtitle (pgssub), -sid 7
[lavf] stream 10: subtitle (pgssub), -sid 8
[lavf] stream 11: subtitle (pgssub), -sid 9
[lavf] stream 12: audio (dca), -aid 1
[lavf] stream 13: video (h264), -vid 1

but -aid 1 is not detected correctly and then defaults to AC3/DTS 
passthrough (with lavf) or simply skipped with the normal demuxer, as it 

Unsupported AVSampleFormat -1
Unsupported AVSampleFormat -1

Too many video packets in the buffer: (351 in 33630810 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

I uploaded 50MB parts of each title (4 and 5) with the name 
SP-titleX.m2ts into incoming.

Perhaps someone can point me in the right direction... either a 
different demuxer or a different program ID or whatever.
Or is it possible the audio (and its stream) only appears later in the 
movie when there's actually any action on that channel? As it is the 
case with some subtitles for DVD, which aren't all available straight 
from the beginning... In that case, the 50MB samples are probably too short.

By the way: what would it take to play both video streams 
simultaneously? As in 'picture-in-picture' ?


More information about the MPlayer-users mailing list