Hi,
Can you give me an example about how to use AMR audio encoding in VLC transcoding mentioned in this thread?
viewtopic.php?f=4&t=37261&start=0&st=0&sk=t&sd=a
Code: Select all
$ ./configure --enable-gpl --enable-pp --enable-pthreads --enable-libmp3lame --enable-libfaac --enable-libamr-nb --enable-libamr-wb
ERROR: libamrnb not found
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
Code: Select all
END /tmp/ffmpeg-conf--8271-.c
gcc -fomit-frame-pointer -pthread -E -o /tmp/ffmpeg-conf--8271-.o /tmp/ffmpeg-conf--8271-.c
/tmp/ffmpeg-conf--8271-.c:1:30: error: amrnb/interf_dec.h: No such file or directory
ERROR: libamrnb not found
Code: Select all
./configure --enable-gpl --enable-pp --enable-pthreads --enable-libmp3lame --enable-libfaac --enable-libamr-nb --enable-libamr-wb
make
Code: Select all
./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --enable-qt --enable-wxwindows --enable-ncurses --enable-release --with-ffmpeg-tree=./extras/ffmpeg
Code: Select all
[[32;1m00000001[0m] main libvlc debug: [0mchecking builtin modules[0m
[[32;1m00000001[0m] main libvlc debug: [0mchecking plugin modules[0m
[[32;1m00000001[0m] main libvlc debug: [0mloading plugins cache file /home/qtss/.vlc/cache/plugins-04041e.dat[0m
[[32;1m00000001[0m] main libvlc warning: [33;1mcould not open plugins cache file /home/qtss/.vlc/cache/plugins-04041e.dat for reading[0m
[[32;1m00000001[0m] main libvlc debug: [0mrecursively browsing `modules'[0m
[[32;1m00000001[0m] main libvlc debug: [0mrecursively browsing `/home/yinglcs/vlc-bin/lib/vlc'[0m
0 1 0 0 0 0 0B 0 2007-07-24 22:11:02
[[32;1m00000001[0m] main libvlc warning: [33;1mcannot load module `/home/yinglcs/vlc-bin/lib/vlc/codec/libffmpeg_plugin.so' (/home/yinglcs/vlc-bin/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: E_IF_exit)[0m
[[32;1m00000001[0m] main libvlc debug: [0mrecursively browsing `plugins'[0m
[[32;1m00000001[0m] main libvlc debug: [0mmodule bank initialized, found 227 modules[0m
Code: Select all
[00000315] stream_out_transcode private debug: creating audio transcoding from fcc=`mp3 ' to fcc=`samr'
[00000324] main decoder debug: looking for decoder module: 25 candidates
[00000324] ffmpeg decoder debug: libavcodec initialized (interface 3352580 )
[00000324] ffmpeg decoder debug: ffmpeg codec (MPEG Audio layer 1/2/3) started
[00000324] main decoder debug: using decoder module "ffmpeg"
[00000325] main encoder debug: looking for encoder module: 7 candidates
[00000325] ffmpeg encoder debug: libavcodec already initialized
[00000325] ffmpeg encoder warning: bitrate not supported: use one of 4.75k, 5.15k, 5.9k, 6.7k, 7.4k, 7.95k, 10.2k or 12.2k
(libamr_nb@0x836f290)
[00000325] ffmpeg encoder error: cannot open encoder
[00000315] stream_out_transcode private error: cannot find encoder ((null))
[00000324] ffmpeg decoder debug: ffmpeg codec (MPEG Audio layer 1/2/3) stopped
[00000324] main decoder debug: removing module "ffmpeg"
[00000315] stream_out_transcode private error: cannot create audio chain
[00000323] main packetizer error: cannot create packetizer output (mp3 )
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 15 guests