<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="text/html; charset=utf-8">
<pre style="word-wrap:break-word; font-size:10.0pt; font-family:Tahoma; color:black">Hi Sebastian!
I implemented it similar to filesink (sorry if this gets strangely formatted):
case GST_QUERY_SEEKING:
gst_query_parse_seeking (query, &format, NULL, NULL, NULL);
if (format == GST_FORMAT_BYTES)
{
gst_query_set_seeking (query, GST_FORMAT_BYTES, TRUE, 0, -1);
} else {
gst_query_set_seeking (query, format, FALSE, 0, -1);
}
And then I added a signal and callback seek(guint64 offset) which is emitted on a SEGMENT event.
My appsink is basically a custom filesink. I had nothing between mp4mux and the appsink.
/Kristoffer</pre>
<div>On Do, 2016-03-24 at 03:32 -0700, Kristoffer wrote:
<div class="shrinkable-quote">
<div class="shrinkable-quote"><br>
> I'm trying to add seek support for appsink. But it seems that the appsink <br>
> never receives the SEEKING query from the mp4mux. <br>
> <br>
> Mp4mux claims downstream is not seekable: <br>
> <br>
> qtmux gstqtmux.c:1695:gst_qt_mux_start_file: downstream is not <br>
> seekable <br>
> qtmux gstqtmux.c:1707:gst_qt_mux_start_file: warning: Downstream is <br>
> not seekable and headers can't be rewritten <br>
> <br>
> But I've implemented handling of the seek query and the appsink never even <br>
> receives the query. What can cause this? </div>
</div>
What's between your mp4mux and the appsink? And how did you implement <br>
the handling of the SEEK query in appsink, and especially how would you <br>
handle the actual seeking later? <br>
<br>
-- <br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_top" rel="nofollow" link="external">
http://www.centricular.com</a><br>
<br>
_______________________________________________ <br>
gstreamer-devel mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=4676549&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<div class="small"><br>
<img src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif">
<strong>signature.asc</strong> (968 bytes) <a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4676549/0/signature.asc" target="_top" rel="nofollow" link="external">
Download Attachment</a></div>
<br>
<br>
<hr noshade="noshade" size="1" color="#cccccc">
<div style="color:#444; font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/mp4mux-appsink-tp4676469p4676549.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/mp4mux-appsink-tp4676469p4676549.html</a>
</div>
<div style="color:#666; font:11px tahoma,geneva,helvetica,arial,sans-serif; margin-top:.4em; line-height:1.5em">
To unsubscribe from mp4mux & appsink, <a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
</div>
</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/mp4mux-appsink-tp4676469p4676551.html">Re: mp4mux & appsink</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>