Re: Optimize video output from tv card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Tue, Aug 25, 2009 at 01:50:42PM +0200, Michael wrote:
> I want to output external video from a tv encoder card (USB) to the screen. 
> It works, but it uses too much CPU power. If the stream is played back at 
> 25fps it uses 100% CPU. With 15fps it is about 50%.

What kind of CPU usage? In "top"/"time"/whatever program, user or sys?
What values does the MPlayer command line show for CPU usage?

> When I instead use a webcam, I can reach 25fps with about 50% only. So I 
> guess it is somehow the internal processing. Is there a way to optimize it?

What internal processing? There isn't any serious amount of processing
for that case, though using something suitable for video output like
-vo xv or -vo gl:yuv=2 should be somewhat better.
>From personal experience: finding a TV card that is not total crap would
help most, though if such a thing exists is still unclear.
Though since you say it is an encoder card (by which I assume you mean
this thing has an actual hardware encoding chip), there are two obvious
points:
1) Most USB encoder cards only have an encoder because they only support
USB 1.1. You can't transfer 640x480x25 fps over USB 1.1, it's simply
impossible. Getting a USB 2.0 device helps there, though it can't fix
the fact that USB in any version sucks for actually transferring data.
2) Thus you should find out how to make this thing encode, having
to transfer less data over USB will always save more than the decoding
will cost.

Note that according to the output it is your webcam that supports
encoding (only JPEG, and MPlayer does not use it), to the TV card...
_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux