^p^‎ > ‎

USB IP Camera + webRTC

opublikowane: 14 lip 2018, 03:07 przez Piotr Trochymiak   [ zaktualizowane 29 wrz 2019, 04:12 ]

streamer -c /dev/video0 -b 16 -o outfile.jpeg

streamer -q -c /dev/video0 -f rgb24 -r 3 -t 00:30:00 -o /home/outfile.avi
streamer -n ntsc -q -t $2 -s 320x240 -r 20 -o $f.avi -f jpg -j 86 -F stereo 2 >> tmp/TV_rec.err



Ascii
mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 -vo aa tv://


mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0:fps=10:outfmt=rgb16 -vo caca tv://

mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video0 -vo x11 tv://
mplayer -tv driver=v4l2:gain=1:width=640:height=480:device=/dev/video1 -vo x11 tv://

-vo dga, sdl

najprościej odpalić kamerkę  tak jak poniżej 

xawtv -c /dev/video0

mplayer tv://




To check the capabilities of the webcam: v4l2-ctl --list-formats To install the programs: apt-get update apt-get install vlc To start the stream server: cvlc --no-audio v4l2:///dev/video0 --v4l2-chroma MJPG --sout '#standard{access=http,mux=mpjpeg,dst=:8554/}' -I dummy To view on VLC on a computer, open network stream with this address: http://x.x.x.x:8554


cvlc --no-audio v4l2:///dev/video1 --v4l2-chroma MJPG  --sout '#standard{access=http,mux=mpjpeg,dst=:8554/}' -I dummy

cvlc --no-audio v4l2:///dev/video0 --v4l2-chroma YUYV  --sout '#standard{access=http,mux=ts,dst=:8555/}' -I dummy


http:127.0.0.1:8554
http:127.0.0.1:8555

v4l2-ctl --list-formats 

v4l2-ctl  --all  -d  /dev/video1


cvlc --no-audio v4l2:///dev/video0 --v4l2-chroma YUYV  --sout '#standard{access=http,mux=asf, dst=:7070/}'

mplayer http://127.0.0.1:7070 -dumpstream -dumpfile strumien.asf 

mpv ./strumien.asf 


muxy:  ts,asf,ogg,mp4,webm,mjpg

https://wiki.videolan.org/Documentation:Command_line/

https://www.systutorials.com/docs/linux/man/5-xawtvrc/

https://developer.ridgerun.com/wiki/index.php?title=How_to_setup_and_use_USB/IP
http://usbip.sourceforge.net/
https://www.tldp.org/HOWTO/html_single/Webcam-HOWTO/

http://www.seismo.ethz.ch/static/linux/webcam.html

https://books.google.pl/books?id=ZUj3opnu8m4C&pg=PA51&lpg=PA51&dq=xawtv+webcam&source=bl&ots=tqgh0wMsGW&sig=XnWZrBjQT0y_7hvfB4QpL87udTA&hl=pl&sa=X&ved=0ahUKEwiRnLjQqp7cAhVkhaYKHVd4DxEQ6AEIhwEwCQ#v=onepage&q=xawtv%20webcam&f=true

https://abc-rc.pl/templates/images/files/995/1503398295-instrukcja-obslugi-sq11-9953.pdf
https://www.youtube.com/watch?v=e2VcxhH_k7Y
https://linux.goeszen.com/vlc-streaming-guide.html



https://webrtchacks.com/how-to-figure-out-webrtc-camera-resolutions/
https://github.com/muaz-khan/RTCMultiConnection
https://bloggeek.me/implement-screen-sharing-webrtc/
https://webrtchacks.com/
https://webrtchacks.com/webrtc-cv-tensorflow/

https://www.html5rocks.com/en/tutorials/getusermedia/intro/
https://www.html5rocks.com/en/tutorials/webrtc/basics/
https://www.html5rocks.com/en/tutorials/webrtc/datachannels/

https://webrtc.github.io/samples/

Ċ
Piotr Trochymiak,
14 lip 2018, 06:14
Comments