Not resizing stream for me

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
LampCord
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2009 21:52

Not resizing stream for me

Postby LampCord » 08 Mar 2009 21:57

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?

rh
Cone that earned his stripes
Cone that earned his stripes
Posts: 158
Joined: 21 Sep 2006 13:11
VLC version: 2.0.2
Operating System: Lin / Win / Andr
Location: Germany

Re: Not resizing stream for me

Postby rh » 09 Mar 2009 10:13

hi,
what tell you the log file (log level 2) ?
scarcely you do it right it works ...
Greetings, rh

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Not resizing stream for me

Postby VLC_help » 09 Mar 2009 16:46

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

LampCord
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2009 21:52

Re: Not resizing stream for me

Postby LampCord » 10 Mar 2009 15:50

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Not resizing stream for me

Postby VLC_help » 10 Mar 2009 16:47

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 53 guests