LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 02-26-2007, 05:10 AM   #1
isync
Member
 
Registered: Feb 2007
Posts: 32

Rep: Reputation: 15
Cool Capturing multiple video sources in real-time to MPEG


I'd like to build a system that is able to capture multiple video sources at once (5 sources), and write it to MPEG in real-time.

Any suggestions for hardware? Should I go for dedicated MPEG video capture boards that do it in hardware (do they write to dev/whatever ??) or should I read the data via mplayer and dump it to mpeg in software?
Currently I intend to save to MP4.

BTW: this is not meant to be a home PVR!
 
Old 02-26-2007, 06:08 AM   #2
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Quote:
Originally Posted by isync
Any suggestions for hardware?
Ram. Lots of it. And a raid.

It would'nt matter if you got a camera that produced mp4s for you with no cpu burden whatsoever on your computer. 5 streaming video sources is going bottom out your hard drive, fairly quick. So you want a raid for both performance and space.
 
Old 02-26-2007, 07:33 AM   #3
isync
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Mmmh. Ok then. Let's assume I bolt together a fairly high power AMD64 X2 system and hook a simple yet fast SATA2 RAID 0 to it. MPEG files get saved in chunks of 1 hour (any idea on how to do the chunking) and then moved by a background process to a larger fileserver.

So far, would it work?

And then, what is your recommendation for the actual video Input. A cheapo PCI video capture card x5 or a dedicated MPEG card?

What is this idea with the video camera?? I have a few video composite cables here that need to get into the machine...
 
Old 02-27-2007, 12:32 PM   #4
isync
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
After some calculations:

the setup would produce 11MB x 5 per minute. Is SATA2 the bottleneck here, CPU or just storage?
 
Old 02-27-2007, 01:41 PM   #5
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Lightbulb

Quote:
Originally Posted by isync
After some calculations:

the setup would produce 11MB x 5 per minute. Is SATA2 the bottleneck here, CPU or just storage?
So thats 55 mb/ minute or slightly less than a megabyte per second.

Most harddrives can probably handle sustained writing around 50 mb/s.

Thats 50 more times than the amount you're writing. So I guess storage would be your primary bottleneck. Yes you could quickly run out of space, producing 1 meg/sec.

a 2 hour video. 7200 seconds, around 7 gigs of space.
Thats DVD quality video you have there then.

You could saturate a typical 250 gig harddrive with 15 dvds basically.

Maybe you don't even really need much horsepower, unless you plan on editing.
 
Old 02-27-2007, 03:50 PM   #6
isync
Member
 
Registered: Feb 2007
Posts: 32

Original Poster
Rep: Reputation: 15
Now that's a comment. Thanks!

Any recommendations for video hardware -> software? As I am not up to digitizing DVDs but a tuner/video signal...
 
  


Reply

Tags
amd64, capture, composite, fileserver, mpeg, mpg, raid0, realtime, sata2, video, x2


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
LXer: Real-time Linux gains real-time JVM LXer Syndicated Linux News 0 10-12-2006 10:54 AM
Real-Time Multiple Stream Video Capture Notwerk Linux - Software 2 09-21-2006 02:43 PM
LXer: Capturing real-world knowledge with Protégé OWL LXer Syndicated Linux News 0 02-02-2006 06:46 AM
whats the best linux software for capturing MPEG 2 DVD format? maximalred Debian 0 09-19-2004 04:37 PM
Capturing video with Cinelerra works, capturing video with Xawtv doesn't! seaelf Slackware 0 06-27-2004 05:18 PM


All times are GMT -5. The time now is 09:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration