Code: Select all
./configure --enable-libamr-nb --enable-libamr-wb --enable-shared --enable-pp --enable-gpl --enable-memalign-hack
Code: Select all
./configure --disable-wxwidgets --disable-skins2 --enable-sharedthreads --enable-libamr-nb --enable-libamr-wb --enable-ffmpeg --enable-mad --enable-libdvbpsi --enable-flac --enable-release --with-ffmpeg-tree=../ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/
Code: Select all
gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o src/libvlc.a ./modules/misc/mem cpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chro ma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_ chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc /memcpy/libmemcpy3dn.a ./modules/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/lib ffmpeg.a ./modules/stream_out/libstream_out_switcher.a -L/usr/local/lib -lrt -lp
thread -ldl /usr/local/lib/libdvbpsi.so -L/home/micky/vlc/ffmpeg-export-snapshot
/ffmpeg-export-2007-07-04/libavformat /home/micky/vlc/ffmpeg-export-snapshot/ffm
peg-export-2007-07-04/libavformat/libavformat.a -L/home/micky/vlc/ffmpeg-export- snapshot/ffmpeg-export-2007-07-04/libavcodec /home/micky/vlc/ffmpeg-export-snaps hot/ffmpeg-export-2007-07-04/libavcodec/libavcodec.a -L/home/micky/vlc/ffmpeg-ex
port-snapshot/ffmpeg-export-2007-07-04/libavutil /home/micky/vlc/ffmpeg-export-s napshot/ffmpeg-export-2007-07-04/libavutil/libavutil.a -lz -L/home/micky/vlc/ffm
peg-export-snapshot/ffmpeg-export-2007-07-04/libpostproc /home/micky/vlc/ffmpeg- export-snapshot/ffmpeg-export-2007-07-04/libpostproc/libpostproc.a -lm
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x17): In function `amr_nb_decode_init':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:369: undefined reference to `Decoder_Interface_init'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0xed): In function `amr_nb_encode_init':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:408: undefined reference to `VADxEncoder_Interface_init'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x200): In function `amr_nb_decode_close':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:428: undefined reference to `Decoder_Interface_exit'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x227): In function `amr_nb_encode_close':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:436: undefined reference to `Encoder_Interface_exit'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x282): In function `amr_nb_decode_frame':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:464: undefined reference to `GP3Decoder_Interface_Decode'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x372): In function `amr_nb_encode_frame':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:482: undefined reference to `GP3VADxEncoder_Interface_Encode'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x49f): In function `amr_wb_encode_init':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:602: undefined reference to `E_IF_init'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x505): In function `amr_wb_encode_close':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:612: undefined reference to `E_IF_exit'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x604): In function `amr_wb_encode_frame':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:629: undefined reference to `GP3E_IF_encode'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x647): In function `amr_wb_decode_init':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:638: undefined reference to `D_IF_init'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x6db): In function `amr_wb_decode_frame':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:666: undefined reference to `IF2block_size'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x6fd):/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-exp ort-2007-07-04/libavcodec/libamr.c:674: undefined reference to `GP3D_IF_decode'
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libav codec.a(libamr.o)(.text+0x750): In function `amr_wb_decode_close':
/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libam r.c:683: undefined reference to `D_IF_exit'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/micky/vlc/vlc-0.8.6c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/micky/vlc/vlc-0.8.6c'
make: *** [all] Error 2
Code: Select all
gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_switcher.a -L/usr/local/lib -lrt -lpthread -ldl /usr/local/lib/libdvbpsi.so -L/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavformat /home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavformat/libavformat.a -L/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec /home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavcodec/libavcodec.a -L/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavutil /home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libavutil/libavutil.a -lz -L/home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libpostproc /home/micky/vlc/ffmpeg-export-snapshot/ffmpeg-export-2007-07-04/libpostproc/libpostproc.a -lm /usr/local/lib/libamr*.a
now comes the problem. I'm trying to transcode flv into amr, but i fail
Code: Select all
./vlc frozen.flv :no-video :sout='#transcode{acodec=samr,ab="5.25",samplerate="8000",channels="1"}:std{access=file,mux=dummy,dst=lout}}' vlc:quit
VLC media player 0.8.6c Janus
Remote control interface initialized. Type `help' for help.
[00000468] mux_dummy private: Open
status change: ( new input: frozen.flv )
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000606] ffmpeg encoder error: cannot open encoder
[00000461] stream_out_transcode private error: cannot find encoder ((null))
[00000461] stream_out_transcode private error: cannot create audio chain
[00000555] main packetizer error: cannot create packetizer output (mp3 )
status change: ( stop state: 0 )
[00000633] dummy demuxer: command `quit'
status change: ( new input: vlc:quit )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
status change: ( stop state: 0 )
status change: ( quit )
[00000452] main playlist: stopping playback