Page 1 of 1

[SOLVED] MPEG-4 AAC decoder

PostPosted: May 16th, '12, 19:50
by RogerJ
Apologies If I've missed something. Currently running Mageia2 RC and liking most of it. One niggle is I can't get sound working with video including using Xine,
VLC and Kaffiene. The error messages require an MPEG-4 AAC decoder plugin. Nothing doing in the repository. Any ideas on how to get this? Happy to wait until the 22nd though if this is going to be straightforward then. ;)

Re: MPEG-4 AAC decoder

PostPosted: May 17th, '12, 09:07
by doktor5000
Please show the output of
Code: Select all
rpm -qa | grep -i faad

What you want is probably:
Code: Select all
[doktor5000@Mageia1 ~]$ rpm -qi lib64faad2_2-2.7-2.mga1
Name        : lib64faad2_2                 Relocations: (not relocatable)
Version     : 2.7                               Vendor: Mageia.Org
Release     : 2.mga1                        Build Date: Di 19 Apr 2011 13:22:50 CEST
Install Date: Do 01 Mär 2012 21:12:32 CET      Build Host: jonund
Group       : System/Libraries              Source RPM: faad2-2.7-2.mga1.src.rpm
Size        : 273440                           License: GPL
Signature   : RSA/SHA1, Di 19 Apr 2011 13:24:16 CEST, Key ID b742fa8b80420f66
Packager    : Mageia Team <http://www.mageia.org>
URL         : http://www.audiocoding.com
Summary     : Freeware Advanced Audio Decoder shared library
Description :
FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
completely written from scratch. FAAD 2 is licensed under the GPL.

This package contains the shared library needed by programs linked to
libfaad.

Re: MPEG-4 AAC decoder

PostPosted: May 24th, '12, 19:37
by RogerJ
Apologies for tardy reply. All I got was libfaad2_2-2.7-2. Moving on to install Mageia 2 DVD to see if I have better luck.

Re: MPEG-4 AAC decoder

PostPosted: May 26th, '12, 02:44
by doktor5000
RogerJ wrote:All I got was libfaad2_2-2.7-2.

And what was the problem with it? And why do you want to move to Mageia 2 for better luck?

Re: MPEG-4 AAC decoder

PostPosted: May 27th, '12, 11:18
by RogerJ
The problem is that when I play an mp4 file I'm getting a pop up saying an MPEG-4 AAC decoder is required. Clicking on the search button invites me to install the following:

gstreamer0.10-faad-0.10.22-3plf-plf2011.0 (32-bit)
gstreamer0.10-faad-0.10.22-4plf-plf2011.0 (32-bit)
gstreamer0.10-faad-0.10.21-3plf-plf2011.0 (32-bit)

Clicking for installation results in video playing without sound. (MOV files are playing with sound OK so not a driver issue). When I go to play another mp4 the same installation dialogue stats again suggesting the plf codecs are not installing.

I'm therefore thinking something is broken preventing the installation and that a fresh install might be appropriate and of course Mageia2 is now available.....................

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 00:48
by doktor5000
RogerJ wrote:The problem is that when I play an mp4 file I'm getting a pop up saying an MPEG-4 AAC decoder is required. Clicking on the search button invites me to install the following:

gstreamer0.10-faad-0.10.22-3plf-plf2011.0 (32-bit)
gstreamer0.10-faad-0.10.22-4plf-plf2011.0 (32-bit)
gstreamer0.10-faad-0.10.21-3plf-plf2011.0 (32-bit)


You recognize those are Mandriva 2011.0 packages, and those might not work on Mageia at all?

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 05:51
by mcordv
Same problem here. I found that playing video mkv file (with AAC audio file in it) with Dragon Player is reproduced well, but fails with mplayer and vlc for the same error above. I extracted the audio but I can't convert to other formats for the same problem. This is the output of mplayer:

Code: Select all
libavformat version 53.32.100 (external)
libavformat file format detected.
[aac @ 0xb706b180]decoding for stream 0 failed
[aac @ 0xb706b180]Could not find codec parameters (Audio: aac, 0 channels, 162 kb/s)
[aac @ 0xb706b180]Estimating duration from bitrate, this may be inaccurate
LAVF_header: av_find_stream_info() failed
AAC file format detected.
Load subtitles in ./
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 53.61.100 (external)
Cannot find codec 'aac' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [faad] (afm=faad) not available.
Enable it at compilation.
Opening audio decoder: [spdif] libavformat/spdifenc audio pass-through decoder.
Unknown/missing audio format -> no sound
ADecoder init failed :(
Cannot find codec for audio format 0x4134504D.
Audio: no sound
Video: no video


Exiting... (End of file)


Sorry for my bad english :)

Thank you

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 14:06
by doktor5000
Please show the output of
Code: Select all
rpm -qa | grep tainted

Also which error above are you exactly referring to?

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 15:22
by mcordv
Error above:
RogerJ wrote:Apologies If I've missed something. One niggle is I can't get sound working with video including using Xine,
VLC and Kaffiene. The error messages require an MPEG-4 AAC decoder plugin. Nothing doing in the repository. Any ideas on how to get this?

jejeje
rpm -qa | grep tainted
Code: Select all
libswscaler0-0.6.5-0.1.mga1.tainted
libavformats52-0.6.5-0.1.mga1.tainted
gstreamer0.10-xvid-0.10.21-3.mga1.tainted
gstreamer0.10-lame-0.10.17-2.mga1.tainted
libvo-amrwbenc0-0.1.1-2.mga1.tainted
libpostproc51-0.6.5-0.1.mga1.tainted
gstreamer0.10-x264-0.10.17-2.mga1.tainted
libavutil50-0.6.5-0.1.mga1.tainted
libffmpeg52-0.6.5-0.1.mga1.tainted
gstreamer0.10-amrnb-0.10.17-2.mga1.tainted
gstreamer0.10-amrwbdec-0.10.17-2.mga1.tainted
gstreamer0.10-faad-0.10.21-3.mga1.tainted
libvo-aacenc0-0.1.1-2.mga1.tainted


