
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (47)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)
Sur d’autres sites (4501)
-
Making a lossless video from a sequence of png image buffers using ffmpeg and c++
3 juillet 2013, par VenI am trying to create a movie file form a sequence of png buffers.
Can some one help me in understating how to create loss less mpeg4 video file from png buffers using ffmpeg and c++.
I know we can do this by command line if you are using .png files but i would like implement using c++ as i am creating loss less png buffer from raw data. -
Lossless video from a sequence of png image buffers using ffmpeg and c++
4 juillet 2013, par VenI am trying to create a movie file form a sequence of png buffers.
Can some one help me in understating how to create loss less mpeg4 video file from png buffers using ffmpeg and c++.
I know we can do this by command line if you are using .png files but i would like implement using c++ as i am creating loss less png buffer from raw data. -
How to mock an .mpg file for unit tests ?
28 juin 2012, par Richard KnopOk. I have a class which runs this command :
ffmpeg_command = "ffprobe -v quiet -print_format json -show_format -show_streams %s" % self.absolute_path
Where self.absolute_path is a path to a movie, let's say .mpg file.
The file I am using for testing is 4GB large and I don't want to commit it inside my GIT repo.
So I was thinking of mocking this file and creating a file called :
mock.mpg
Which would return the same string as the actual mpg movie when supplied as input to ffprobe command. Is that possible ?
Or what other approach should I choose ?
This is my class :
class Movie(object):
absolute_path = None
info = None
def __init__(self, path):
self.absolute_path = "%s/%s" % (os.getcwd(), path)
if(os.path.exists(self.absolute_path) is False):
raise IOError("File does not exist")
self.info = json.loads(self.get_info())
def get_info(self):
ffmpeg_command = "ffprobe -v quiet -print_format json -show_format -show_streams %s" % self.absolute_path
return subprocess.check_output(ffmpeg_command, shell=True)This is how I will be unit testing it :
class MovieTest(unittest.TestCase):
def test_foo(self):
movie = Movie("tests/test_1.mpg") # this file should be a mock file!!!