Hello,
I am trying to watch a remote/distant webcam from /dev/video1 over piping and ssh. I logged onto SSH to the distant pc and try to send it to my remote X11 machine. 2 debian boxes on local network.
This is not working:
mplayer -zoom -fs -tv device=/dev/video1 tv:// - | ssh -l username 192.168.1.120 -C mplayer -
my local pc is : username192.168.1.120
dd if=/dev/video1 | ssh username192.168.1.120 -C mplayer tv:// -
ok, lets try to ffmpeg stream:
Code:
ffmpeg -r 5 -s 320x240 -f video4linux2 -i /dev/video1 -itsoffset -6 http://127.0.0.1:8090/feed1.ffm
RESULTS IN :
Code:
x821e800] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2, from '/dev/video1':
Duration: N/A, start: 2696.694139, bitrate: 18432 kb/s
Stream #0.0: Video: rawvideo, yuyv422, 320x240, 18432 kb/s, 15 tbr, 1000k tbn, 15 tbc
[tcp @ 0x821f060] TCP connection to 127.0.0.1:8090 failed: Connection refused
http://127.0.0.1:8090/feed1.ffm: Input/output error
Would you know the trick?
Thank you