Http streaming, bandwidth problem

About encoding, codec settings, muxers and filter usage
Dr Nick

Http streaming, bandwidth problem

Postby Dr Nick » 12 Jan 2005 10:48

I'm pretty new to this program and have been playing with it for the last wek or so. Firstly I'll explaon what I'm using it for, I have a bird box camera in the garden wich is fed into a pc using a tv card, I am trying to stream this around my home lan so anyone can view what is going on in the bird box. I have had great success with udp multicasat streaming but as the feed is on 24/7 I wasnnot so keen on the constant network usage. So I looked into http streaming, set it all up ( sorry don't have all the settings with me as I am at work a the moment), set encoding to divx3 (tried others same result) and accessed it from another computer. It would run for a second or so and then the picture would freeze. Tried it with windows media player and I can see it buffer, play for a bit then start buffering and so on. I checked the nework data speed and it is a flat line at 411kbps, this does not change even if I change the bitrate of the encoded video, so it will only work if I bring the video bitrate down below 411. I have tried this running on to separate pcs, one a 1gig p3 running win2k and a athlon1800 runing xp still a flat 411kbps data rate.
Any ideas??

7andy
New Cone
New Cone
Posts: 8
Joined: 02 Dec 2004 19:53

Postby 7andy » 12 Jan 2005 11:34

I had the same problem - turned out to be Network Card drivers...

Cheers, Andy E.

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 12 Jan 2005 11:41

What I've used for cameras, successfully, is mmsh. For example:
vlc dshow:// :dshow-vdev="Osprey-210 Video Device 1" :dshow-adev="none" :no-dshow-config :dshow-size="640x480" :sout=#transcode{vcodec=DIV3,vb=128,scale=1,sfilter=time}:duplicate{dst=std{access=mmsh,mux=ASFH,url=:1234}} --sout-transcode-fps=5.0

You may need "320x240" instead of "640x480", depending on your framegrabber capability. The "--sout-transcode-fps" is to specifically knock the output down, to not bother trying sending more than 5 fps (since the bitrate is limited to 128). The ",sfilter=time" superimposes a timestamp.

Connect from VLC with mmsh://server_IP_address:1234, or do a WMP Open URL to mms://server_IP_address:1234

Dr Nick

Postby Dr Nick » 12 Jan 2005 14:22

I tried using mmsh also, but had the same problem with the 411 limit. I would like to try and keep full 25fps as the network should in therory have no problems handling it(not that way at the mo).
I'll check my network drivers but I am using just a bog standard realtech 100mb card with the windows drivers and have had no problems with them before.

Dr Nick

Windows version bug?

Postby Dr Nick » 17 Jan 2005 19:14

Well I solved the problem -I installed Fedora, it seems the bug(?) is only with the windows version and the linux version will http stream with no problems at all. The only problem now is I have a new operating system to learn!

libor

Postby libor » 01 Feb 2005 13:36

I had a same problem with windows xp sp2. I tried to stop firewall and antivirus and nothing happened. When I set the same packet size MTU in TCPIP protocol on both PCs it helped me and streaming is w/o limit.
It seem to be like large fragmentation.
Try to use for ex. TZ Connection Booster - default values for DSL or lan. Write here if it helps you too.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests