
Recherche avancée
Autres articles (109)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (13356)
-
Python 3 subprocess.popen() doesn't work on linux. Works on windows [closed]
30 avril 2021, par user2628458process = subprocess.Popen(
 cmd, shell=True,
 stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
 universal_newlines=True)
for line in process.stdout:
 # ...



I have this line that executes an FFmpeg job and throws out every line in the output to a variable. It works fine on Windows, but doesn't work at all on Linux. The
for
loop never gets executed. I can't find anything about this, or the difference between Windows and Linuxsubprocess.Popen()
. Can you please point me the right way to fix this ?

-
avconv : make -aspect work with streamcopy
26 mai 2013, par Anton Khirnov -
%a and %%a suddenly don't work in Win 10 cmd and batch file respectively ?
14 janvier 2017, par cobaltB12I was trying to batch convert a folder of .flac to .mp3 using FFMPEG, but when i ran my batch file I got the "%F is unexpected at this time" error, even though i used "%%F" in the batch file. To test what was really the problem, i proceeded to type variations of %F into cmd directly, but could not get it to work either. Did something change in windows 10 regarding the use of variable names in the for loop ?
cmd commands I tried :
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%F" in (*.flac) echo %F
"%F" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for %F in (*.flac) echo %F
echo was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%%F" in (*.flac) echo %%F
"%%F" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%f" in (*.flac) echo %f
"%f" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in (*.flac) echo %g
"%g" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in ("*.*") echo %g
"%g" was unexpected at this time.
C:\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy>for "%g" in ("*.*") do echo %g
"%g" was unexpected at this time.original batch file for FFMPEG
cd "\Users\yt\Music\Joe Hisaishi (Classical Guitar) - Copy"
echo in directory "%cd%"
pause
for "%%F" in ("*.flac") do (
echo converting "%%F"
"C:\Users\yt\Downloads\OtherApps\FFMPEG\bin\ffmpeg.exe" -i "%%F" -codec:a libmp3lame -qscale:a 2 "%%~nF.mp3"
echo del "%%F"
)
cd "%~dp0"