Hi,
I need to do some flash streaming, from file or stream, does not really matter to me (if it's only supported from stream, I can open a file with another vlc and then stream) and I saw this is only implemented in 0.9+. So, I downloaded a nightly build for windows, from some days ago (to be more specific, vlc-0.9.0-svn-20070919-1425-win32).
I then try to transcode:
C:\foo\vlc-0.9.0-svn-20070919-1425-win32\vlc-0.9.0-svn-20070919-1425>vlc --sout "#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8080/stream.flv}" http://127.0.0.1:1234 --loop -vvv --color
If there's nothing streaming on 127.0.0.1:1234, vlc does nothing. But as soon as I'm streaming there, vlc crashes.
I then tried with linux. Downloaded vlc_0.9.0-svn20070922-4-0.tar.gz for Ubuntu Breezy. Compiled a nightly x264 build, a nightly ffmpeg build, and finally vlc:
../configure --prefix=/usr \
--enable-snapshot --enable-debug \
--enable-dbus-control --enable-musicbrainz \
--enable-shared-libvlc \
--enable-lirc \
--with-ffmpeg-tree=../extras/ffmpeg \
--enable-x264 --with-x264-tree=../extras/x264 \
--enable-shout --enable-taglib \
--enable-v4l --enable-cddax \
--enable-vcdx \
--enable-realrtsp --disable-xvmc \
--enable-svg --enable-dvdread \
--enable-dc1394 --enable-dv \
--enable-theora --enable-faad \
--enable-twolame --enable-real \
--enable-flac --enable-tremor \
--with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-skins2 --enable-qt4 \
--enable-ncurses \
--enable-aa --enable-caca \
--enable-esd --disable-portaudio \
--enable-jack --enable-xosd \
--enable-galaktos --enable-goom \
--enable-ggi \
--disable-cddax --disable-vcdx \
--disable-quicktime
And then I try to run:
./vlc --sout "#transcode{vcodec=FLV1,vb=800,acodec=mp3,ab=96,samplerate=44100}:std{access=http,dst=0.0.0.0:8090/stream.flv}" http://127.0.0.1:1234 -I dummy
But this is what I'm getting:
VLC media player 0.9.0-svn Grishenko
[00000521] main private: creating httpd
[00000519] stream_out_standard private error: no suitable sout mux module for `http/ffmpeg{mux=flv}://0.0.0.0:8090/stream.flv'
[00000516] stream_out_transcode private error: cannot create chain
[00000515] main stream output error: stream chain failed for `transcode{vcodec=FLV1,vb=800,acodec=mp3,ab=96,samplerate=44100}:std{access=http,dst=0.0.0.0:8090/stream.flv}'
[00000514] main input error: cannot start stream output instance, aborting
[00000540] dummy interface: using the dummy interface module...
[00000554] main private: creating httpd
[00000553] stream_out_standard private error: no suitable sout mux module for `http/ffmpeg{mux=flv}://0.0.0.0:8090/stream.flv'
[00000551] stream_out_transcode private error: cannot create chain
[00000550] main stream output error: stream chain failed for `transcode{vcodec=FLV1,vb=800,acodec=mp3,ab=96,samplerate=44100}:std{access=http,dst=0.0.0.0:8090/stream.flv}'
[00000549] main input error: cannot start stream output instance, aborting
signal 2 received, terminating vlc - do it again in case it gets stuck
[00000513] main playlist: saving Media Library to file /home/capac/.local/share/vlc/ml.xsp
I'm compiling vlc with ffmpeg, so I'm not sure why I'm getting "no suitable sout mux module for `http/ffmpeg{mux=flv}://0.0.0.0:8090/stream.flv'"
Any help would be welcome. Does not matter if from windows or linux.
Thank you so much!!!