[MPlayer-users] mplayer not finding TrueHD audio track in m2ts-stream

Rune Svendsen runesvend at gmail.com
Sat Feb 21 16:23:38 CET 2009


Hi

I agree with you that we should let the mplayer developers take their
time, it is - after all - only because of them that we even have this
great media player :).

I think your suggestion about creating a status page on which movies
work and which don't would be a good idea. A page containing the title
of the movie, the file name of the sample uploaded and which problems
one has encountered would be a good start. Perhaps this will also aid in
finding a solution for the problem as one sample might not be enough (or
there might be more than one bug in the handling of m2ts-files).


I just tested with the Blu-Ray movie "Body of Lies" and here mplayer is
able to find the TrueHD audio track fine (pid 4353). From the verbose
output of mplayer:

        ADDED VIDEO PID 4113, type: 31435657 stream n. 0
        Opened TS demuxer, audio: ffffffff(pid 4353), video:
        31435657(pid 0)...POS=0, PROBE=0
        Searching for VC1 sequence header... COLLECT_SECTION, start: 64,
        size: 184, collected: 0
        SKIP: 0+1, TID: 0, TLEN: 17, COLLECTED: 184
        PARSE_PAT: section_len: 17, section 0/0
        PROG: 0 (1-th of 2), PMT: 31
        PROG: 1 (2-th of 2), PMT: 256
        COLLECT_SECTION, start: 64, size: 184, collected: 0
        SKIP: 0+1, TID: 2, TLEN: 170, COLLECTED: 184
        FILL_PMT(prog=1), PMT_len: 184, IS_START: 64, TS_PID: 256,
        SIZE=184, M=0, ES_CNT=13, IDX=0, PMT_PTR=0x951f5a0
        PROG DESCR, TAG=5, LEN=4(4)
        PROG DESCR, TAG=5, LEN=4(4)
        ...descr id: 0x5, len=6
        PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x1011 (4113),
        type=0x31435657, ES_DESCR_LENGTH: 8, bytes left: 132
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x1100 (4352),
        type=0x2000, ES_DESCR_LENGTH: 12, bytes left: 115
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 2), STREAM: 2, FOUND pid=0x1101 (4353),
        type=0xffffffff, ES_DESCR_LENGTH: 12, bytes left: 98
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 3), STREAM: 3, FOUND pid=0x1102 (4354),
        type=0x2000, ES_DESCR_LENGTH: 12, bytes left: 81
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 4), STREAM: 4, FOUND pid=0x1103 (4355),
        type=0x2000, ES_DESCR_LENGTH: 12, bytes left: 64
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 5), STREAM: 5, FOUND pid=0x1104 (4356),
        type=0x2000, ES_DESCR_LENGTH: 12, bytes left: 47
        ...descr id: 0x5, len=4
        ...descr id: 0x81, len=4
        PARSE_PMT(1 INDEX 6), STREAM: 6, FOUND pid=0x1105 (4357),
        type=0x2000, ES_DESCR_LENGTH: 12, bytes left: 30

But I'm unfortunately not able to play the audio track by adding the
"-aid 4353" option. I _think_ this is because the "type" of what is the
TrueHD audio stream is reported to be 0xffffffff by mplayers demuxer,
and so is not considered an audio stream (this is the same type that the
subtitle streams are reported to have by mplayer). It seems like it is
skipped:

	Audio: no sound
	Freeing 0 unused audio chunks.
	Starting playback...
	==> Found audio stream: 0
	
	ADDED AUDIO PID 4352, type: 2000 stream n. 0
	==> Found audio stream: 1
	
	ADDED AUDIO PID 4354, type: 2000 stream n. 1
	==> Found audio stream: 2
	
	ADDED AUDIO PID 4355, type: 2000 stream n. 2
	==> Found audio stream: 3
	
	ADDED AUDIO PID 4356, type: 2000 stream n. 3
	==> Found audio stream: 4
	
	ADDED AUDIO PID 4357, type: 2000 stream n. 4

This is what the program "tsMuxeR" reports about the m2ts-file in
question:

        rune at runescomp:~/Desktop/tsMuxeR_1.7.3(b)$ ./tsMuxeR /media/bigdisk/bd-bol/BDMV/STREAM/00000.m2ts
        SmartLabs tsMuxeR.  Version 1.7.3(b) http://www.smlabs.net
        Track ID:    4113
        Stream type: VC-1
        Stream ID:   V_MS/VFW/WVC1
        Stream info: Profile: Advanced at 3 Resolution: 1920:1080p  Frame
        rate: 23.976
        Stream lang: 
        Track ID:    4352
        Stream type: AC3
        Stream ID:   A_AC3
        Stream info: Bitrate: 640Kbps Sample Rate: 48KHz Channels: 6
        Stream lang: 
        Track ID:    4353
        Stream type: TRUE-HD
        Stream ID:   A_AC3
        Stream info: Bitrate: 640Kbps AC3 core + HD data. Sample Rate:
        48KHz Channels: 6
        Stream lang: 
        Track ID:    4354
        Stream type: AC3
        Stream ID:   A_AC3
        Stream info: Bitrate: 448Kbps Sample Rate: 48KHz Channels: 6
        Stream lang: 
        Track ID:    4355
        Stream type: AC3
        Stream ID:   A_AC3
        Stream info: Bitrate: 448Kbps Sample Rate: 48KHz Channels: 6
        Stream lang: 
        Track ID:    4356
        Stream type: AC3
        Stream ID:   A_AC3
        Stream info: Bitrate: 448Kbps Sample Rate: 48KHz Channels: 6
        Stream lang: 
        Track ID:    4357
        Stream type: AC3
        Stream ID:   A_AC3
        Stream info: Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
        Stream lang: 
        Track ID:    4608
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #0
        Stream lang: 
        Track ID:    4609
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #1
        Stream lang: 
        Track ID:    4610
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #2
        Stream lang: 
        Track ID:    4611
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #3
        Stream lang: 
        Track ID:    4612
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #4
        Stream lang: 
        Track ID:    4613
        Stream type: PGS
        Stream ID:   S_HDMV/PGS
        Stream info: Presentation Graphic Stream #5
        Stream lang: 

I have uploaded the first 20 MB of the file in question (called
"bol-sample-new.m2ts") to the mplayer-ftp's incoming directory.


Regards,

Rune


> 2009/1/18 Rune Svendsen <runesvend at gmail.com>:
> 
> >Hello
> >
> >I'm trying to get mplayer to play the TrueHD audio track - using the
> >ffmlp audio codec - in a file from a Blu-Ray disc. mplayer correctly
> >recognizes the AC3 audio tracks within the file (IDs 4352, 4354, 4355
> >and 4356), but it fails to find the TrueHD audio track (ID 4353).
> >
> >What to do?
> 
> I've been uploading samples from a few bluray discs that mplayer can't
> find the main english audio track for (e.g. Iron Man comes to
> mind)..... I've stopped doing that, because I've decided that what
> I've uploaded is enough for them to do their work, and I don't want to
> hassle them seeing how they aren't being paid for it or anything.
> 
> However, a status page on the main site saying which Blu-Ray movies
> play and which don't would be nice - would cut down on queries on the
> mailling list, and allow a central place for people to register which
> movies they're most interested in being made to work, as well as send
> in samples for! :-)
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list