Hello all,

I was thinkig about a way to add live TV to mplayer/freevo, now have
this idea and I want your opinions on it.

This approch assumes a ivtv card, so /dev/video0 gives a mpeg2 stream.

>From what I understand about live TV, the problems are:

- Storing a buffer of "live" tv
- Not storing to much (doing "dd if=/dev/video0 of=buffer& mplayer
buffer" enables "live tv" but you'll run out of hard disc space pretty
soon)
- Minimalising the time taken between channel changes. (the appoch
outlined above is very bad at that as well)

So my idea is very simple: make a program that reads the video stream,
puts it in a dynamically allocated ring buffer and simaltaniously
(using threads) offers it for reading on a other filedescriptor or
stdout. On channel changes, the ring buffer would be created anew to
keep it from growing to big and to minimize channel change delay.

As far as I can see, this would solve the live TV problem. The only
thing you won't be able to do is rewinding in a stream, but I don't
care much about that.

So what do you guys think? is this possible? Should I continue
development of this little program? Or is it a futile exersise?

Best Regards,
Wander Winkelhorst.


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to