FastFoward and FastRewind Issue with Gstreamer

Elmy Elias Elmy.Elias at teleca.com
Tue Jul 26 00:08:32 PDT 2011


Hi,

Can I know the exact reason for getting an error  GStreamer-CRITICAL **: gst_segment_set_seek: assertion
`start <= stop' failed  when I do a reverse seek .

Thanks &  Regards
Elmy





Elmy Elias
 

Teleca
Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India
Phone: +919880134224, Fax: +918066532001
Elmy.Elias at teleca.com
http://www.teleca.com/

Follow what's going on at Teleca's blog on http://www.whatsyourideaoftomorrow.blogspot.com/.

The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly prohibited.

-----Original Message-----
From: gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org] On Behalf Of Elmy Elias
Sent: Monday, July 25, 2011 5:20 PM
To: Discussion of the development of and with GStreamer
Subject: RE: FastFoward and FastRewind Issue with Gstreamer

Hi Stefan,

This is actually fastforward and fastrewind implementation.

Here iam using speed as 4x and 20x  for rewind and fastforward.

And iam using qtgstreamer for mediaplayer imeplementation.

Regards
Elmy





Elmy Elias
 

Teleca
Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India
Phone: +919880134224, Fax: +918066532001
Elmy.Elias at teleca.com
http://www.teleca.com/

Follow what's going on at Teleca's blog on http://www.whatsyourideaoftomorrow.blogspot.com/.

The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly prohibited.

-----Original Message-----
From: gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org] On Behalf Of Stefan Kost
Sent: Monday, July 25, 2011 1:58 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: FastFoward and FastRewind Issue with Gstreamer

On 07/25/11 08:01, Elmy Elias wrote:
> Hi Stefan,
>
> Thanks for  your reply.. Regarding the forward seek delay which I mentioned in  my previous mail....The scenario is as follows.
>
> Ogg stream is in playing mode...do forward seek with   rate 20.0 value...after few second   do a seek for reverse direction for  rate value -4.0..then do a reverse seek with  rate value -20.0 ...after that   try to  do a forward seek with  a rate value of 20.0. 
rate=20.0 means you need 20 times cpu ressources that playing it at
rate=1.0. Also normal frequencies would be pushed out of the range that
people would be able to hear. What are you doing?

Stefan
> I could observe a delay in switching back to forward seek.
>
> The delay is more than few millisec.
>
> Here iam using seekflag as  GST_SEEK_FLAG_FLUSH for forward seek... and incase of backward seek GST_SEEK_FLAG_SKIP ..as with    GST_SEEK_FLAG_FLUSH pipeline doesn’t seek backward  as expected...
>
> Please provide a solution to this if any available...
>
> Thanks & Regards
> Elmy
>         
>
>
>
>
>
>
> Elmy Elias
>  
>
> Teleca
> Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India
> Phone: +919880134224, Fax: +918066532001
> Elmy.Elias at teleca.com
> http://www.teleca.com/
>
> Follow what's going on at Teleca's blog on http://www.whatsyourideaoftomorrow.blogspot.com/.
>
> The information contained in this message is confidential and is intended for the addressee(s) only. If you have received this message in error please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly prohibited.
>
> -----Original Message-----
> From: gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+elmy.elias=teleca.com at lists.freedesktop.org] On Behalf Of Stefan Kost
> Sent: Friday, July 22, 2011 5:48 PM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: Re: FastFoward and FastRewind Issue with Gstreamer
>
> On 07/22/11 10:57, Elmy Elias wrote:
>> Hi,
>>
>>  
>>
>> Iam developing a media player  using Qtgstreamer .
>>
>>  
>>
>>  
>>
>> Below APi  is been used for Seek functionality.But for fastforward and
>> FastRewind   functionality not working properly with these Api.
>>
>>  gst_event_new_seek(rate, static_cast<GstFormat>(format),
>>                                       static_cast<GstSeekFlags>(static_cast<int>(flags)),
>>                                        static_cast<GstSeekType>(startType), start,
>>                                        static_cast<GstSeekType>(stopType), stop );
>>
>>  
>>
>> Oggdemux and vorbisdec are used  to play Ogg files.For  oggstreams 
>> fastforward and rewind is working,,but when you consider the
>> performance ,I have observed that  there is  a delay in switching from
>> rewind state to fastforward state. Observed that  there is a time
>> delay  if you press on fastforward when the stream actually doing a
>> backward seek….
>>
> you mean forward seek.. How big delay is it? It might be a few ms.
>>  
>>
>> But for other streams like  AAC,Wma,MP3 with  FFMpeg support 
>> fastforward and rewind is not working…pipeline stops playing when 
>>  there is switch from fastforward state to Rewind state..
>>
> Not all formats support it well yet. To narrow it doen, you could use
> the seek example from gst-plugin-base/test/examples/seek - its a UI that
> lets you play with the various seek modes.
>
> Stefan
>>  
>>
>>  
>>
>> Can anyone please let me know what is the exact  seekApi  to be used.
>>
>>  
>>
>> How is the performance with opensource codec with gstreamer in case of
>> fastforward and fastrewind.
>>
>>  
>>
>>  
>>
>> Thanks & Regards
>>
>> Elmy
>>
>>  
>>
>>
>> *Elmy Elias
>> *
>>
>> *Teleca
>> *Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli,
>> Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India
>> Phone: +919880134224, Fax: +918066532001
>> Elmy.Elias at teleca.com
>> www.teleca.com <http://www.teleca.com/>
>>
>> /Follow what's going on at Teleca's blog on
>> www.whatsyourideaoftomorrow.blogspot.com
>> <http://www.whatsyourideaoftomorrow.blogspot.com/>.
>> /
>> /The information contained in this message is confidential and is
>> intended for the addressee(s) only. If you have received this message
>> in error please notify the sender immediately. The unauthorized use,
>> disclosure, copying or alteration of this message is strictly prohibited.
>> /
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list