
Recherche avancée
Autres articles (45)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (6899)
-
Python - Popen(shlex.split(command), shell=False) - not working with ffmpeg
1er octobre 2014, par speedyrazorI am using
Popen(shlex.split(command)
to run an ffmpeg command which saves out wav files from a quicktime mov file and also save an ffmpeg log file at the same time. if I use this :command = './ffmpeg/ffmpeg -i /Users/me/Documents/MOVS/source.mov -map 0:1 -acodec pcm_s16le -y /Users/me/Documents/MOVS/source_01.wav'
p = Popen(shlex.split(command), shell=False)Then the command completes correctly, but if I add the line which saves out a logfile then it no longer works, so if I use :
command = './ffmpeg/ffmpeg -i /Users/me/Documents/MOVS/source.mov -map 0:1 -acodec pcm_s16le -y /Users/me/Documents/MOVS/source_01.wav 2> /Users/me/Documents/MOVS/lofFile.txt'
p = Popen(shlex.split(command), shell=False)Then it no longer works. Using either command in the command line, without python, works fine. If I just use :
p = Popen(command, shell=True)
Then all works well, but I need to use the
shell=False
for other reasons.I just can’t understand why it breaks by adding the ’correct’ end line of
2> /Users/me/Documents/MOVS/lofFile.txt
-
avfilter/showwaves : split out draw sample code
26 décembre 2013, par Clément Bœsch -
avformat/matroskaenc : Split assembling CodecPrivate from writing it
16 juin 2022, par Andreas Rheinhardt