[gst-devel] some issues when trying to save content to disk during http progressive downloaded
Zhao, Halley
halley.zhao at intel.com
Wed Sep 8 04:21:26 CEST 2010
Thanks.
I understand that there are possible headers at the START or the END, however my question is about the saved contents, not playback itself during progressive downloaded.
If I don't add a tee and filesink to save the content, all my mentioned contents can playback in progressive downloaded well.
Especially for the mp4 contents mentioned, files are different (even file size) between save during playback and save directly from souphttpsrc:
gst-launch-0.10 souphttpsrc location=http:// 10.238.37.11/share/media/video/test.mp4 ! tee name=t ! decodebin ! ffmpegcolorspace ! xvimagesink t. ! queue ! filesink location=test.mp4
gst-launch-0.10 souphttpsrc location=http:// 10.238.37.11/share/media/video/test.mp4 ! filesink location=/home/halley/swap/streaming/test2.mp4
I suspect soup request header at the END of the mp4 file when playback starts, but this header isn't save to file by filesink.
-----Original Message-----
From: Michael Smith [mailto:msmith at xiph.org]
Sent: 2010年9月8日 10:02
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] some issues when trying to save content to disk during http progressive downloaded
On Tue, Sep 7, 2010 at 6:45 PM, Zhao, Halley <halley.zhao at intel.com> wrote:
> During playback of progressive content, I tried to save the content to disk
> as well.
>
> But the result is strange:
>
> Some contents are saved correctly, some contents are saved but can’t
> playback again; some contents even can’t playback during progressive
> downloaded.
What you describe sounds like what's expected.
True streaming formats (like ogg) work fine.
Formats that may have the headers at the start OR the end vary - some
have the headers at the end, so they're not playable until you've
downloaded the entire file. Some have them at the start, so
progressive download/playback works.
This doesn't have anything to do specifically with GStreamer, it's
simply how the formats work.
Mike
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list