Page 1 of 1

VLC 1.0.1 Stream and Vod (please help)

Posted: 25 Sep 2009 20:09
by dan.fr
J-B said "If you want an answer to your question, just be specific and verbose". Even if English is not our native language?Well, I'm going to try.

As I said on another post, there is no Documentation and support about VLC 1.0.1 version on any VLC website, so I need some help please.

My project is:
To help teacher and pupils in East Europe, I'd like to create a private network to share videos with contacts upbroad with VLC 1.0.1.
My vidéos can be avi, mov, wma, flv...files, from 10 minutes to 2 hours, sometimes with subtitles (srt, ssa)
The network is from France (my internet connexion Adsl 2) to Eastern Europe (Internet connexion supposed: 52k or 512k).
As a server I use VLC 1.0.1 and I'm going to aks my contacts to use the same program.

So, with the sort of network we use (Server: fast Internet & Clients: slow Internet or higher), what is the best way to share videos and give clients the best quality possible?

1/ Should I run VLC for streaming or should I make Vod? If another solution is even better and easy I'm interresting.
2/ How may I set up VLC 1.0.1 (Server and Client) to make it work?

If it's necessary, I can add screen captures of VLC 101 stream and vod menus?

Thanks for Help

Dan.fr: Windows XP SP3/ Internet: SFR Adsl2/ VLC 101

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 27 Sep 2009 15:02
by VLC_help
1. Basic streaming is easier to setup than VOD.
2. I would suggest H.264 inside TS container and HTTP streaming, in which case the command line would be something like this for server

Code: Select all

vlc.exe medifile.avi :sout=#transcode{vcodec=h264,vb=400,scale=1,acodec=mp3,ab=64,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8080}
and for client

Code: Select all

vlc.exe http://IPADRESS:8080

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 27 Sep 2009 15:13
by dan.fr
1. Basic streaming is easier to setup than VOD.
2. I would suggest H.264 inside TS container and HTTP streaming, in which case the command line would be something like this for server

Code: Select all

vlc.exe medifile.avi :sout=#transcode{vcodec=h264,vb=400,scale=1,acodec=mp3,ab=64,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8080}
and for client

Code: Select all

vlc.exe IPADRESS:8080
Thank you so much for the answer.
I'm going to try this very soon but, I'm a beginner, so can you explain me step by step how to find those boxes when you fill your codes, please.

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 28 Sep 2009 14:01
by VLC_help
Those are command-line options. You can get same results from GUI but your mouse arm will make unneeded movements if you have to repeat same options many times.

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 30 Sep 2009 21:26
by dan.fr
VLC 101 streaming test n°1
Steps I did as a server:

1
Image

2
Image

3
Image

4 I choose HTTP then I clic on "add"...
Image

5...this windows appears by clicking "add" on the window before
Image

6 This gives me that. I click on "next"
Image

7 and this is what happened: :( nothing...
Image

Conclusion: I probably made a mistake but I don't know where?
2nd question: When my setup will be ok, what do I have to see on my screen, or how can I know that my setup is correct? And finally, what does the client needs to do to see my vidéo?
Thanks for patience and help.

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 01 Oct 2009 01:49
by Jean-Baptiste Kempf
You have to tick display locally!

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 01 Oct 2009 10:10
by dan.fr
Thank you j-b!
Now I can see the video on my screen :D.
The small size vidéo is fluid but on full screen size this is slowed, choppy. :( (It's not a problem with streaming feature, VLC 101 slowed all full screen videos).
:( Unfortunately the sound is choppy with all streamed videos I tested.

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 01 Oct 2009 13:12
by VLC_help
mux=avi, please don't do that.

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 01 Oct 2009 19:12
by dan.fr
mux=avi, please don't do that.
Is "mux = avi" involved in the problem of video speed and bad sound?
When I setup a streaming with GUI I see no windows to control "mux=avi" feature, so I don't know how did I get that?
Ok I don't want to do "mux=avi" anymore, but how can I do the correct mux setup with GUI?
Thank you

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 02 Oct 2009 16:43
by dan.fr
mux=avi, please don't do that.
New HTTP streaming test from GUI, trying to follow your advise: explanation step by step and unsuccesful result :(

Step 1:
Image

Step 2 : I click "Add" button and Choose the video file I want to stream:
Image

Step 3: Nothing to do. Clic "Next"
Image

Step 4: Clic "Edit selected profile button" to open "Form" window
Image

STEP 5: Encapsulation
Image

Step 6:Video codec
Image

Step 7
Image

Clic on "save" button on each step, then do Step 1 to open "stream output" window.
So now, the sound is OK but the video is very bad (green, and slowed) :(



Then I tried another setup from "Stream Output" window and it works! :D
But I'm not sure that it's soft enough to be received on eastern europ? :?:

Step 1b
Image

Step 2b
Image

Step 3b
Image

Step 4b
Image

Step 5b: new setup
Image

Step 6b: new setup
Image

Step 7b: new setup
Image

Step 8b: Click on "Stream" button to start vidéo streaming
Image

This setup works!?? Even with "mux=avi" ?!: Normal speed video and good sound (only if I don't touch the screen size, then all becomes fragile)...it's a little bit strange, isn't it?
Now I have to be sure that my server side setup is OK on client side.
And I have to find out how to setup VLC 101 on the PC of client side.
When everything would run perfectly I could create a tuto (with pictures).

Re: VLC 1.0.1 Stream and Vod (please help)

Posted: 03 Oct 2009 11:41
by dan.fr
VLC 101 capture screen:
My captures are available on this link: http://www.flickr.com/photos/34799690@N ... 489120636/
if someone need to use it (download image, add comments and show it on a post?)