Streaming to Windows Clients

About encoding, codec settings, muxers and filter usage
dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Streaming to Windows Clients

Postby dave_c_uk » 11 Jun 2009 20:04

Hi All,

I'm trying to stream a DVB-T feed from a TV card to about 100 users. VLC 'standard' setup works great - it streams to other VLC clients very well BUT it means I have to install VLC on 100_ computers and its not an option this time.

So I read in the forums and docs how to stream to windows media player (using DIV3, MP3, ASF/WMV) and WM clients can connect to the stream, but the quality is terrible due to the CPU hitting 100% when doing the transcoding/streaming. I tried changing the PC for a Dual Proc, Dual Core machine so it now has 4 processors to use but still only uses one, so tops out at 25% and the quality is still terrible.

So my questions are..

1) Is there a way of telling VLC to use more than one core for the streaming?
2) Is there an alternative way of getting windows media clients to connect to a stream?
3) I tried to push out the activex control as a half-way measure to get people to use VLC but it still requires the entire install - is there a better way?

Thanks in advance..
David

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Streaming to Windows Clients

Postby Jean-Baptiste Kempf » 11 Jun 2009 20:30

What is the solution ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: Streaming to Windows Clients

Postby dave_c_uk » 11 Jun 2009 22:10

What is the solution ?
Not sure what you mean?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Streaming to Windows Clients

Postby Jean-Baptiste Kempf » 12 Jun 2009 00:03

Resolution of streaming ? And command line?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: Streaming to Windows Clients

Postby dave_c_uk » 12 Jun 2009 00:18

Resolution of streaming ? And command line?
Taken straight from the VLC docs, so

% vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'

I've tried lowering vb, ab, and scale but still no help...

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: Streaming to Windows Clients

Postby dave_c_uk » 14 Jun 2009 10:23

(Bump)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Streaming to Windows Clients

Postby Jean-Baptiste Kempf » 14 Jun 2009 19:05

What is the input resolution?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: Streaming to Windows Clients

Postby dave_c_uk » 15 Jun 2009 00:06

What is the input resolution?
Not sure.. I never get the option to select it as its just pulling straight from the TV card (Hauppauge HVR-3000)

dave_c_uk
Blank Cone
Blank Cone
Posts: 24
Joined: 11 Jun 2009 19:57

Re: Streaming to Windows Clients

Postby dave_c_uk » 16 Jun 2009 10:21

Hi All,
I managed to get this working eventually using the following method:

1) Install JTVLanServer + Client, get that up and running using VLC streaming etc and make sure the stream works in VLC player.

2) Change the JTVLanServer configuration to stream to the windows command line (custom stream)

transcode{vcodec=DIV3,scale=1,acodec=mp3,ab=32,channels=2}:std{access=mmsh,mux=asfh,dst=:8080}'

3) Restart the server and use JTVLanClient to select a channel and start the stream.

The way JTV works is to capture to a local file, then stream that file. This leaves the CPU running at about 10% while streaming directly from the card seems to max out the CPU.

Thanks for your help.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests