How to run the pipeline while the source is downloading from HTTP server?

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

How to run the pipeline while the source is downloading from HTTP server?

Ting Wang-3
Hi,

I am currently using GStreamer to write an application which can directly play video on http server. I am using "neonhttpsrc" as file source. During the playback, I found out that the demux and decode process will not start until the file has been fully downloaded. What I want is that the demux and decode process should start as soon as possible and not until getting the whole file. Is there any feature which can support this or did I miss some configuration about Gstreamer? Thank you for your attention and hope you can give me some advice :)

Best regards

Felix

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to run the pipeline while the source is downloadingfrom HTTP server?

Shi Ling-w20230

Which format did you play? (mp3, mp4, …) Which mode the httpsrc element working (push or pull)?

 

 

Shi Ling
Tel:86-10-84733539
Motorola (China) Technology Ltd.

No.1 Wang Jing East Road, Chao Yang District, 100102 Beijing


From: [hidden email] [mailto:[hidden email]] On Behalf Of Ting Wang
Sent: Friday, July 11, 2008 9:33 AM
To: [hidden email]
Subject: [gst-devel] How to run the pipeline while the source is downloadingfrom HTTP server?

 

Hi,

I am currently using GStreamer to write an application which can directly play video on http server. I am using "neonhttpsrc" as file source. During the playback, I found out that the demux and decode process will not start until the file has been fully downloaded. What I want is that the demux and decode process should start as soon as possible and not until getting the whole file. Is there any feature which can support this or did I miss some configuration about Gstreamer? Thank you for your attention and hope you can give me some advice :)

Best regards

Felix


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to run the pipeline while the source is downloadingfrom HTTP server?

Ting Wang-3
Hi, Ling

I made a mistake, the video clip I was testing is too short to fill the qtdemux input buffer. After reading the log in neonhttpsrc I found that neonhttpsrc was constantly feeding data into qtdemux. With a long video stream, I can see that the pipeline is working while downing the file. Thank you anyway :)

Best regards

Felix

On Fri, Jul 11, 2008 at 2:53 PM, Shi Ling-w20230 <[hidden email]> wrote:

Which format did you play? (mp3, mp4, …) Which mode the httpsrc element working (push or pull)?

 

 

Shi Ling
Tel:86-10-84733539
Motorola (China) Technology Ltd.

No.1 Wang Jing East Road, Chao Yang District, 100102 Beijing


From: [hidden email] [mailto:[hidden email]] On Behalf Of Ting Wang
Sent: Friday, July 11, 2008 9:33 AM
To: [hidden email]
Subject: [gst-devel] How to run the pipeline while the source is downloadingfrom HTTP server?

 

Hi,

I am currently using GStreamer to write an application which can directly play video on http server. I am using "neonhttpsrc" as file source. During the playback, I found out that the demux and decode process will not start until the file has been fully downloaded. What I want is that the demux and decode process should start as soon as possible and not until getting the whole file. Is there any feature which can support this or did I miss some configuration about Gstreamer? Thank you for your attention and hope you can give me some advice :)

Best regards

Felix



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to run the pipeline while the source is downloadingfrom HTTP server?

Thiago Sousa Santos-2
you could try taking a look at queue2 element. It allows you to set a minimum amount of data to buffer before playing.

On Fri, Jul 11, 2008 at 4:03 AM, Ting Wang <[hidden email]> wrote:
Hi, Ling

I made a mistake, the video clip I was testing is too short to fill the qtdemux input buffer. After reading the log in neonhttpsrc I found that neonhttpsrc was constantly feeding data into qtdemux. With a long video stream, I can see that the pipeline is working while downing the file. Thank you anyway :)

Best regards

Felix

On Fri, Jul 11, 2008 at 2:53 PM, Shi Ling-w20230 <[hidden email]> wrote:

Which format did you play? (mp3, mp4, …) Which mode the httpsrc element working (push or pull)?

 

 

Shi Ling
Tel:86-10-84733539
Motorola (China) Technology Ltd.

No.1 Wang Jing East Road, Chao Yang District, 100102 Beijing


From: [hidden email] [mailto:[hidden email]] On Behalf Of Ting Wang
Sent: Friday, July 11, 2008 9:33 AM
To: [hidden email]
Subject: [gst-devel] How to run the pipeline while the source is downloadingfrom HTTP server?

 

Hi,

I am currently using GStreamer to write an application which can directly play video on http server. I am using "neonhttpsrc" as file source. During the playback, I found out that the demux and decode process will not start until the file has been fully downloaded. What I want is that the demux and decode process should start as soon as possible and not until getting the whole file. Is there any feature which can support this or did I miss some configuration about Gstreamer? Thank you for your attention and hope you can give me some advice :)

Best regards

Felix



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel