[MPlayer-users] Bug with AltiVec and 5.1 AC3 audio

KURAAKU Deibiddo kuraaku.deibiddo at gmail.com
Fri Jul 6 00:45:49 CEST 2007


With external revision 9492/Mplayer revision 23722:

  Byte order: big-endian
  Optimizing for: 970 altivec

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: ftp tv libdvdcss(internal) dvdread(internal) vcd network
    Codecs: qtx x264 xvid libdv libavcodec real xanim faad2 faac libmpeg2
liba52 mp3lib libtheora speex tremor(internal) libmad liblzo gif
    Audio output: openal esd sdl mpegpes(file) macosx
    Video output: md5sum sdl gif89a pnm jpeg png mpegpes(file) opengl xv x11
xover tga macosx quartz
    Audio filters:
  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-v4l2 tv-v4l1 live555 cddb cdda dvb
smb
    Codecs: libamr_wb libamr_nb win32 musepack toolame twolame
    Audio output: sun alsa jack polyp arts oss ivtv dxr2 nas
    Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2 vesa fbdev
svga caca aa ggi xmga mga dga xvmc dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx

    Audio filters: ladspa

This is the result of trying to play a 5.1 AC3 file:

Playing freedom_prologue_sample.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "[AF-F&Y-F] Freedom Prologue",
-vid 0
[mkv] Track ID 2: audio (A_AC3) "6ch AC3 Japanese Audio", -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS) "ASS English Subtitle", -sid 0,
-slang eng
[mkv] Will play video track 1.
[mkv] Will display subtitle track 3.
Matroska file format detected.
VIDEO:  [avc1]  720x480  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
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 AltiVec optimized IMDCT transform
Checking for AltiVec resampler : 0x00000017, 6
Unsupported flags: 0x00000017 (6 channels)
No accelerated resampler found
AUDIO: 48000 Hz, 6 ch, s16be, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [macosx] 48000Hz 6ch s16be (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (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: [quartz] 720x480 => 854x480 Planar YV12  [fs]

The video and subs play beautifully, the audio does not play all of the
channels.  I've uploaded freedom_prologue_sample.mkv, and the missing
channels are easily apparent @ 0:40 (subtitles but inaudible speech).

Hope this helps.

On 7/5/07, KURAAKU Deibiddo <kuraaku.deibiddo at gmail.com> wrote:
>
> Previously, I did upload a sample of a file with the same issue (a couple
> of days ago), I believe the filename is
> [V-A]_Kenran_Butou_Sai_-_The_Mars_Daybreak_-_01-sample.mkv (unfortunately,
> the FTP is not letting me list that directory, so I cannot confirm this).
>
> It does appear that this file is actually 2-channel; after problems with
> other > 2-channel files in MPlayer (they do not play all of the channels
> properly through the optical out on my PowerMac G5), I assumed that this was
> a new error handling attempt for > 2-channel audio on Mac OS X.  Sorry for
> the confusion.
>
> I could provide samples of other files that fail at playback of >
> 2-channels on Mac OS X if you'd like.  I wish MPlayer handled audio on Mac
> as well as VLC does; for the subtitle support and command-line version, as
> well as the config options to auto-play certain tracks, I really like
> MPlayer.
>
> Thanks.
>
> On 7/3/07, Guillaume POIRIER <poirierg at gmail.com> wrote:
> >
> > Hi,
> >
> > On 7/3/07, KURAAKU Deibiddo <kuraaku.deibiddo at gmail.com> wrote:
> > > With the latest SVN of MPlayer (libavutil / libavcodec / libavformat /
> > > libpostproc revision 9467, MPlayer revision 23713), I get the
> > following
> > > errors when playing video with 5.1 audio:
> >
> > I think the problem is not just the fact that the audio is 5.1: All
> > the 5.1 soundtracks of my DVDs do decode correctly.
> >
> >
> > > Playing
> > [V-A]_Kenran_Butou_Sai_-_The_Mars_Daybreak_-_02_[A4822E32].mkv.
> > > [mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Video", -vid 0
> > > [mkv] Track ID 2: audio (A_AC3) "Japanese Audio", -aid 0, -alang jpn
> > > [mkv] Track ID 3: audio (A_AAC/MPEG4/LC/SBR) "English Audio", -aid 1,
> > -alang
> > > eng
> > > [mkv] Track ID 4: subtitles (S_TEXT/SSA) "Styled Subs", -sid 0, -slang
> > eng
> > > [mkv] Track ID 5: subtitles (S_TEXT/UTF8) "Unstyled Subs", -sid 1,
> > -slang
> > > eng
> > > [mkv] Will play video track 1.
> > > [mkv] Will display subtitle track 4.
> > > Matroska file format detected.
> > > VIDEO:  [avc1]  720x480  24bpp  23.975 fps    0.0 kbps ( 0.0 kbyte/s)
> > > dvdsublang...v a kenran butou sai the mars daybreak 02 a4822e32 en us
> > eng
> > > english und
> > > [ass] auto-open
> > > [ass] Init
> > > [ass] Updating font cache.
> > >
> > ==========================================================================
> > > 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 AltiVec optimized IMDCT transform
> > > Checking for AltiVec resampler : 0x0000000a, 6
> > > Unimplemented resampler for mode 0xA -> 6 channels conversion -
> > Contact
> > > MPlayer developers!
> > > Checking for AltiVec resampler : 0x0000000a, 5
> > > Unimplemented resampler for mode 0xA -> 5 channels conversion -
> > Contact
> > > MPlayer developers!
> > > Checking for AltiVec resampler : 0x0000000a, 4
> > > Unimplemented resampler for mode 0xA -> 4 channels conversion -
> > Contact
> > > MPlayer developers!
> > > Checking for AltiVec resampler : 0x0000000a, 3
> > > Unimplemented resampler for mode 0xA -> 3 channels conversion -
> > Contact
> > > MPlayer developers!
> > > Checking for AltiVec resampler : 0x0000000a, 2
> > > Using AltiVec optimized resampler
> > > AUDIO: 48000 Hz, 2 ch, s16be, 192.0 kbit/12.50% (ratio: 24000->192000)
> > > Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> > > AO: [macosx] 48000Hz 2ch s16be (2 bytes per sample)
> > > Starting playback...
> > > VDec: vo config request - 720 x 480 (preferred colorspace: Planar
> > YV12)
> > > VDec: using Planar YV12 as output csp (no 0)
> > > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> > > VO: [quartz] 720x480 => 720x540 Planar YV12  [fs]
> > >
> > > It will play the file, but down-samples it to 2 channels.  The error
> > message
> > > is generated here:
> > > http://svn.mplayerhq.hu/mplayer/trunk/liba52/resample.c?view=diff&r1=3909&r2=3910
> >
> >
> > Please upload your sample to ftp://upload.mplayerhq.hu/MPlayer/incoming/
> >
> > and I'll contact the author of this code so see what he thinks about it.
> >
> >
> > Guillaume
>
>
>



More information about the MPlayer-users mailing list