Page 1 of 1

Not resizing stream for me

Posted: 08 Mar 2009 21:57
by LampCord
I'm using a logitech web cam with VLC on my PC and trying to stream it to my website. I can get everything working fine except I want it only at 240x160 to reduce upstream bandwidth since that's the bottleneck.

Here's the settings I'm using (mostly from the tutorial topic on streaming Windoes -> Linux Server -L ASP Page):

Stream source: capture device
Capture mode: directshow (only one that gives me size options)

In the video size option I put 240x160 (Also tried "240x160")
But no matter what I seem to do, I end up with a full resolution stream at my server and its got a really low frame rate because its so big (640 x 480?).

Anything else I need to do to get VLC to properly size the output stream or is this beyond it (or my camera's) ability?

Re: Not resizing stream for me

Posted: 09 Mar 2009 10:13
by rh
hi,
what tell you the log file (log level 2) ?

Re: Not resizing stream for me

Posted: 09 Mar 2009 16:46
by VLC_help
You can also resize from streaming step. So insert width and height to transcoding line. For example:

Code: Select all

...codec=mpgv,vb=400,acodec=mpga,ab=192,width=240,height=160...

Re: Not resizing stream for me

Posted: 10 Mar 2009 15:50
by LampCord
Do I need to run VLC from the command line to do the resizing at the transcoding point or are there options through the gui that I can't find?
How do you run it from the command line in Vista Do I have to setup the path or any other environmental variables first?
When I drop down to the command line in Vista it doesn't find vlc.

Re: Not resizing stream for me

Posted: 10 Mar 2009 16:47
by VLC_help
Do I need to run VLC from the command line to do the resizing at the transcoding point or are there options through the gui that I can't find?
sout/transcode line can be seen in GUI also, but you have to manually insert the values. VLC 1.0.0 should have width and height in GUI also.
How do you run it from the command line in Vista Do I have to setup the path or any other environmental variables first?
No env variables are needed. Just start vlc.exe from the VLC installation folder and add command-line parameters if you need them. VLC isn't in default paths so typing vlc won't start it.

Code: Select all

c:\software\vlc\vlc.exe d:\music\cool.mp3