cant transcode x264 + AAC ffmpeg fixed

*nix specific usage questions
ccastro
Blank Cone
Blank Cone
Posts: 13
Joined: 12 May 2008 23:13

cant transcode x264 + AAC ffmpeg fixed

Postby ccastro » 22 Oct 2008 16:38

i am trying to stream an analog input, using x264 and AAC codecs, but it fails, i already fix ubuntu's ffmpeg and i can encode files with AAC using ffmpeg, but i cant do that with VLC, any ideas?

using VLC:

$ vlc pvr:///dev/video0 --sout '#transcode{width=320,height=140,venc=x264,vcodec=x264,vb=128,acodec=mp4a,ab=128,channels=2,samplerate=44100}:rtp{dst=192.168.254.251,sdp=http://192.168.254.176:8080/vlc.sdp}' vlc:quit

[00000377] ffmpeg encoder error: cannot find encoder MPEG AAC Audio

using ffmpeg:

$ ffmpeg -i Extremists.m4v -vcodec h264 -acodec aac lala.mp4
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-libvorbis --enable-libogg --enable-liba52 --enable-dc1394 --enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad --enable-libfaac --enable-xvid --enable-pthreads --enable-x264
libavutil version: 49.3.0
libavcodec version: 51.38.0
libavformat version: 51.10.0
built on Oct 21 2008 13:36:41, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Extremists.m4v':
Duration: 00:04:01.0, start: 0.000000, bitrate: 453 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 640x360, 29.97 fps(r)
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo
Output #0, mp4, to 'lala.mp4':
Stream #0.0: Video: h264, yuv420p, 640x360, q=2-31, 200 kb/s, 29.97 fps(c)
Stream #0.1: Audio: aac, 48000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h264 @ 0x849053c]width or height not divisible by 16 (640x360), compression will suffer.
[h264 @ 0x849053c]using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 Cache64
Press [q] to stop encoding

kernel:

$ uname -a
Linux video 2.6.24-19-server #1 SMP Wed Aug 20 23:54:28 UTC 2008 i686 GNU/Linux

thx in advance

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: cant transcode x264 + AAC ffmpeg fixed

Postby Jean-Baptiste Kempf » 22 Oct 2008 16:46

Your VLC isn't build against that FFmpeg
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ccastro
Blank Cone
Blank Cone
Posts: 13
Joined: 12 May 2008 23:13

Re: cant transcode x264 + AAC ffmpeg fixed

Postby ccastro » 22 Oct 2008 17:31

how can i fix it?

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: cant transcode x264 + AAC ffmpeg fixed

Postby xtophe » 23 Oct 2008 17:50

rebuild vlc
Xtophe

ccastro
Blank Cone
Blank Cone
Posts: 13
Joined: 12 May 2008 23:13

Re: cant transcode x264 + AAC ffmpeg fixed

Postby ccastro » 24 Oct 2008 16:16

thx, but that wasnt necesary. I was preparing my system to rebuild vlc, and after donwload and install build-deps, it works :D

xrd
New Cone
New Cone
Posts: 1
Joined: 29 Oct 2008 23:54

Re: cant transcode x264 + AAC ffmpeg fixed

Postby xrd » 30 Oct 2008 01:47

I just ran "sudo apt-get build-dep vlc". I quit vlc and then reopened it and when I try to select MP4A as the audio codec it still reports the same issue: "ffmpeg encoder error: Cannot find encoder MPEG AAC Audio." Is there anything else you did to enable this?

jankarlitos
Blank Cone
Blank Cone
Posts: 26
Joined: 23 Jan 2009 23:49

Re: cant transcode x264 + AAC ffmpeg fixed

Postby jankarlitos » 02 Dec 2009 00:43

Your VLC isn't build against that FFmpeg

I have the same problem (AAC Enabled in FFMPEG but not in VLC)

How can i build vlc against my new FFMPEG?

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: cant transcode x264 + AAC ffmpeg fixed

Postby Rémi Denis-Courmont » 02 Dec 2009 18:33

Sounds like a stripped version of FFMPEG without encoders. This is common in Linux distributions.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 51 guests