Regarding live playback using queue2 buffering & temp-template property

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Regarding live playback using queue2 buffering & temp-template property

Jyoti-2
Hi all,

I am using a application to play from httpsrc. I use neonhttpsrc plugin.
I use queue2 element to buffer the data. I set use-buffering=true on queue2 and also temp-template property to /tmp/XXXXXX.
It seems that the entire file is been downloaded in the file and only then the playback is started.

If I take out the temp-template property the playback starts pretty fast.
My concern is allowing seeking of the file. But without using temp-template property on queue2
if i do seeking the pipeline starts buffering data from the requested seek position.

gst-launch neonhttpsrc location="http://testmp4.mp4" ! queue2 use-buffering=true max-size-time=10000000000 temp-template=/tmp/XXXXXX ! qtdemux name=demux ! queue ! videodec ! videosink demux. ! queue ! audiodec ! audiosink

Is there any other way where I can seek fast?
And also can I restrict the amount of data to downloaded in file pointed by temp-template property.

Regards,
Jyoti

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel