Ubuntu 9.10, VLC, streaming and AAC codec missing for ffmpeg
Posted: 30 Sep 2009 21:30
Hi guys,
I have problem with VLC not being able to stream via RTP protocol. I want to encode stream to mp3, h264 and AAC audio. While encoding video is just fine, VLC shouts at me that my FFMPEG installation is "crippled" . I guess ffmpeg package doesn't have AAC suport compiled in.
My command line is:
And error message printed out by VLC is:
FFMPEG says it was compiled with options:
Any ideas? Am I doing something wrong? Is only solution to re-compile ffmpeg with AAC support?
I have problem with VLC not being able to stream via RTP protocol. I want to encode stream to mp3, h264 and AAC audio. While encoding video is just fine, VLC shouts at me that my FFMPEG installation is "crippled" . I guess ffmpeg package doesn't have AAC suport compiled in.
My command line is:
Code: Select all
vlc -vvv -I rc v4l2:// :v4l2-adev=/dev/dsp :input-slave=oss:// --sout "#transcode{venc=x264{keyint=60},vcodec=x264,vb=50,scale=1,width=160,height=140,acodec=aac,ab=32,channels=2,samplerate=22050}:rtp{dst=XXX.XXX.XXX.XXX,port=5432,sdp=http://0.0.0.0:5050/vlc.sdp}"
Code: Select all
[0x22afce8] avcodec encoder debug: libavcodec initialized (interface 0x341400)
[0x22afce8] avcodec encoder error: cannot find encoder MPEG AAC Audio
*** Your FFMPEG installation is crippled. ***
*** Please check with your FFMPEG packager. ***
*** This is NOT a VLC media player issue. ***
[0x22afce8] main encoder error: Streaming / Transcoding failed
[0x22afce8] main encoder error: It seems your FFMPEG (libavcodec) installation lacks the following encoder:
MPEG AAC Audio.
If you don't know how to fix this, ask for support from your distribution.
This is not an error inside VLC media player.
Do not contact the VideoLAN project about this issue.
Code: Select all
FFmpeg version SVN-r19352-4:0.5+svn20090706-2ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5+svn20090706-2ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --extra-cflags=-I/build/buildd/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Aug 26 2009 09:45:20, gcc: 4.4.1
At least one output file must be specified