Play video with gtk +

any suggestion on how to play video using gtk +?

Regards, Lancy Norbert Fernandez

+3
source share
3 answers

To play videos on GTK + and other GTK bindings, you have many options.

Option: use a third-party library

1- Try using ogmrip-gtk , a set of Gtk interfaces that allows you to use the open source OGMRip library as a Gtk-widget.

2- You can use another gstreamer library . You can also easily use Gtk.

3- LibVLC - gtk. GTK LibVLC (- VLC Media Player?). .

:

1. - Banshee , Gtk #, , , GTK +.

2- . MPlayer Totem. ( , )

:

1- , MPlayer . . http://www.mplayerhq.hu/DOCS/HTML/en/commandline.html

GTK + ( open-source) . . GTK + , .

+4

GStreamer GTK +.

+4

Here is a tutorial on creating a media player in GTK + and GStreamer

Basically you want to add GtkDrawingArea to display the video and create playbin2 GstElement to play the video, and when GtkDrawingArea is implemented, you need to get the XID of the drawing area and pass it to the playbin element to tell where to show the video.

+4
source

Source: https://habr.com/ru/post/1755902/


All Articles