
Recherche avancée
Autres articles (13)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (2317)
-
FFMPEG video conversion for pygame
19 avril 2016, par Vladimir ShevyakovI am currently making a program on python (3) using the pygame module. One of the things I need it to do is to play a video which is currently in AVI format.
From what I managed to understand from the
pygame.movie
documentation I have to use FFMPEG and not another program to convert the video to an MPEG (I tried it with NCH Prism and the result was quite memorable).I managed to convert my file to an MPG using the sample command found in the
pygame.movie
documentation (ffmpeg -i <infile> -vcodec mpeg1video -acodec libmp3lame -intra </infile>
) but the video quality dropped very much. I tried looking at different cites but they never actually had a working example...Is there a way to keep the current video quality ? I don’t really care about the file size...
Thanks in advance !
-
subprocess call ffmpeg (command line)
23 mars 2017, par user3295674I have been incorporating subprocess calls in my program. I have had no issues with subprocess calls for other commands, but I am having trouble getting the command line input
ffmpeg -r 10 -i frame%03d.png -r ntsc movie.mpg
To work inside a subprocess.call()
I tried the following with no success :
subprocess.call('ffmpeg -r 10 -i %s frame%03.d.png - r ntsc movie.mpg')
Any thoughts ? Do I separate out different commands, do I specify string, integer etc. with
%s
,%d
? -
subprocess call ffmpeg (command line)
22 juillet 2021, par user3295674I have been incorporating subprocess calls in my program. I have had no issues with subprocess calls for other commands, but I am having trouble getting the command line input



ffmpeg -r 10 -i frame%03d.png -r ntsc movie.mpg




To work inside a subprocess.call()



I tried the following with no success :



subprocess.call('ffmpeg -r 10 -i %s frame%03.d.png - r ntsc movie.mpg')




Any thoughts ? Do I separate out different commands, do I specify string, integer etc. with
%s
,%d
?