
Recherche avancée
Autres articles (44)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (5407)
-
converting complex ffmpeg command to python3
14 janvier 2020, par MartinI have a complicated
ffmpeg
command that takes audio and image as input, and exports a music video.ffmpeg -loop 1 -framerate 2 -i "front.png" -i "testWAVfile.wav" \
-vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1,format=yuv420p" \
-c:v libx264 -preset medium -tune stillimage \
-crf 18 -c:a aac -shortest -vf scale=1920:1080 "outputVideo.mp4"I’m trying to write a python3 program
cmdMusicVideo.py
which will run this command in pure Python. I know that to run this command you need theffmpeg
program, I’m trying to write it in pure python3, where I’m not just spawning a separate process to run the bash command where the user needs to haveffmpeg
installed.I’ve looked at the various solutions to running
ffmpeg
in python3, and they’re either :- A : Just running the
ffmpeg
command as a subprocess, where the user needs to haveffmpeg
installed - or B : An ffmpeg pip program like
ffmpeg-python
The pip libraries I’ve checkout out all use incredibly different formatting, and I haven’t found a way to replicate my
ffmpeg
command. I’ve searched theloop
command in their python package documentation and it doesn’t appear anywhere.Is there a way to convert my
ffmpeg
command into a python3 program where the user doesn’t need to already haveffmpeg
installed on their computer ?The plan is to eventually turn this into its own pip package, and my concern is that if I use the A method, there would be a case where somebody tries to run my pip command but doesn’t have
ffmpeg
installed on their terminal (maybe using a python3 specific terminal ?) - A : Just running the
-
Revision 37442 : On se base sur la valeur de l’id_orig pour vérifier si l’on doit mettre ...
20 avril 2010, par kent1@… — LogOn se base sur la valeur de l’id_orig pour vérifier si l’on doit mettre dans la file d’encodage et non pas sur le nom de fichier
Incrément mineur de version -
Revision 37301 : une image qui n’est plus nécessaire
15 avril 2010, par kent1@… — Logune image qui n’est plus nécessaire