View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Nov 22, 2005 4:59 am 
Offline
Joined: Tue Nov 22, 2005 4:52 am
Posts: 1
I'm considering MythTV as part of a security video project and was wondering how many usb tuners the hardware could handle.

I've read that uncompressed 640x480 video is 47 mb a second- a usb2 bus can handle 480 mb/s. So "theoretically" it could handle 9 feeds...

Throw in hardware encoding to reduce the size of the tuner stream and you may be able to get more.

Anyone got any thoughts on this? What's the largest number of usb tuners anyone has gotten working?

tks mightily

Scott Syms
Halifax, NS


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 4:11 pm 
Offline
Joined: Tue Nov 22, 2005 3:30 pm
Posts: 1
I think the theoretical amount and the actual amount of tuners you could use are going to be very different. All USB traffic is controlled by the processor. I don't know the details but I do know that the more you add the faster your processor and system bus are going to need to be. If you google for usb vs firewire you will find some good articles that explain that firewire is an end to end protocol that doesn't really need the CPU. USB on the other hand is controlled/trafficked by your processor and is therefore at the mercy of your CPU.

Something to think about if you do run into performance issues is building one myth backend server, then have several other systems with the tuners doing the recording but saving it to the backend server. A cluster of sorts. You could probably find some old 800 or 900 Mhz systems that could handle it just fine. I'm curious about this one so please post if you get this set up.

Matt


Top
 Profile  
 
 Post subject: One Major Problem.
PostPosted: Thu Dec 15, 2005 6:33 pm 
Offline
Joined: Thu Dec 15, 2005 6:24 pm
Posts: 1
The usb2 chain runs at 480 megabits per second. The video you want to encode is 47 megabytes per second. Now knowing that there
are 8 bits in one byte, that makes your usb2 chain run at 60 megabytes per second.
sorry about the bad news.
you might want to try pci slot instead or with the usb2.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 2:55 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Luckily its not going to be uncompressed video ;)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 16, 2005 8:19 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Yeah, we've done this math before in relationship to disk bandwidth, and for MPEG-2 compressed video you're talking more like 600 Kbytes/second. Figure it's a bit more once you add the protocol overhead for USB, but still under 1Mbyte/second. I'd be more worried about latency issues and CPU load, which is the same reason why DMA is so critical for the disk.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu