
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (31)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (6001)
-
Anomalie #2910 : Erreur 404 après redirection après message forum ds un site avec URLs arbo.
8 janvier 2013, par Joachim SENEcela sur mon site, j’essaie maintenant sur http://raturenet.grml.eu/ … pareil pour URLs arbo et propres+.html cf. http://raturenet.grml.eu/spip.php?page=article&id_article=1
-
Anomalie #2910 : Erreur 404 après redirection après message forum ds un site avec URLs arbo.
8 janvier 2013, par Ben .http://raturenet.grml.eu avec le mot de passe ecureuil (http://grml.eu) Et sinon toi tu as eu le problème sur un site en quelle version spip2 ? spip3 ?
-
subprocess not creating output file of ffmpeg command
6 février 2021, par nsharma98I am trying to run an ffmpeg command that records my screen and creates an .mp4 file of the recording in python. The command works when I run it in my shell, but is not working when I am running it in a Python script using subprocess.


The issue is that when running it with subprocess, the output.mp4 file is not created.


Here is the command :

timeout 10 ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse -acodec aac -strict experimental output.mp4


Here is the python code :


os.chdir('/home/user/Desktop/myProject/')

subprocess.run('timeout 5 ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 -f alsa -ac 2 -i pulse -acodec aac -strict experimental out.mp4')



Is there an additional configuration to add so that subprocess can write output files ?