Skip to content

Instantly share code, notes, and snippets.

@mrbidon
mrbidon / pygame-vlc.py
Created August 11, 2016 22:13 — forked from smathot/pygame-vlc.py
Use VLC to play videos on a PyGame surface
import os
import sys
import vlc
import pygame
def callback(self, player):
print
print 'FPS =', player.get_fps()
print 'time =', player.get_time(), '(ms)'