How to play multiple gstreamer udpsink streams in a Qt app?

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Wed Jan 2 22:22:46 PST 2013


Have you looked at using QtGstreamer which integrates Qt  and GStreamer.

It's like a low-level Qt binding for GStreamer.

HTH,
-mandeep


On Thu, Jan 3, 2013 at 3:07 AM, hobbesc7 <hobbesc7 at gmail.com> wrote:
> I have succesfully connected Gstreamer with my QWidgets, by getting the
> window handle using QWidget::winId(), and passing it to
> gst_x_overlay_set_xwindow_id().  I'm streaming video over the local network
> via udp.
>
> But now I want to display three separate streams, streamed to my Qt app on
> three different udp ports.
>
> The problem is the second (and third) stream won't start until I right click
> in the second widget (I have a QMenu context menu.) Then, both videos stream
> live.
>
> What am I doing wrong? I don't want to have to click inside the second
> widget to get the stream going.
>
> Do I need separate threads in which to run the g main loops?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-multiple-gstreamer-udpsink-streams-in-a-Qt-app-tp4657671.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list