Page 1 of 1

Failed: Stream .avi(xvid) as .flv Please help!!!

Posted: 02 Jul 2011 00:40
by Jackis
Hello,

I wont to provide a video stream on my webpage. The source files are in xvid(.avi) format.

I start the vlc like this:
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}"
Than I get errors:
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.

Re: Failed: Stream .avi(xvid) as .flv Please help!!!

Posted: 02 Jul 2011 00:54
by Jackis
vlc test.avi :sout=#transcode{vcodec=h264,vb=400,fps=25,deinterlace,width=640,height=480,ab=64,acodec=mp3,samplerate=44100,audio-sync}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=127.0.0.1:8082/stream.flv},dst=display} --sout-keep
VLC media player 1.1.3 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x955d84c] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
[0x955d84c] main interface error: no suitable interface module
[0x954350c] main interface error: no suitable interface module
[0x94bb8fc] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x94bb8fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x954275c] [rc] lua interface: Listening on host "*console".
VLC media player 1.1.3 The Luggage
Remote control interface initialized. Type `help' for help.
> [0x957d9e4] main stream output error: stream chain failed for `transcodeaudio-sync:duplicatedst=display'
[0x957c3c4] main input error: cannot start stream output instance, aborting

Whats wrong?

Re: Failed: Stream .avi(xvid) as .flv Please help!!!

Posted: 02 Jul 2011 11:09
by Rémi Denis-Courmont
I think the error message is clear about whom should be inquired and that it is not this forum.

Re: Failed: Stream .avi(xvid) as .flv Please help!!!

Posted: 02 Jul 2011 13:01
by Jackis
Please provide some more information. I don't understand the error message :(
What should i install/fix/do?

Best regards

Re: Failed: Stream .avi(xvid) as .flv Please help!!!

Posted: 02 Jul 2011 19:05
by Rémi Denis-Courmont
Exactly what part of "Do not contact the VideoLAN project about this issue." don't you understand?