"Alessandro Decina" wrote:
> On 4/22/07, Dirk Meyer <[EMAIL PROTECTED]> wrote:
>> This is a proposal for the interface of kaa.record2. This is not
>> implemented yet, but if we agree to make it this way I will do
>> it. This doc does not cover how this is done in the internals of
>> kaa.record2.
>
>> Next we want some parts from that channel. E.g. audio and video in one 
>> stream and
>> teletext in another.
>> | video = device.get_stream(channel, 'audio,video')
>> | text  = device.get_stream(channel, 'teletext')
> Fine, but for dvb programs having multiple audio streams it should be
> possible to select which specific stream to return:
> audio_en = device.get_stream (channe, "audio-en")

I know, I was thinking of a kwargs parameter like
| video = device.get_stream(channel, 'audio,video', lang='en')

> Also, maybe Stream objects should support multiple outputs

Yes, they should. You can just use add_output more than once.

> for example if we want to record a show while watching it:
> sink = video.add_output ("xv")

That won't work, the recorder device may not be on the same machine as
the freevo player. So we need to use the network output for that. We
would stream the video to the player and that player will use xv
output (or whatever the user wants). That is why I added RTP and HTTP
outputs to the proposal. I know it is not perfect. I also have a
reingbuffer from a co-worker which could help us add seek and
live-pause to the tv interface. One idea would be to use the
ringbuffer at the tvdev and use HTTP for streaming. This would make it
possible to seek without adding extra code to the player.

stream -> ringbuffer -> http server ..... play http://someurl/


Dischi

-- 
Backup not found!  A)bort, R)etry or P)anic?

Attachment: pgp2Thvrn7GRV.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to