Streaming FLV files in http

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Streaming FLV files in http

Pierpaolo Gullˆa
Hi guys ,

this is my first messagge on the Gstreamer's mailing list.

SO i try to explain my need.

I want to develop an application that take and. mpg files (encoded with
ffmpeg , with mpeg2video for the video and mp2 for the audio).

I want one files , and encoding to the flv on the fly and streaming in
http this flv

I see that with gstreamer it's possible , but I dont' know the command
line instructions that I must to use on my Ubuntu 8.0.4 Box.

Can you provide to me some links or some instructions?

Best Regards.

Goodbye

Pierpaolo

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Ivan Murashko-2
Hello Pierpaolo,

I have the same problem (want to stream with gstreamer via http). After a small investigation I found that it's impossible to do it now with available plugins. In my opinion it can be done only by creating an own plugin.

The good start point is the tcpclient sink plugin (from base set). Do you want to cooperate with it? May be my info is obsolete and you've found what you need?

--
Best regards,
Ivan

On Sun, Jan 18, 2009 at 7:08 PM, Pierpaolo Gullˆa <[hidden email]> wrote:
Hi guys ,

this is my first messagge on the Gstreamer's mailing list.

SO i try to explain my need.

I want to develop an application that take and. mpg files (encoded with
ffmpeg , with mpeg2video for the video and mp2 for the audio).

I want one files , and encoding to the flv on the fly and streaming in
http this flv

I see that with gstreamer it's possible , but I dont' know the command
line instructions that I must to use on my Ubuntu 8.0.4 Box.

Can you provide to me some links or some instructions?

Best Regards.

Goodbye

Pierpaolo

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Sebastian Dröge-7
Am Samstag, den 31.01.2009, 14:18 +0300 schrieb Ivan Murashko:

> Hello Pierpaolo,
>
> I have the same problem (want to stream with gstreamer via http).
> After a small investigation I found that it's impossible to do it now
> with available plugins. In my opinion it can be done only by creating
> an own plugin.
>
> The good start point is the tcpclient sink plugin (from base set). Do
> you want to cooperate with it? May be my info is obsolete and you've
> found what you need?
You should use the flvdemux plugin from gst-plugins-bad. It supports
streaming over HTTP and other stuff ;)

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Pierpaolo Gullˆa
Hi Sebastain , thanks for your help!

Now i do another search in google , and I found this blog

http://blog.mycroes.nl/2008_06_01_archive.html

Now I have more clear how gstreamer works.

I must to try to take a mpeg2 files , create by ffmpeg , installed on
the sistem , and streaming this using the

flvdemux plugin from gst-plugins-bad

Do You have any idea about the command that we must to use ?

Thanks for the help

Best regards

Pierpaolo

Sebastian � ha scritto:

> Am Samstag, den 31.01.2009, 14:18 +0300 schrieb Ivan Murashko:
>  
>> Hello Pierpaolo,
>>
>> I have the same problem (want to stream with gstreamer via http).
>> After a small investigation I found that it's impossible to do it now
>> with available plugins. In my opinion it can be done only by creating
>> an own plugin.
>>
>> The good start point is the tcpclient sink plugin (from base set). Do
>> you want to cooperate with it? May be my info is obsolete and you've
>> found what you need?
>>    
>
> You should use the flvdemux plugin from gst-plugins-bad. It supports
> streaming over HTTP and other stuff ;)
>  


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Arnout Vandecappelle
In reply to this post by Ivan Murashko-2
On Saturday 31 January 2009 12:18:38 Ivan Murashko wrote:
> I have the same problem (want to stream with gstreamer via http). After a
> small investigation I found that it's impossible to do it now with
> available plugins. In my opinion it can be done only by creating an own
> plugin.

 I also needed that; however, in the end you'd need to implement a webserver
in this plugin (parse HTTP headers, parse URLs, support SSL, ...).  So in the
end I just wrote a php script that opens a UNIX socket and communicates this
(via DBUS) to the GStreamer application.  The GStreamer application then
either starts a new pipeline, or adds an fdsink to the running pipeline.

 I could send you the PHP script, but I don't think it's very reuseable.  If
you need inspiration, though...

 Regards,
 Arnout
--
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Ivan Murashko-2
Hello,

My idea by now is to write a very simple http server that will accept data from gstreamer (via fdsink or gdp for example) and send them back to the client. Thus it's very close to that you've done. It will be interesting to look at your code (as a sample).

--
Best regards,
Ivan

On Mon, Feb 2, 2009 at 11:24 AM, Arnout Vandecappelle <[hidden email]> wrote:
On Saturday 31 January 2009 12:18:38 Ivan Murashko wrote:
> I have the same problem (want to stream with gstreamer via http). After a
> small investigation I found that it's impossible to do it now with
> available plugins. In my opinion it can be done only by creating an own
> plugin.

 I also needed that; however, in the end you'd need to implement a webserver
in this plugin (parse HTTP headers, parse URLs, support SSL, ...).  So in the
end I just wrote a php script that opens a UNIX socket and communicates this
(via DBUS) to the GStreamer application.  The GStreamer application then
either starts a new pipeline, or adds an fdsink to the running pipeline.

 I could send you the PHP script, but I don't think it's very reuseable.  If
you need inspiration, though...

 Regards,
 Arnout
--
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Best regards,
Ivan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming FLV files in http

Thomas Vander Stichele
In reply to this post by Arnout Vandecappelle
On Mon, 2009-02-02 at 09:24 +0100, Arnout Vandecappelle wrote:

> On Saturday 31 January 2009 12:18:38 Ivan Murashko wrote:
> > I have the same problem (want to stream with gstreamer via http). After a
> > small investigation I found that it's impossible to do it now with
> > available plugins. In my opinion it can be done only by creating an own
> > plugin.
>
>  I also needed that; however, in the end you'd need to implement a webserver
> in this plugin (parse HTTP headers, parse URLs, support SSL, ...).  So in the
> end I just wrote a php script that opens a UNIX socket and communicates this
> (via DBUS) to the GStreamer application.  The GStreamer application then
> either starts a new pipeline, or adds an fdsink to the running pipeline.

You could take a look at flumotion (http://www.flumotion.net/ )  which
is an HTTP streaming server based on GStreamer and Twisted.  The
CPU-intensive stuff is done by GStreamer pipelines, using multifdsink as
the element to actually send data to clients.

Thomas

--
I'm sick of spending these lonely nights
training myself not to care
--
Flumotion - the only way to stream!
http://www.flumotion.net/

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel