[Top][All Lists]

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

RE: [Gnash-dev] Gnash: streaming from VLC server

From: Tomas Groth
Subject: RE: [Gnash-dev] Gnash: streaming from VLC server
Date: Wed, 28 Feb 2007 14:57:50 +0100 (CET)


> > 
> > This should be possible with gnash, it might already work, 
> > though only with http for now, because of we're currently 
> > using curl, which might change.
> > 
> I was referring to the streaming support inside ffmpeg when it is compiled
> with network support. Ffmpeg with network support entirely supports streaming
> via http or rtsp. There is no need to use libcurl for receiving the stream,
> this will be entirely handled by ffmpeg. Libcurl would only to be used for
> controlling the vlc server, e.g. for manipulating/retrieving playlists and
> directorylists.

We've chosen not to use ffmpeg network code, since it doesn't cache the file
being played, which is needed when seeking (as when using youtube). Right now
the code is aimed at playing non-streams such as youtube etc., since that's
what most users will want.

> So more precisely my questions are:
> - do gnash classes and methods exist (which use libcurl) to connect to a vlc
> server, open a file for streaming and start the streaming on the vlc server?

If you're using http i should think so, but i'm not completely sure.

> - do gnash classes and methods exist to, after the streaming from vlc has
> started, open a videowindow and call ffmpeg's av_open_input_file(stream_url,
> ...) to start receiving and render the stream?

As mentioned above we don't pass the streams url to av_open_input_file(), but
uses callbacks to fetch data and seek. If you got a simple swf working as a flv
player it should playback a movie.

I hope this answers your questions.



Alt i én. Få Yahoo! Mail med adressekartotek, kalender og

reply via email to

[Prev in Thread] Current Thread [Next in Thread]