Page 1 of 1
FLV1 video codec
Posted: 29 Sep 2008 18:24
by mathieu1984
Hello,
I use VLC 0.9.2 under windows to stream from my webcam. I want to display the output via a web-based flash player.
I have seen many posts using the FLV1 video codec, but I do not have this one in the list of available video codecs.
How have I to proceed to have this codec available in VLC?
Thanks by advance.
Re: FLV1 video codec
Posted: 30 Sep 2008 15:50
by mathieu1984
Nobody can aswer ?
Is there an other way (h264 + mp3 in a flv mux ?)
Re: FLV1 video codec
Posted: 30 Sep 2008 18:28
by kittivud
Try this page
http://wiki.videolan.org/Flash_Video. It give you a Transcode command guide (no FLV1 in GUI).
Re: FLV1 video codec
Posted: 02 Oct 2008 10:34
by mathieu1984
With this transcode command, the streaming starts, and I can access it via a remote web-based flash player, but I have no video, just sound.
If I add "mux=flv" (#transcode{vcodec=FLV1,acodec=mp3}:std{access=http,mux=flv,dst=0.0.0.0:8081/stream.flv}), the streaming doesn't start.
Any idea ?
Re: FLV1 video codec
Posted: 02 Oct 2008 11:20
by Poulpatine
In mux you should try "mux=ffmpeg{mux=flv}" instead of "mux=flv" .
I'm presently trying to set-up the same type of solution.
Could you say me which VLC version, OS and FLV Player are you using ?
Thank you
Re: FLV1 video codec
Posted: 02 Oct 2008 11:41
by mathieu1984
I use VLC 0.9.2 under Windows XP Pro, and JW Player on the web page side.
Re: FLV1 video codec
Posted: 02 Oct 2008 11:45
by Poulpatine
Ok.
Under Windows I've seen some troubles with arguments.
Maybe with
vlc.exe yoursource --sout #transcode{vcodec="FLV1",acodec="mp3"}:std{access="http",mux="ffmpeg{mux=\"flv\"}",dst="0.0.0.0:8081/stream.flv"} ?
Re: FLV1 video codec
Posted: 02 Oct 2008 12:25
by mathieu1984
If I had a "mux" argument, the streaming does not start in VLC.
I have been able to have video + sound at a moment, I don't understand why it worked (I had not changed any argument...)
Maybe is it better with VLC 0.9.3 ?
Re: FLV1 video codec
Posted: 02 Oct 2008 12:34
by Poulpatine
With my line I've been able to start streaming but I've encountered the same problem as yours. Sound but no video
...
Re: FLV1 video codec
Posted: 02 Oct 2008 12:39
by Poulpatine
According to the changelog (
http://www.videolan.org/developers/vlc/NEWS ) I don't think so ...
Re: FLV1 video codec
Posted: 03 Oct 2008 00:57
by Zalon
How do you access the flv with a web based player?
-As i can stream, but can't get JW flv player to work with it.
I stream by setting up one vlc instance to stream to http and one to stream to flv, like this:
viewtopic.php?f=2&t=40921&p=127516#p127516
Re: FLV1 video codec
Posted: 03 Oct 2008 13:26
by Poulpatine
I've downloaded JW Player from this page :
http://www.jeroenwijering.com/?item=JW_FLV_Player
And, in the folder of the JW archive extraction I'm making a text file called index.html ( or what you want with .html extension ) with this content :
Code: Select all
<html>
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=http://localhost:1234/stream.flv');
s1.write('preview');
</script>
</html>
Then, I just need to open this file in my webbrowser.
Re: FLV1 video codec
Posted: 06 Oct 2008 08:51
by Poulpatine
I've tested a nightly build vlc release and it's working. Here is my line :
vlc
http://mafreebox.freebox.fr/freeboxtv/playlist.m3u --sout
'#transcode{vcodec=FLV1,scale=0.25,acodec=mp3,samplerate=22050}:std{access=http,dst=192.168.0.7:1234/stream.flv}'
-I http --http-host 192.168.0.7:8080
And, if I use my webbrowser to access to 192.168.0.7:8080 there is a link in the bottom of the page to access to a flash based video player. Wonderful
I've put everything behind an apache proxy server so, it's very clean
Re: FLV1 video codec
Posted: 08 Oct 2008 13:56
by BaHbka
Hey guys, i have the same problem: no video, just sound
VLC 0.9.4 Grishenko, just downloaded from videolan.org ... winxp and JW FLV Media Player 4.1
i tried these runs
"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv dshow:// :sout=#transcode{vcodec="FLV1",acodec="mp3",ab="128",channels="2"}:duplicate{dst=display,dst="std{access=\"http\",mux=ffmpeg{mux=flv},dst=\"127.0.0.1:1234/stream.flv\"}"}
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// --sout="#transcode{vcodec=FLV1,scale=0.25,acodec=mp3,samplerate=22050}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:1234/stream.flv}"
and no effect
help plz
Re: FLV1 video codec
Posted: 09 Nov 2009 23:40
by isync
I've got trouble with JW Player as well. First sound only and the play-icon, if I press it, the video starts. But it seems as if JW Player just downloads a segment and later on messes up.
And the guys from JW Player
don't really understand that vlc does indeed
stream stuff, I think...