LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
 
Search this Thread
Old 02-18-2013, 11:35 PM   #1
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Rep: Reputation: Disabled
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?
 
Old 02-19-2013, 01:01 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,778

Rep: Reputation: 201Reputation: 201Reputation: 201
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.
 
1 members found this post helpful.
Old 02-19-2013, 01:13 PM   #3
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,642

Rep: Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320Reputation: 1320
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.

Last edited by suicidaleggroll; 02-19-2013 at 01:16 PM.
 
Old 02-19-2013, 07:01 PM   #4
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Is your example not working, or do you just want to learn more about it?
thanks for you reply,I wanna learn more,since now I know next to nothing about video processing.
 
Old 02-19-2013, 07:04 PM   #5
cuiy0001
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
ffmpeg
mplayer
mencoder
x264
rtmpdump
dvdcss

etc.
really thank you for your kindness.
is there any "legendary" books on image/video compression/encoding/decoding?

Last edited by cuiy0001; 02-19-2013 at 07:04 PM. Reason: completion
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] videos/music stream via Linux from Win machine Galib Linux - Newbie 3 04-01-2010 11:05 AM
Want to compress MJPEG videos xnd Linux - Software 3 01-09-2009 02:47 PM
Cannot get videos to stream in Kubuntu dreamscaper Linux - Desktop 3 08-21-2008 07:28 AM
Is there a program that will let me stream my videos to DVD without converting over? HGeneAnthony Linux - Software 6 04-21-2007 03:07 AM
Videos wont stream correctly EYEdROP Suse/Novell 3 03-17-2007 04:38 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration