[Glade-users] Video widget in glade file
- From: lrn1986 at gmail.com (LRN)
- Subject: [Glade-users] Video widget in glade file
- Date: Wed, 03 Jul 2013 14:04:56 +0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03.07.2013 13:39, Indira Valmiki wrote:
Hi all,
I want to play a video using glade and gtk programming.
Is it possible to add video as a widget to the glade file and
which format of video's are supported.
Thanks in advance .........
GTK and Glade do not deal with video directly.
Instead you should use a media library (such as libav) or a media
framework (such as GStreamer), and render the video into a GTK or GDK
window.
See a tutorial [1] for how to do it with GStreamer. From what i can see
there, the widget that video is drawn on in that tutorial is
GtkDrawingArea [2].
[1]
http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+5%3A+GUI+toolkit+integration
[2] https://developer.gnome.org/gtk3/3.8/GtkDrawingArea.html
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJR0/dHAAoJEOs4Jb6SI2CwCpwH/iscumZV9nzivIELbc510Gf+
3eVY5cA+igyakE818p6/bs7eaXCrd2JmiO2hPtOm9u1PO2zfQubJ7d/DQd3RZQri
e2/O3DKkVD2VpIGNUmkjQ3MFBdGtBcd92hWZqvmtMK3E9d+P9VFbJ6OGiFI/0q4f
/kj2Y4xQpCQPrNxMat9aHzWngHjR00lVm7EFcPtkJyubdNnkyUbA/0DoYPWPo0ho
Biy7/XMedGnI11xKXfaXcJt/9fxASA6m+ZnqbqX+lTZxIWSNhwX3MfXJAicFuBC4
1s3MVX465H06S29DcN8wHlU76fR6n1JOSI5xPP0SdU7JGUkvvn9hgwv7W7cwa8g=
=QO2d
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]