
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (29)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (9807)
-
Revision 8b1a14d12f : Add support for native Solaris compiler on x86. Original patch by Ginn Chen gi
2 mai 2012, par Timothy B. TerriberryChanged Paths : Modify /vpx_ports/mem.h Modify /vpx_ports/x86.h Add support for native Solaris compiler on x86. Original patch by Ginn Chen against libvpx v0.9.0. I've forward-ported it to the current version (which mostly involved removing hunks that were no longer relevant), since I've (...)
-
using find in subprocess.call() gives error while the command executes properly from command prompt
28 février 2018, par Devaraj GHC:\Windows\System32> ffmpeg -i D:\devaraj\KPIX_test.ts -vf "blackframe" -an -f n
ull - 2>&1|find "Parsed" > D:\devaraj\info.txtthis works fine , writes the file info.txt
subprocess.call('ffmpeg' ,'-i', 'D:\devaraj\KPIX_test.ts' ,'-vf', '"blackframe"', 'D:\devaraj\KPIX_textfinal.mp3', '- 2>&1>','|','find', '"Parsed"', '>' ,'D:\devaraj\info.txt', 'shell=True')
gives an error buffer size must be integer
were as
subprocess.call('ffmpeg -i D:\devaraj\KPIX_test.ts -vf "blackframe" -an -f n
ull - 2>&1|find "Parsed" > D:\devaraj\info.txt', shell=True)gives an error
’find’ is not recognized as an internal or external command,
operable program or batch file.any help would be appreciated from d bottom of heart
-
subprocess.CalledProcessError command returned non zero exit status 1 even though the command works in the CMD
11 janvier 2024, par Lucas Soreauin Python, I want the duration of a video file without the FFmpeg Python library. This is the problematic line :


output = subprocess.check_output(['ffprobe', '-i', path, '-show_entries', 'format=duration', '-v', 'quiet'], universal_newlines=True)



And it gives this error :


subprocess.CalledProcessError: Command '['ffprobe', '-i', '"C:\\FFmpeg\\Encodes\\Forza Horizon 5\\FH5 AV1.mp4"', '-show_entries', 'format=duration', '-v', 'quiet']' returned non-zero exit status 1.



But the most important, and what I don't understand, is that, in the CMD, when I input
ffprobe -i "C:\FFmpeg\Encodes\Forza Horizon 5\FH5 AV1.mp4" -show_entries format=duration -v quiet
, I'm getting :

[FORMAT]
duration=101.480000
[/FORMAT]



In the Python file, the [FORMAT] tags will be removed so that I only have the duration, so there is no error. What's wrong with it ?


By the way,
raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output))
doesn't return anything

I've tried removing unncessary things such as
universal_newlines=True
, and tried to search for it online, but what I found online doesn't include the fact that when I run it in the CMD, it works