
Recherche avancée
Autres articles (97)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
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
Sur d’autres sites (9423)
-
ffmpeg read from a file and apply filter_complex at once
30 janvier 2020, par AlexZhedaI am feeding
fls.txt
intoffmpeg -i
and applyingconcat
and a speedup.fls.txt
file 'input1.mp4'
file 'input2.mp4'
file 'input3.mp4'The command in one go looks as follows :
ffmpeg -i fls.txt \
-filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a] concat=n=3:v=1:a=1 [v][a];\
[v]setpts=0.5*PTS[v1];[a]atempo=2,asetpts=N/SR/TB[a1]" \
-c:v h264_nvenc -map "[v1]" -map "[a1]" x2.mp4The output is really weird and says something like
a
stream is not found. And it also looks like as if it’s trying to understand thefls.txt
itself and not its content as the parameters.
What am I doing wrong here and how can I correct it ?
Also, it’s a simplified example and I cannot write per hand 3 input file paths. I need it to be read from a file. I’m on windows 10 if that matters.EDIT :
From doing the suggested edits and expanding the-filter_complex
I get an error below.ffmpeg -f concat -safe 0 -i fls.txt \
-filter_complex "[0:v]setpts=0.5*PTS[v1];[v1]setpts=0.5*PTS[v2];[0:a]atempo=2,asetpts=N/SR/TB[a1];[a1]atempo=2,asetpts=N/SR/TB[a2]" \
-c:v h264_nvenc -map "[v1]" -map "[a1]" x2.mp4 \
-c:v h264_nvenc -map "[v2]" -map "[a2]" x4.mp4error :
Output with label 'v1' does not exist in any defined filter graph, or was already used elsewhere.
-
FFmpeg android video processing does not return error message
25 août 2018, par Дмитрий Мельчинfriends. I am creating a program that puts the sound and picture to video. I’m using the ffmpeg library https://github.com/bravobit/FFmpeg-Android.
The command looks like this :String command = "-i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/camcorder_video.mp4 -i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/watermark_png.png -i /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/playarrow.png -filter_complex [0]crop=720:720[croped];[1]scale=w=143:h=50[tmp];[croped][tmp]overlay=x=577:y=10[overlayed];[overlayed][2]overlay=x=150:y=10[overlayed2];[overlayed2]drawtext=fontfile=/data/user/0/com.radpony.vhs.camcorder/cache/VCR_OSD_MONO_1_001.ttf:text='PM 11\:06Aug..25 2018':fontcolor=white:fontsize=48:x=50:y=600[withdate];[withdate]drawtext=fontfile=/data/user/0/com.radpony.vhs.camcorder/cache/VCR_OSD_MONO_1_001.ttf:text='Play':fontcolor=white:fontsize=48:x=50:y=30 -codec:a copy -c:v libx264 -preset ultrafast /data/user/0/com.radpony.vhs.camcorder/files/RADVHS/rendered_video.mp4";
It works great for Android 6, but on the Samsung devices with Android 7 while processing of video ffmpeg just stops without displaying an error message.
If someone knows the solution to this problem, help, please -
FFmpeg IF/ELSE statement
13 mai 2022, par HrvojeI am doing reencoding of lots of video files, and sometimes some of them have subtitles included, some dont. Is it possible to "ignore"

-vf "subtitles=%%f:force_style='MarginV=25,Fontsize=20'" -sn
statement in FFmpeg command IF input file does not have subtitles included ?

My command is :


for %%f in (*.mkv) do ffmpeg -hwaccel nvdec -i "%%f" -strict -2 -max_muxing_queue_size 1024 -map_metadata -1 -map_chapters -1 -vf "subtitles=%%f:force_style='MarginV=25,Fontsize=20'" -sn -c:v hevc_nvenc -rc vbr -cq 24 -qmin 24 -qmax 24 -tier high -level 4 -preset medium -profile:v main10 -pix_fmt p010le -b:v 0K -ac 6 -ar 48000 -b:a:0 640k -c:a:0 ac3 -metadata:s:a:0 title="Dolby Digital" E:\Encoded\%%f



Note that there are more than 100 files in a batch and checking them by hand is time consuming.


Maybe right aproach is to first inspect file in a batch script and if that file has subtitles, then execute first command, if it does not have subtitles, execute second command. But, I dont know how to do a script like that.