I wont to provide a video stream on my webpage. The source files are in xvid(.avi) format.
I start the vlc like this:
Than I get errors:vlc test.avi --sout "#transcode{vcodec=FLV1,vb="400",acodec=mp3,samplerate=44100,ab=64}:std{access=http,dst=0.0.0.0:8888/stream.flv}"
VLC media player 1.1.3 The Luggage
Remote control interface initialized. Type `help' for help.
> [0x8bc63ac] main access out: creating httpd
[0x8bfbe1c] avcodec encoder error: cannot find encoder MPEG Audio layer 1/2/3
*** Your FFMPEG installation is crippled. ***
*** Please check with your FFMPEG packager. ***
*** This is NOT a VLC media player issue. ***
[0x8bfbe1c] main encoder error: Streaming / Transcoding failed
[0x8bfbe1c] main encoder error: It seems your FFMPEG (libavcodec) installation lacks the following encoder:
MPEG Audio layer 1/2/3.
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.
[0x8bdc9cc] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 )
[0x8bdc9cc] stream_out_transcode stream out error: cannot create audio chain
[0x8be9e54] main decoder error: cannot create packetizer output (a52 )
rc buffer underflow
rc buffer underflow
Please post your suggestions, how can I fix the problem?
My purpose is to stream video files on some website. The users of this website should watch the video with flashplayer.
Please help!
P.S. I'm using Debian 6.