[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Need help on video output using gstreamer
From:       Yogesh Marwaha <yogeshm.007 () gmail ! com>
Date:       2011-10-14 6:41:03
Message-ID: CA+r9wRF+8CXi7giGLW8yjjWYWDyZw=G4Ld38zHrLHfkUQf6P-w () mail ! gmail ! com
[Download RAW message or body]

Hi,

I'm coding a media player using KDE/Qt and GStreamer (directly, no
Phonon). So far it is going good.

Now I'm adding full screen video mode and was toying with an idea of
having QGraphicsView and adding video widget and other widgets to it.

Idea is very similar to as implemented in Plasma::VideoWidget (No
special handling seems to be there, though it uses Phonon). But
despite my best efforts, I'm unable to have video inside
QGraphicsView.

On my part, I'm just adding my video widget using QGraphicsProxyWidget
and here is the relevant code regarding my video widget: -

    m_pVideoWidget = new VideoWidget(m_pVideoSink, mAvailableVisualisations);
    m_pVideoWidget->setVisible(false);
    gst_x_overlay_set_window_handle( GST_X_OVERLAY(m_pVideoSink),
m_pVideoWidget->winId());

Apart from above, there is no special code w.r.t. VideoWidget.
Everything is fine as long as I'm not using QGraphicsView.

So, I request the Phonon-gstreamer developers to guide me what I am
missing. (Understanding whole Phonon-gstreamer only for this seems
overkill to me).

Regards,

-- 
Yogesh M
http://sparklemedia.sourceforge.net/
_______________________________________________
kde-multimedia mailing list
kde-multimedia@kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic