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

Zane Tu zanetu at gmail.com
Sat Oct 2 04:43:31 CEST 2010


On Fri, Oct 1, 2010 at 5:45 PM, Dâniel Fraga <fragabr at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

All right... Almost worked for me, except that the video played faster than
normal at the beginning.

mplayer ~/download/dts-starts-later-than-ac3.m2ts -demuxer lavf -aid 0


MPlayer SVN-r32355-4.4.1 (C) 2000-2010 MPlayer Team

mplayer: could not connect to socket

mplayer: No such file or directory

Failed to open LIRC support. You will not be able to use your remote
control.

Playing /home/zanetu/download/dts-starts-later-than-ac3.m2ts.
libavformat file format detected.
[NULL @ 0x35caec0] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x35cbf20] start time is not set in av_estimate_timings_from_pts
[NULL @ 0x35cc750] start time is not set in av_estimate_timings_from_pts
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0
[lavf] stream 2: audio (ac3), -aid 1
[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 filter: [ass auto=1]
[ass] auto-open
==========================================================================
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, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
A: 646.0 V: 602.1 A-V: 43.862 ct:  5.100   0/  0 32% 10%  1.0% 50 0


           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the
lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 649.1 V: 610.3 A-V: 38.852 ct: 24.700   0/  0 30%  8%  0.6% 246 0

Exiting... (Quit)


Regards,
Zane


More information about the MPlayer-users mailing list