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, 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…. 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.. 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
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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…. > > > > > 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 > [hidden email] > 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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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. 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 [hidden email] 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost Sent: Friday, July 22, 2011 5:48 PM To: [hidden email] 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…. > > > > > 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 > [hidden email] > 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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost > Sent: Friday, July 22, 2011 5:48 PM > To: [hidden email] > 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 >> [hidden email] >> 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 >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 [hidden email] 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost Sent: Monday, July 25, 2011 1:58 PM To: [hidden email] 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 > [hidden email] > 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost > Sent: Friday, July 22, 2011 5:48 PM > To: [hidden email] > 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 >> [hidden email] >> 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 >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
hi,
On 07/25/11 13:50, Elmy Elias wrote: > 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. For a media player I would just do scrubbing seeks. Check out the seek examples under gst-plugins-base/tests/examples/seek/. Stefan > Regards > Elmy > > > > > > Elmy Elias > > > Teleca > Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India > Phone: +919880134224, Fax: +918066532001 > [hidden email] > 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost > Sent: Monday, July 25, 2011 1:58 PM > To: [hidden email] > 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 >> [hidden email] >> 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost >> Sent: Friday, July 22, 2011 5:48 PM >> To: [hidden email] >> 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 >>> [hidden email] >>> 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 >>> [hidden email] >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Elmy Elias
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 [hidden email] 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] 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 [hidden email] 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost Sent: Monday, July 25, 2011 1:58 PM To: [hidden email] 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 > [hidden email] > 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Stefan Kost > Sent: Friday, July 22, 2011 5:48 PM > To: [hidden email] > 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 >> [hidden email] >> 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 >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Tue, 2011-07-26 at 09:08 +0200, Elmy Elias wrote:
> 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 . That would be a bug somewhere. You can set the G_DEBUG=fatal_warnings environment variable and then run your application in a debugger such as gdb, which will then abort at the warning, and then you can see from the stack trace where it comes from. How well trick modes and especially backwards playback will work depends a lot on the exact circumstances: what is the exact playback pipeline, which demuxer or parser is used, what decoders are used, etc. Don't think the SKIP flag is implemented widely yet. You probably always want to do a FLUSHing seek in a player application. If your seek is not flushing, there may be a longer delay, because there may still be data in queues and elsewhere that needs to be processed. If a FLUSHing seek doesn't work in some circumstances, that needs to be fixed. Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks Tim..
Elmy Elias Teleca Block B, 3rd Floor, Salarpuria Hallmark, Kadubeesanahalli, Marathahalli-Sarjapur Outer Ring Road, Bangalore 560037, India Phone: +919880134224, Fax: +918066532001 [hidden email] 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=[hidden email] [mailto:gstreamer-devel-bounces+elmy.elias=[hidden email]] On Behalf Of Tim-Philipp Müller Sent: Tuesday, July 26, 2011 2:07 PM To: [hidden email] Subject: RE: FastFoward and FastRewind Issue with Gstreamer On Tue, 2011-07-26 at 09:08 +0200, Elmy Elias wrote: > 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 . That would be a bug somewhere. You can set the G_DEBUG=fatal_warnings environment variable and then run your application in a debugger such as gdb, which will then abort at the warning, and then you can see from the stack trace where it comes from. How well trick modes and especially backwards playback will work depends a lot on the exact circumstances: what is the exact playback pipeline, which demuxer or parser is used, what decoders are used, etc. Don't think the SKIP flag is implemented widely yet. You probably always want to do a FLUSHing seek in a player application. If your seek is not flushing, there may be a longer delay, because there may still be data in queues and elsewhere that needs to be processed. If a FLUSHing seek doesn't work in some circumstances, that needs to be fixed. Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |