<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Has any developer out there gotten backward seek (negative rate) to work with GST_FORMAT_TIME?<BR><BR>
<HR>
Date: Fri, 25 Jul 2008 18:11:23 +0200<BR>From: ylatuya@gmail.com<BR>To: gstreamer-devel@lists.sourceforge.net<BR>Subject: Re: [gst-devel] backward seeking<BR><BR>
<DIV dir=ltr>Hi! <BR>If you set the start time at 0, a backward seeking will try to seek to negatives values. It will place your stream at 0 mseconds and then it will try to go backward witch is imposible as it's the end of the stream. Try changing your start time to curpos*GST_MSECOND. It will seek to a new position with positive values and your stream will be played backward to the 0 position.<BR><BR>
<DIV class=EC_gmail_quote>2008/7/25 Ash <<A href="mailto:hashbrown100@hotmail.com">hashbrown100@hotmail.com</A>>:<BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV><BR>The seek returns true but just hangs. Are there any other messages I can see as to what is really happening in the pipeline?<BR>> From: <A href="mailto:thaytan@noraisin.net">thaytan@noraisin.net</A><BR>> To: <A href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR>> Date: Fri, 25 Jul 2008 00:08:46 +0100<BR>> Subject: Re: [gst-devel] backward seeking
<DIV>
<DIV></DIV>
<DIV class=EC_Wj3C7c><BR>> <BR>> On Thu, 2008-07-24 at 20:52 +0000, Ash wrote:<BR>> > Anybody know why backward seeking causes playback to hang?<BR>> > <BR>> > gst_element_seek(m_bin, -2.0 , GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH |<BR>> > GST_SEEK_FLAG_KEY_UNIT,<BR>> > GST_SEEK_TYPE_SET, 0,<BR>> > GST_SEEK_TYPE_SET, curpos*GST_MSECOND);<BR>> > <BR>> > Am I calling this wrong?<BR>> > <BR>> > <BR>> > ______________________________________________________________________<BR>> Whether reverse playback works depends on the container & codecs - it's<BR>> not implemented everywhere yet. You should check the return value from<BR>> gst_element_seek - was the seek refused?<BR>> <BR>> J.<BR>> -- <BR>> Jan Schmidt <<A href="mailto:thaytan@noraisin.net">thaytan@noraisin.net</A>><BR>> <BR>> <BR>> -------------------------------------------------------------------------<BR>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>> Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>> Grand prize is a trip for two to an Open Source event anywhere in the world<BR>> <A href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>> _______________________________________________<BR>> gstreamer-devel mailing list<BR>> <A href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR>> <A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR><BR></DIV></DIV>
<HR>
Time for vacation? WIN what you need. <A href="http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm" target=_blank>Enter Now!</A></DIV><BR>-------------------------------------------------------------------------<BR>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>Build the coolest Linux based applications with Moblin SDK & win great prizes<BR>Grand prize is a trip for two to an Open Source event anywhere in the world<BR><A href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target=_blank>http://moblin-contest.org/redirect.php?banner_id=100&url=/</A><BR>_______________________________________________<BR>gstreamer-devel mailing list<BR><A href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target=_blank>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV><br /><hr />Keep your kids safer online with Windows Live Family Safety. <a href='http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_family_safety_072008' target='_new'>Help protect your kids.</a></body>
</html>