Fedora Linux Support Community & Resources Center
  #1  
Old 4th November 2005, 04:09 AM
leth Offline
Registered User
 
Join Date: Jul 2005
Posts: 2
MPlayer: MKV, h.264, and AAC; Fails to play.

Hi to the Fedora community, first of all, I'd like to say how much I like Fedora, I think the developers and the community are doing great things; I've had almost no problems with FC4.

Now, I'm experimenting the following issue. I've got a collection of mkv files, video encoded with h.264, audio with AAC, and ASS subtitle. The video plays flawlessly, the audio however fails to decode correctly. The terminal outputs the following:

Code:
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC/MPEG4/LC), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO:  [avc1]  640x480  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 16000 Hz, 2 ch, s16le, 128.0 kbit/25.00% (ratio: 16000->64000)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm:ffmpeg (FFmpeg H.264)
==========================================================================
Checking audio filter chain for 16000Hz/2ch/s16le -> 16000Hz/2ch/s16le...
AF_pre: 16000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 16000 Hz/2 channels/4 bpf/21844 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 16000Hz 2ch s16le (2 bps)
Building audio filter chain for 16000Hz/2ch/s16le -> 16000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
FAAD: Failed to decode frame: Pulse coding not allowed in short blocks
FAAD: Failed to decode frame: Quantised value out of range
FAAD: Failed to decode frame: Scalefactor out of range
FAAD: Failed to decode frame: Quantised value out of range
FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Gain control not yet implemented
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Pulse coding not allowed in short blocks
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of bitstream elements exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Maximum number of scalefactor bands exceeded
FAAD: Failed to decode frame: Gain control not yet implemented
And it continues for perhaps a thousand lines, until the audio is finally disabled:

Code:
Too many video packets in the buffer: (1284 in 8405273 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many video packets in the buffer: (1284 in 8405273 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
alsa-play: xrun of at least 0.008 msecs. resetting stream
alsa-space: xrun of at least 0.235 msecs. resetting stream23.2% 0 0
alsa-uninit: pcm closed   inf ct:    nan 602/602 51%  6% 94.6% 0 0
I've tried playing it with the -ni option, and with diferent ao and vo drivers, but it's still the same.

Also, I have no problem playing some AVI's with AAC audio (although those are not encoded with h.264), and I had no problem playing this same files with Arch, Ubuntu, and Gentoo.

Has anyone got any ideas on how to fix this?

Thanks =)
Reply With Quote
  #2  
Old 4th November 2005, 06:01 AM
daneel971 Offline
Registered User
 
Join Date: Jun 2005
Location: Italy
Posts: 1,108
Matroska and aac can sometimes show some issue - anyway, with my mplayer they work fine. For 6 channel aac you have to fix the channel order, because it is different from what alsa expects, but I don't think this has to do with your problem.
I suggest upgrading to the CVS version of mplayer, and be sure to use a recent codecs.conf.
Try mkvinfo on the files you can't play and on the files you can play, and see if it shows some difference in the audio part.
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
Reply With Quote
  #3  
Old 6th November 2005, 05:34 AM
leth Offline
Registered User
 
Join Date: Jul 2005
Posts: 2
Thanks for the suggestions, I'll try the CVS version.

And about the files, I think I didn't explained myself correctly (my english is a little bit rusty, sorry). I can't play any of the MKV files, which do work, since I could play them with Arch, Ubuntu, and Gentoo. I can, however, play AVI files with AAC audio, so it must be an issue with the combination of AAC and the MKV container.
Reply With Quote
Reply

Tags
aac, fails, h264, mkv, mplayer, play

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer Won't Play DVD T3256 Using Fedora 4 14th January 2009 12:10 PM
MPlayer Won't Play a DVD meh101 Using Fedora 0 9th February 2008 09:25 PM
I have installed the mplayer,I can play the *.rm file,but can not play the online rm first007boy Using Fedora 1 20th March 2007 02:42 AM
mplayer can't play rm lch3920126 Using Fedora 1 3rd September 2006 12:28 PM
Mplayer GUI does not play a divx .avi that Mplayer command plays just fine davmar Using Fedora 2 16th January 2005 01:25 AM


Current GMT-time: 07:54 (Saturday, 20-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat