<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Le jeudi 20 février 2014 à 07:21 -0800, MartinK a écrit :<BR>
<BLOCKQUOTE TYPE=CITE>
    Many thanks for your reply. We are using qml to render the video. It<BR>
    provides its own video sink. Do you happen to know whether there is any way<BR>
    to override the qml-supplied videosink?<BR>
</BLOCKQUOTE>
<BR>
So I guess you don't have access to GST API from QML code is that right ? If that is, to do so you'll have to modify and rebuild the QML engine. Find a place where they allocate the playbin element (playbin2 for you). Here's a example of what it would look like (not tested):<BR>
<BR>
...<BR>
playbin = gst_element_factory_make ("playbin", NULL);<BR>
videosink = gst_parse_bin_from_description ("myfilter ! videoconvert ! qmlvideosink");<BR>
g_object_set (playbin, "video-sink", videosink, NULL);<BR>
...<BR>
<BR>
Note I have no idea what is the factory name of the QML video sink, if any. If there is no factory name, you'll have to create the bin, make the elements, add them to the bin, and link the elements manually.<BR>
<BR>
cheers,<BR>
Nicolas
</BODY>
</HTML>