This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import vlc | |
import pygame | |
def callback(self, player): | |
print 'FPS =', player.get_fps() | |
print 'time =', player.get_time(), '(ms)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pygame | |
pygame.init() | |
percorso='13.mpg' | |
#percorso='/home/pi/MULTIMEDIA/13.mpg' | |
a=pygame.movie.Movie(percorso) | |
cine=pygame.movie.Movie(percorso) | |
pygame.movie.Movie(percorso) | |
#print cine | |
a.play() |