Hi. I want make a argumented reality car, controled by n900 accelerometer. So i have a embedded debian board with makes a wlan-accesspoint, controls the car and sends a webcam stream to n900. I have testet videostream from my laptop webcam to n900 (server and client = vlc) with 3 different ways: Code: server rtp: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,acodec=mpga}:rtp{dst=CLIENTADRESSE,port=5000,sdp=file:///home/andi/sdp.sdp,ttl=10,mux=ts,proto=udp}' client rtp: open sdp.sdp file, generated by server vlc file:///sdp.sdp Code: server udp multicast: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=ts,dst=239.255.23.23:1234}' client: vlc udp://@239.255.23.23:1234 :udp-caching=0 Code: server mms stream: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=64,scale=1,acodec=mpga,ab=8,channels=1}:std{access=mmsh,mux=asfh,dst=:8080}' client (n900, kmplayer, gstreamer/mplayer): mms://SERVER:8080 via vlc: vlc mmsh://SERVER:8080 My problem is, delay between webcam and n900(kmplayer/vlc) is ~2 seconds, thats too long. Any ideas to decrase this latency? Regards, Andi
server rtp: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,acodec=mpga}:rtp{dst=CLIENTADRESSE,port=5000,sdp=file:///home/andi/sdp.sdp,ttl=10,mux=ts,proto=udp}' client rtp: open sdp.sdp file, generated by server vlc file:///sdp.sdp
server udp multicast: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=ts,dst=239.255.23.23:1234}' client: vlc udp://@239.255.23.23:1234 :udp-caching=0
server mms stream: vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=64,scale=1,acodec=mpga,ab=8,channels=1}:std{access=mmsh,mux=asfh,dst=:8080}' client (n900, kmplayer, gstreamer/mplayer): mms://SERVER:8080 via vlc: vlc mmsh://SERVER:8080