On 11/30/2010 01:02 PM, Gordiychuck Oleg wrote:
> Thank you for reply, Luca!
> 
> May be i asked my quesition wrongly. So let me write little bit more about 
> what i want:
> 
> I'm developing p2p-video application (client+streamer+tracker) with ffmpeg.
> Everything is good now, i have own video-container to exchange live data,
> i use ffplay to play this stuff, via hooking av_open_input_stream to read
> data from buffer. Now i want to integrate my application into browser, but 
> i want to do it without flash(where p2p already presents). So afaik html5
> allows to develop own video players via js-frameworks for example jquery.

Those are based on the <video> tag. the decoding machinery is part of
the browser.

> But my video-data is not coming from file , it's coming from p2p-network
> and if to say more exactly: it is coming from buffer, which is located in RAM.
> Of course i can write a plugin for every browser. But i'm wondering if i can
> do it in html5 way. So my task is to write own html5 video player, that could
> be easily integrated into new browsers and that could read from buffer.

File js API and WebSocket should let you get data from a socket and
*possibly* you could feed the decoder with that (probably reformatting
it to be something the decode could understand).

Otherwise you could just use http pseudostream, I'm thinking about
having mkv, pardon webm, segmented and pseudostreamed using the js
playlist approach.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to