[MPlayer-users] MPlayer cannot detect TrueHD audio tracks in m2ts blu-ray rip
Dâniel Fraga
fragabr at gmail.com
Tue Jul 14 08:04:06 CEST 2009
On Mon, 13 Jul 2009 20:36:24 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Dâniel Fraga <fragabr <at> gmail.com> writes:
>
> > VIDEO: [HDMV] 1920x1080 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
>
> Please try latest svn before reporting problems.
> (And always post full, uncut output of mplayer call when reporting problems!)
I always use latest svn. In this case I tested with 29418 svn
revision:
MPlayer SVN-r29418-4.4.0 (C) 2000-2009 MPlayer Team
133 audio & 282 video codecs
Playing 00262.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO A52(pid=4355) NO SUBS (yet)! PROGRAM N. 1
FPS seems to be: 23.976025
SUB: Added subtitle file (1): /home/fraga/sub/setevidas.srt
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, s16le, 640.0 kbit/13.89% (ratio: 80000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[VO_XV] Shared memory not supported
Reverting to normal Xv.
A: 14.5 V: 14.4 A-V: 0.022 ct: -0.015 68/ 68 34% 15% 3.9% 0 0
Exiting... (Quit)
***
Notice that MPlayer chooses AUDIO PID 4355 (wrong language).
Here is the relevant output with -v option showing how many AUDIO PIDs MPlayer can detect:
==> Found audio stream: 0
ADDED AUDIO PID 4355, type: 2000 stream n. 0
==> Found audio stream: 1
ADDED AUDIO PID 4353, type: 2000 stream n. 1
==> Found audio stream: 2
ADDED AUDIO PID 4356, type: 2000 stream n. 2
That's all MPlayer can detect. Just the plain AC3 audio tracks.
If you want all the -v output I can send, but it's huge, so I'm afraid there's an
attachment size limit here, even if I compress it.
***
The correct AUDIO PID would be 4352 which MPlayer doesn't even detect. The proof is given
by tsmuxer output (which detects correctly all audio PIDs:
SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Track ID: 4113
Stream type: H.264
Stream ID: V_MPEG4/ISO/AVC
Stream info: Profile: High at 4.1 Resolution: 1920:1080p Frame rate: 23.976
Stream lang:
Track ID: 4352
Stream type: TRUE-HD
Stream ID: A_AC3
Stream info: AC3 core+TRUE-HD. Peak bitrate: 2475Kbps (core 640Kbps) Sample Rate: 48KHz Channels: 6
Stream lang:
Track ID: 4353
Stream type: AC3
Stream ID: A_AC3
Stream info: Bitrate: 640Kbps Sample Rate: 48KHz Channels: 6
Stream lang:
Track ID: 4354
Stream type: TRUE-HD
Stream ID: A_AC3
Stream info: AC3 core+TRUE-HD. Peak bitrate: 2574Kbps (core 640Kbps) Sample Rate: 48KHz Channels: 6
Stream lang:
Track ID: 4355
Stream type: AC3
Stream ID: A_AC3
Stream info: Bitrate: 640Kbps Sample Rate: 48KHz Channels: 6
Stream lang:
Track ID: 4356
Stream type: AC3
Stream ID: A_AC3
Stream info: Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
Stream lang:
***
So, as you can see, MPlayer has a problem detecting only the "TRUE-HD" stream types. If I convert AUDIO
track 4352 to AC3, MPlayer will detect and play it fine.
The correct behaviour would be to use audio track 4352 (English) by default and not 4355 (Thai). The others
are: 4353 (Spanish) and 4356 (Director's comment). And there is another TRUE-HD track (4354) which is Portuguese.
So, to sum up, there are 5 audio tracks, but MPlayer can detect only 3, which are the AC3 ones, ignoring
the remaining two TRUE-HD tracks:
4352: TRUE-HD (English)
4353: AC3 (Spanish)
4354: TRUE-HD (Portuguese)
4355: AC3 (Thai)
4356: AC3 (English, Director's comment)
MPlayer only "sees" 3: 4353, 4355 and 4356. I know it because, besides the output, I can cycle through
the available audio tracks and it give me only those three ones.
Thank you. If you need more information or some test, just ask.
--
Linux 2.6.30: Man-Eating Seals of Antiquity
More information about the MPlayer-users
mailing list