Sample Code

muxine

muxine is a very small player that just creates a X11 window and play a given stream MRL. Source code: muxine.c.

You can compile muxine with:

gcc -Wall `pkg-config --cflags --libs x11 libxine` -lm muxine.c -o muxine

gtkxine

gtkxine demonstrates how to embed xine video into a GtkDrawingArea Widget. Source code: gtkxine.c.

You can compile gtkxine with:

gcc -Wall `pkg-config --cflags --libs gtk+-2.0 libxine` gtkxine.c -o gtkxine