
Recherche avancée
Autres articles (92)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
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 (...)
Sur d’autres sites (7120)
-
In Command Line, how do I use a constant set by a nested For ?
20 octobre 2016, par Neo HeraklesIs it possible to set a variable through a For and then use its value ? I’m using two For, one to move across a whole folder and the other one to get the value I desire, the issue here is, the operation done by %watermark% doesn’t recognize the value of %duration%, I believe it’s trying the set the constant and then do the operation simultaneously and that’s why there’s no value, could you please tell me how to pass the variable’s value to duration ?
@echo off
setlocal
for %%G in ("%~dp0\water\*.mp4") do (
for /F "delims=" %%I in ('ffprobe.exe -v error -show_entries format^=duration -of default^=noprint_wrappers^=1:nokey^=1 %%I 2^>^&1') do (
set "duration=%%I"
ffmpeg.exe -i "%%G" -i Watermark.png -filter_complex "[0:v]scale=iw:ih[v0];[1:v][v0]scale2ref=iw/6:ih/10[logo][0v];[0v][logo]overlay=W-w-3:H-h-3:enable='between(t,%duration%/3,(%duration%/3)+2)'[v]" -map "[v]" -map 0:a -codec:v libx264 -preset ultrafast -crf 23 -codec:a copy "%~dp0\out\%%~nG.mp4"
)
)
endlocal
pauseThe output for this is
Undefined constant or missing '(' in '/3)+2)
so it’s definetely the constant the issue here.
Thanks for the help.Edit : SOLVED, the solution was to use %%I instead of %duration%
-
Generating thumbnails from multiple videos on Desktop, using ffmpeg, or something similar
6 février 2013, par BirkHi guys this is a long shot but here goes...
I basically have what I mentioned in the title running on my server. When I upload a video ffmpeg decomplies it and gives me screenshots, then I pick a screenshot that I want to use for that video. Currently, my server can process 3 videos at a time. The down side is that this uses up A LOT of the server processing power. :(
Is there a way, or a program, that can process several video at a time and generate me screenshots on my Desktop ? If this is possible then I can just use my spare computer here to process everything then upload the screenshots/video to my server.
This is what I basically have running now on the server. kayweb.com.au/blogs/Web-Development/Generating-screenshots-using-FFmpeg
Something like this, But this thumbnail generator puts everything into one image. I need to be able to choose with thumbnail I want to use.
http://www.tothepc.com/archives/make-movie-caps-screenshots-with-free-video-thumbnails-maker/Anyone have any suggestions ?
-
Add two commands in ffmpeg
12 juillet 2017, par Parikshit.S.ShekhawatI am using two commands, one to set size of frames and other to add water mark to left top corner
This command set size of frames to 720*1280
String[] complexCommandOne = "-y" ,"-i", path,"-strict","experimental", "-vf", "scale=720:1280","-preset", "ultrafast", output ;
Below command add watermark to above output file
String[] complexCommandTwo =
{"-y" ,"-i", output,"-strict","experimental", "-vf", "movie="+pngpath+" [watermark]; [in][watermark] overlay=x=10:y=10 [out]","-s", "720x1280","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000", "-ac", "2", "-ar", "22050","-preset", "ultrafast", fileName}
;Both these commands take 3-5 minutes on 20 seconds video
I want to merge these so that time can be reduced.
Any help. I am new i Ffgmeg