<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Thank you Rov. I have similar results in that ogg files work with backward seek, but no luck with mpeg1/mpeg2/wmv/mp3. Any idea what the problem is? Is it just not developed yet?<BR><BR>&gt; From: rovjuvano@users.sourceforge.net<BR>&gt; To: gstreamer-devel@lists.sourceforge.net<BR>&gt; Date: Sat, 26 Jul 2008 10:55:24 -0400<BR>&gt; Subject: Re: [gst-devel] backward seeking<BR>&gt; <BR>&gt; On Fri, Jul 25, 2008 at 08:08:49PM +0000, Ash wrote:<BR>&gt; &gt; Has any developer out there gotten backward seek (negative rate) to work with GST_FORMAT_TIME?<BR>&gt; <BR>&gt; Yep.<BR>&gt; <BR>&gt; gint64 start_pos, stop_pos;<BR>&gt; if (rate &gt; 0) {<BR>&gt; start_pos = new_pos;<BR>&gt; stop_pos = -1; // or whatever &gt; new_pos<BR>&gt; } else {<BR>&gt; start_pos = 0; // or whatever &lt; new_pos<BR>&gt; stop_pos = new_pos;<BR>&gt; }<BR>&gt; if (!gst_element_seek (pipeline, rate,<BR>&gt; GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,<BR>&gt; GST_SEEK_TYPE_SET, start_pos,<BR>&gt; GST_SEEK_TYPE_SET, stop_pos)) {<BR>&gt; g_message ("Seek failed");<BR>&gt; }<BR>&gt; <BR>&gt; I've only had luck with ogg-vorbis and ogg-theora.<BR>&gt; <BR>&gt; <BR>&gt; -------------------------------------------------------------------------<BR>&gt; This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<BR>&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<BR>&gt; Grand prize is a trip for two to an Open Source event anywhere in the world<BR>&gt; http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/<BR>&gt; _______________________________________________<BR>&gt; gstreamer-devel mailing list<BR>&gt; gstreamer-devel@lists.sourceforge.net<BR>&gt; https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR><br /><hr />Use video conversation to talk face-to-face with Windows Live Messenger. <a href='http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008' target='_new'>Get started.</a></body>
</html>