
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)
-
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 -
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 (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (8911)
-
File created in subprocess.run not found by os.listdir()
13 novembre 2019, par AbitbolI am using subprocess to launch an instance of ffmpeg extracting frames in a folder. Then I do
os.listdir
on that same folder and it returns an empty list ; off course I would except to see the files created by ffmpeg listed.Here is a minimal example
import os
import subprocess
folder = 'generated'
subprocess.run(['ffmpeg', '-i', 'input.mp4', '-vf', 'fps=4', f'{folder}/%05d.png'])
print(os.listdir(folder)) # []I can testify that the files are created while the script is running.
In the full example I am using ffmpeg complex filter to generate two output, I don’t think that is the source of the problem.
-
FLAC__stream_encoder_finish : Sanity improvement
30 janvier 2017, par Erik de Castro Lopo -
FFMPEG exec exit code 126
17 mai 2020, par Ali Lordhere is my code for FFMPEG



$mp3path=realpath("1.mp3");
$cmd = "/usr/include/ffmpeg -i $mp3path -ab 128 /home/swiftfa1/public_html/output.mp3 2>&1";
exec($cmd, $output, $value);
echo '<pre>'; print_r($output); echo '</pre>';
echo '<pre>'; print_r($value); echo '</pre>';
exit;




and here is my result :



Array
(
 [0] => sh: /usr/include/ffmpeg: Is a directory
)
126




I used whereis for ffmpeg path and searched a lot but can't solve my issue. any command returns 126 !