[streaming] Re: Audio Problem in vlc again~

Jean-Paul Saman saman at natlab.research.philips.com
Wed Jan 28 09:10:40 CET 2004


Leung Chi Hung wrote:
> "vlc -vvv 
> v4l:/dev/video0:norm=secam:frequency:543259:channel=0:adev=/dev/audio0:audio=0
> --sout'#transcode{vcodec=mpgv,acodec=mpga,vb=1024,ab=128,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url="10.0.0.3"
> --ttl 12"
>  
> but NO sound on the iPAQ. If i stream a file onto the iPAQ, it has sound~
>  
> so i am thinking do i need to set anything to the audio device in my laptop?
Do you get audio on your laptop when not doing --sout ?? Test this first.

>  
> Another question:
> if i want to do multiple streaming on TWO iPAQs with ip address --- 
> "10.0.0.2 & 10.0.0.3"
> what is the correct command line?
With two vlc's? Or do you mean streaming the same webcam to the two iPAQ's?

In the second case you need to stream to a multicast address, eg: 
239.0.0.1 from the laptop. The iPAQ's then need to listen to that 
address, with: vlc udp://@239.0.0.1:1234 -vv
There is one caveat here, your tiny network probably needs a multicast 
router in this case. At least you need to add some rules to the routing 
table on the laptop (if not present already) and on the iPAQ'w. Here is 
the route you need to add:

/sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

> Also, when i stream it in FULLSCREEN, the resolution is lower, how can i 
> adjust the resolution captured by my web cam, is it controlled by vlc or 
> depends on my web cam?

The resolution is primarily controlled by the webcam. If you are 
streaming with a webcam resolution bigger then 320x240, then that is 
wasted effort, because you won't be able to view it on a iPAQ. It has 
only a screen size of 320x240.

-- 
Kind greetings,

Jean-Paul Saman



-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list