[MPlayer-users] M2TS file with broken audio track... (sample uploaded)

Dâniel Fraga fragabr at gmail.com
Fri Oct 1 23:45:44 CEST 2010


On Wed, 29 Sep 2010 02:15:48 -0400
Zane Tu <zanetu at gmail.com> wrote:

> Try the following workaround.
> "mplayer -aid 4352 -demuxer lavf uploaded-file.m2ts"
> 
> Reference:
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-January/078935.html

	Ok, but the correct would be using 1 instead of 4352 since lavf demuxer uses
a different numbering scheme:

mplayer -aid 1 -demuxer lavf 00002.m2ts 
MPlayer SVN-r32421-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs

Playing 00002.m2ts.
libavformat file format detected.
[NULL @ 0x2e8dd30] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x2e8ed10] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x2e8f500] start time is not set in av_estimate_timings_from_pts
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 2: audio (ac3), -aid 0
[lavf] stream 3: subtitle (pgssub), -sid 0
[lavf] stream 4: subtitle (pgssub), -sid 1
LAVF: Program 1 
VIDEO:  [H264]  1920x1080  0bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 
A: 615.0 V: 615.0 A-V: -0.003 ct: -0.180   0/  0 19%  4%  0.6% 0 0 

Exiting... (Quit)

	***

	It just ignores the stream "1" and plays audio stream 2.


-- 
Linux 2.6.34: Sheep on Meth




More information about the MPlayer-users mailing list