Created
November 15, 2013 17:50
-
-
Save wildlux/7488610 to your computer and use it in GitHub Desktop.
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() | |
a.set_volume(1) | |
del cine | |
pygame.quit() | |
cine=pygame.display.set_mode((200,300)) | |
cine=pygame.movie.Movie(percorso) | |
cine.play() | |
# funziona! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code run audio and video from 13.mpg but crash after 20 second about!