/usr/share/doc/python-libavg/examples/video.py is in python-libavg 1.8.0-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from libavg import avg, player
canvas = player.createMainCanvas(size=(160,120))
rootNode = canvas.getRootNode()
videoNode = avg.VideoNode(href="mpeg1-48x48-sound.avi", pos=(10,10),
parent=rootNode)
videoNode.play()
player.play()
|