FLV1 video codec

About encoding, codec settings, muxers and filter usage
mathieu1984
New Cone
New Cone
Posts: 6
Joined: 29 Sep 2008 17:23

FLV1 video codec

Postby mathieu1984 » 29 Sep 2008 18:24

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.

mathieu1984
New Cone
New Cone
Posts: 6
Joined: 29 Sep 2008 17:23

Re: FLV1 video codec

Postby mathieu1984 » 30 Sep 2008 15:50

Nobody can aswer ?

Is there an other way (h264 + mp3 in a flv mux ?)

kittivud
Blank Cone
Blank Cone
Posts: 13
Joined: 13 Mar 2006 11:25
Location: Bangkok, Thailand
Contact:

Re: FLV1 video codec

Postby kittivud » 30 Sep 2008 18:28

Try this page http://wiki.videolan.org/Flash_Video. It give you a Transcode command guide (no FLV1 in GUI).

mathieu1984
New Cone
New Cone
Posts: 6
Joined: 29 Sep 2008 17:23

Re: FLV1 video codec

Postby mathieu1984 » 02 Oct 2008 10:34

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 ?

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 02 Oct 2008 11:20

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 :)

mathieu1984
New Cone
New Cone
Posts: 6
Joined: 29 Sep 2008 17:23

Re: FLV1 video codec

Postby mathieu1984 » 02 Oct 2008 11:41

I use VLC 0.9.2 under Windows XP Pro, and JW Player on the web page side.

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 02 Oct 2008 11:45

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"} ?
Last edited by Poulpatine on 02 Oct 2008 12:32, edited 1 time in total.

mathieu1984
New Cone
New Cone
Posts: 6
Joined: 29 Sep 2008 17:23

Re: FLV1 video codec

Postby mathieu1984 » 02 Oct 2008 12:25

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 ?

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 02 Oct 2008 12:34

With my line I've been able to start streaming but I've encountered the same problem as yours. Sound but no video :( ...

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 02 Oct 2008 12:39

According to the changelog ( http://www.videolan.org/developers/vlc/NEWS ) I don't think so ...

Zalon
New Cone
New Cone
Posts: 3
Joined: 14 Jun 2008 13:05

Re: FLV1 video codec

Postby Zalon » 03 Oct 2008 00:57

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

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 03 Oct 2008 13:26

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.


;)

Poulpatine
Blank Cone
Blank Cone
Posts: 10
Joined: 02 Oct 2008 11:18

Re: FLV1 video codec

Postby Poulpatine » 06 Oct 2008 08:51

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 ;)

BaHbka
New Cone
New Cone
Posts: 1
Joined: 08 Oct 2008 13:44

Re: FLV1 video codec

Postby BaHbka » 08 Oct 2008 13:56

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

isync
Blank Cone
Blank Cone
Posts: 23
Joined: 18 Oct 2009 14:22

Re: FLV1 video codec

Postby isync » 09 Nov 2009 23:40

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...


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests