<html><div style='background-color:'><DIV>
<P>Dear Jean-Paul Seman,</P>
<P>I have tried to view the webcam locally first with the following command:</P>
<P>vlc -vvv v4l:/dev/video0:norm=secam:frequency=543250:size=240x320:channel=0 </P>
<P>it works! ( video0 refer to my webcam )</P>
<P>however when i add the following at the end of the command line</P>
<P>":adev=/dev/dsp:audio=0", the vlc can't load the webcam properly, what 's wrong?</P>
<P>i only know this part is referring to my laptop's audio device, what should i do?</P>
<P>Also, ( i ignore the audio part first ), i try to stream the webcam to my iPAQ usnig the following command</P>
<P>vlc -vvv v4l:/dev/video0:norm=secam:frequency=543250:size=240x320:channel=0 </P>
<DIV></DIV>
<P>--sout '#transcode {vcodec=mpvg,acodec=mpga,vb=1024,ab=128,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=10.0.0.3}' --ttl 12</P>
<P>Of cos, no sound again! Also, i found that the video on the iPAQ is not very stable, i haev seen "my face" on the iPAQ, but it seems got hang! I have tried to change those figures to see if there is any help on the quality of the video, but seems not really useful.............. what can i do? Also, no matter how i change the size (e.g. size=240x320), the image size is FIXED, only the frame bounding the image was changed according to my setting. So, how can i make the image larger?</P>
<P>Thx a lot~</P>
<P>Gary<BR></P></DIV>
<DIV></DIV>>From: Jean-Paul Saman <JEAN-PAUL.SAMAN@PLANET.NL>
<DIV></DIV>>Reply-To: vlc@videolan.org
<DIV></DIV>>To: vlc@videolan.org
<DIV></DIV>>Subject: [vlc] Re: problem with vlc streaming!
<DIV></DIV>>Date: Mon, 17 Nov 2003 21:09:51 +0100
<DIV></DIV>>
<DIV></DIV>>Leung Chi Hung wrote:
<DIV></DIV>>
<DIV></DIV>>>Hi folks,
<DIV></DIV>>> I have the following problem:
<DIV></DIV>>>Now, i want to stream the video from my web cam ( Logitech QuickCam
<DIV></DIV>>>Zoom ) connected to the laptop ( installed RH Linus 9.0 ) using the
<DIV></DIV>>>VLC ver 0.6.2 to my iPAQ ( installed with Familiar Linux ver 0.6.0
<DIV></DIV>>>).
<DIV></DIV>>>
<DIV></DIV>>
<DIV></DIV>>Streaming to an iPaq (probably over WLAN) requires carfull thought
<DIV></DIV>>about available bitrate and what an iPaq can decode. Your commanline
<DIV></DIV>>below clearly do not take these into account, which is why it won't
<DIV></DIV>>work for you.
<DIV></DIV>>
<DIV></DIV>>>Following the instructions on the web, i have typed the following
<DIV></DIV>>>command line, but it seems no reponse, anyone got any hints on
<DIV></DIV>>>this?
<DIV></DIV>>> *vlc -vvv
<DIV></DIV>>>v4l:/dev/video:norm=secam:frequency=543250:size=640x480:channel=0:adev=/dev/dsp:audio=0
<DIV></DIV>>>--sout
<DIV></DIV>>>'#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=192.168.0.42}'
<DIV></DIV>>>--ttl 12*
<DIV></DIV>>
<DIV></DIV>>1) You can't stream mp4v to an iPaq and expect it to work. Most
<DIV></DIV>>iPaq's are not powerfull enough to support MPEG 4. Encode the video
<DIV></DIV>>in mpeg2 or mpeg1 instead.
<DIV></DIV>>2) A screen size of 640x480 is much to large for an iPaq which
<DIV></DIV>>screen is only 240x320
<DIV></DIV>>3) frequency and norm seem strange to me, but I'm in Europe. We use
<DIV></DIV>>pal and a frequency of 8692 kHz.
<DIV></DIV>>4) lower the vb to about 1024 kbits/s and audio to 128 kbits/s
<DIV></DIV>>
<DIV></DIV>>A tip first try to view the webcam locally with VLC before trying to
<DIV></DIV>>stream. It will make debugging easier.
<DIV></DIV>>
<DIV></DIV>>>Before issuing this command, the web said i have to add the
<DIV></DIV>>>"--enable-v4l to ./configure" , how can i do this? where is the
<DIV></DIV>>>config file?
<DIV></DIV>>>
<DIV></DIV>>Run ./bootstrap first then ./configure --enable-v4l ..... and other
<DIV></DIV>>arguments you want.
<DIV></DIV>>
<DIV></DIV>>>Also, i tried to test if my VLC on the laptop works fine, So i
<DIV></DIV>>>played a *.mpg file using VLC, it only got video, but no audio, why
<DIV></DIV>>>is it so?
<DIV></DIV>>>
<DIV></DIV>>>"vlc -vvv *.mpg"
<DIV></DIV>>>
<DIV></DIV>>Try to view the webcam locally.
<DIV></DIV>>
<DIV></DIV>>>One last Q's about my web cam driver, from the web, it said that
<DIV></DIV>>>"pwc.o" is the driver that support my webcam, and of cos, it was
<DIV></DIV>>>embedded already in RH9.0 ( i don;t need to install ), but i want
<DIV></DIV>>>to know, how can i adjust the settings on my webcam , like
<DIV></DIV>>>resolution, image size, etc )
<DIV></DIV>>>
<DIV></DIV>>Either by providing them on the commandline of /sbin/modprobe pwc.o
<DIV></DIV>>option1=value1 option2=value2 (see the documentation of pwc kernel
<DIV></DIV>>module). Or through the v4l interface, in which case VLC should take
<DIV></DIV>>care of this for you. This is the first part in your vlc commandline
<DIV></DIV>>(the v4l:// part).
<DIV></DIV>>
<DIV></DIV>>>Pls help me to fix it~
<DIV></DIV>>>
<DIV></DIV>>
<DIV></DIV>>Gladly ;-)
<DIV></DIV>>
<DIV></DIV>>Greetings,
<DIV></DIV>>Jean-Paul Saman
<DIV></DIV>>
<DIV></DIV>>VLC iPaq maintainer.
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>--
<DIV></DIV>>This is the vlc mailing-list, see http://www.videolan.org/vlc/
<DIV></DIV>>To unsubscribe, please read
<DIV></DIV>>http://www.videolan.org/support/lists.html
<DIV></DIV>>If you are in trouble, please contact <POSTMASTER@VIDEOLAN.ORG>
<DIV></DIV>>
<DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBTWHK/2743??PS=">Hotmail Extra Storage讓你獲得10MB 額外儲存空間,請即申請!</a> </html>
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster@videolan.org>