what should I learn to capture , compress and stream videos under Linux?
I now only have a small demo (without any comments )capturing webcams and displaying videos on localhost. It uses v4l2.
I am rather frustrated since it has no comments. I need to first understand v4l2 a bit with a more detailed tutorial,and I may need to understand how to compress static image /streaming video with an approach that is achievable.Many are talking about H.264 today, but I don't how to apply it on UVC. So could you recommend some BOOKS , detailed tutorials or some open source project relating to this? |
ffmpeg
mplayer mencoder x264 rtmpdump dvdcss v4l2 http://linux.die.net/man/1/ffmpeg http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html http://wiki.videolan.org/VLC_command-line_help http://linux.die.net/man/1/vlc http://rtmpdump.mplayerhq.hu/rtmpdump.1.html http://forum.videolan.org/ http://linuxers.org/tutorial/ffmpeg-tutorial-beginners http://sonnati.wordpress.com/2011/07...eaming-part-i/ Do a search here on LQ. There are lots of threads on video capture, including capturing video-audio streams, capturing desktop, capturing a dvb:// stream, a dvd://, rtsp://, capturing a web cam stream. Mplayer will play a stream, dump a stream to file, mencoder and ffmpeg will encode it, rtmpdump will dump to file, ffmpeg will stream, VLC will play streams etc. Then there is Myth TV Kaffeine SMplayer etc. |
Is your example not working, or do you just want to learn more about it?
I have a gumstix at home with a USB webcam, it uses ffmpeg to pull video from the camera and encode it using v4l2, then serve it via ffserver to localhost. The system then runs a web server which inserts the video feed into an html page that anybody (on the local network at least) can see on their web browser. It was pretty easy to set up, the hardest part was tweaking the encoder parameters so it didn't saturate the tiny CPU on the device. The fun part was then attaching the camera to a pan/tilt servo setup which is attached the gumstix PWM outputs, and then controlling it all via php with up, down, left, right buttons next to the video on the html page. |
Quote:
|
Quote:
is there any "legendary" books on image/video compression/encoding/decoding? |
All times are GMT -5. The time now is 11:16 PM. |