
Recherche avancée
Autres articles (108)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (14112)
-
Show Filename in Video ffmpeg batch script
19 mars 2019, par Oli ShingfieldI have a folder with around 10 different mov files. I would like to add the filename as text on each of the videos using ffmpeg in a bat file. Could someone help me achieve this please ?
EDIT :
I have tried using
@ECHO OFF&Setlocal EnableDelayedExpansion
Set INPUT=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3
Set OUTPUT=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3
for %%a in ("%INPUT%\*.*") DO (
set "filename=%%~na"
ffmpeg -i "%%a" -vf "drawtext=text=!fileName:.= !:x=105:y=120:fontfile=E:\\Users\\Oli\\Documents\\Projects\\v1.3.0\\downloads3\\impact.ttf:fontsize=25:fontcolor=white" -b:v 1M -r 60 -b:a 320k -ar 48000 -crf 17 "%%~na.mov"
)`But it gives me the error :
Cannot find a valid font for the family Sans
[AVFilterGraph @ 0000026eb75a9f40] Error initializing filter 'drawtext' with args 'text=FileName1'
Error reinitializing filters!
Failed to inject frame into filter network: No such file or directory
Error while processing the decoded data for stream #0:0 -
List Directory of files to text file sorted by creation date but don't show creation creation date in file
25 mars 2019, par Oli ShingfieldI’ve been doing some research on this problem but I can’t get my head around it to suit my particular issue.
I would like to create a text file of a list of files in a directory, sorted by date but I don’t want the date to be shown in the file.
The code I have so far is :#create list of clips to merge
save_path = 'downloads/'
ignored = 'test.bat','mergeclips.bat','draw.bat'
onlyfiles = [f for f in listdir('downloads/') if isfile(join('downloads/', f)) if f not in ignored]
with open('downloads/clipstomerge.txt', 'w') as f:
for item in onlyfiles:
f.write("file '%s'\n" % item )This code ignores the bat files but lists everything else out to a text file in a format ready for ffmpeg to merge the clips. The format of the text file looks like this :
file 'ARandomClipName.mov'
file 'Butterflies.mov'
file 'Chickens.mov'At the moment the files are sorted alphabetically but I would like it to be sorted by creation date.
Does anyone have any ideas how I could modify my code to fix my problem ? -
libavdevice/gdigrab : fix ffmpeg -devices doesn't show gdigrab
17 mai 2019, par Jun Zhaolibavdevice/gdigrab : fix ffmpeg -devices doesn't show gdigrab
missed the category AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT lead to
ffmpeg -devices doesn't show gdigrab as a input deviceFIx #7848
Found-by : dangibson
Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Jun Zhao <barryjzhao@tencent.com>