how to optimize loading time of flash video.

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

how to optimize loading time of flash video.

Kasthuri Jayachand Yadlapalli
Hi,

while loading the 200MB flash  video.Gstreamer is taking long
time.Following is the code snippet.
How we can optimize this.


                            GstState l_gstState;
                            GstState l_gstPendingState;
                            do
                            {
                                if((m_eState ==
CPlayerEngineEnumerations::ERRORSTATE))
                                {
                                    break;
                                }
                                qint32 l_iMilliSecond = 1000;
                                //5 seconds in nanoseconds
                                GstClockTime l_gstTimeOut =
(GstClockTime)(5) * l_iMilliSecond * l_iMilliSecond * l_iMilliSecond;

                                ETG_TRACE_USR4 (("NewPlaySlot: Waiting
10 sec for complete state transition by Getting state"));
                                l_gstStateChange =
gst_element_get_state(m_pPipeline,

  &l_gstState,

  &l_gstPendingState,

  l_gstTimeOut);
                            } while(l_gstState != GST_STATE_PLAYING);



Thanks and Regards,
Y.K.JAYACHAND
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to optimize loading time of flash video.

Kasthuri Jayachand Yadlapalli
Hi ,


 While loading the 200MB flash  video.Gstreamer is taking long
 time.I had small fix to reduce the loading time for flash video.
This fix is done on flvdemux of gst-good plugins 0.10.21 version.

Please find the attachment of patch for fix and give a comment on this.

Thanks and Regards,
Y.K.JAYACHAND.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

attachment0 (964 bytes) Download Attachment