I upgraded from Mageia 1 ...

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 20:22
by doktor5000
VLC will surely not ask for an MPEG-4 AAC decoder plugin. Please show the output of
Code: Select all
rpm -qa | grep faad

I can't help you with Kaffeine or Xine though.

Re: MPEG-4 AAC decoder

PostPosted: May 28th, '12, 23:44
by mcordv
rpm -qa | grep faad:
Code: Select all
libfaad2_2-2.7-2.mga1
gstreamer0.10-faad-0.10.21-3.mga1.tainted
faad2-2.7-2.mga1


I must say that the problem only occurs when I'm playing videos with mplayer or vlc. Thanks

Re: MPEG-4 AAC decoder

PostPosted: May 29th, '12, 00:10
by doktor5000
Ahh, you are still missing at least vlc from tainted, also mplayer, that might explain the problem. Please show the output of
Code: Select all
urpmq --list-media active

Re: MPEG-4 AAC decoder

PostPosted: May 29th, '12, 02:59
by mcordv
doktor5000 wrote:Ahh, you are still missing at least vlc from tainted, also mplayer, that might explain the problem. Please show the output of
Code: Select all
urpmq --list-media active


I thought so... Can you help me to fix it?

urpmq --list-media active:

Code: Select all
Core Release
Core Updates
Core Backports
Nonfree Release
Nonfree Updates
Nonfree Backports
Tainted Release
Tainted Updates
Tainted Backports


Thanks

Re: MPEG-4 AAC decoder

PostPosted: May 29th, '12, 21:49
by doktor5000
Just do the following as root to disable backports and do a full update:
Code: Select all
urpmi.update --ignore backports

Code: Select all
urpmi --auto-update


And if there are some problems, just post the whole outputfrom the second command here.
If it goes through, try again to play your AAC audio file via VLC.

Re: MPEG-4 AAC decoder

PostPosted: May 30th, '12, 14:26
by mcordv
doktor5000 wrote:Just do the following as root to disable backports and do a full update:
Code: Select all
urpmi.update --ignore backports

Code: Select all
urpmi --auto-update


And if there are some problems, just post the whole outputfrom the second command here.
If it goes through, try again to play your AAC audio file via VLC.

Ok, fixed... Muchas gracias :D

Re: MPEG-4 AAC decoder

PostPosted: Jul 15th, '14, 16:20
by Paskus
Hi, i just had the same problem and i want to thank to Doktor5000.
I had Tainted sources NOT allowed and after i did allow them and used
Code: Select all
    urpmi --auto-update 
with backports disabled, AAC audio in MP4 video just started to work!
Thanks again!

EDIT: i have Mageia4 64bit

MPEG-4 AAC decoder

PostPosted: Feb 13th, '15, 11:00
by noah
i have Mageia 4.1 am failing to get audio output (sound) when playing the mp4 files
pop up requesting installation of MPEG-4 AAC decoder shows up

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 13th, '15, 21:31
by doktor5000
And which of the instructions did you follow already, and what media player and desktop environment do you use?
What about the outputs requested in this thread?

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 13th, '15, 23:05
by doktor5000
noah wrote:Am experiencing problems with mp4 video files when am playing the file .
there is no sound and a message pop up No MPEG-4 ACC decoder
i have installed Mageia 4.1
i have tried using most of the commands from the forum its not working

Sorry, but if you do not even provide information what media player you're using, can't help you further.

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 14th, '15, 17:00
by noah
Am using vlc media player
Dragon player
SMplayer
Mplayer
GNOME Mplayer
Enqueue in SMplayer and
Videos

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 14th, '15, 19:06
by doktor5000
Please show the outputs of
Code: Select all
rpm -qa | grep faad
rpm -qa | grep tainted | sort
urpmq --list-media active --list-url

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 16th, '15, 11:34
by noah
Code: Select all
[root@localhost ~]# rpm -qa | grep faad
Code: Select all
[root@localhost ~]# rpm -qa | grep tainted | sort

Code: Select all
[root@localhost ~]# urpmq --list-media active --list-url
Core Release (distrib1) http://ftp.sun.ac.za/ftp/pub/mirrors/megia/distrib/4/i586/media/core/release
Core Updates (distrib3) http://ftp.sun.ac.za/ftp/pub/mirrors/megia/distrib/4/i586/media/core/updates
Core Updates Debug (distrib4) http://ftp.sun.ac.za/ftp/pub/mirrors/megia/distrib/4/i586/media/debug/core/updates
Nonfree Release (distrib11)  http://ftp.sun.ac.za/ftp/pub/mirrors/megia/distrib/4/i586/media/nonfree/release
Nonfree Updates (distrib13)  http://ftp.sun.ac.za/ftp/pub/mirrors/megia/distrib/4/i586/media/nonfree/updates

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 16th, '15, 12:04
by jkerr82508
You don't have the necessary repositories enabled:

https://wiki.mageia.org/en/Installing_a ... rrectly.3F

You need the tainted repositories for task-codec-audio. You should probably disable the "Core Updates Debug" repo.

After enabling the tainted repositories, in a root terminal execute
Code: Select all
urpmi --auto-update
to update to the tainted versions of applications.

Jim

Re: [SOLVED] MPEG-4 AAC decoder

PostPosted: Feb 17th, '15, 07:32
by noah
thanks it works