
Recherche avancée
Autres articles (55)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (11711)
-
Bat Command of FFMPEG [closed]
7 juillet 2020, par FolojaGood day dear all users,


I would like to straight to the problem.
I have a folder in D :\Data\Movie as input folder and D :\Data\PabloRojas as output folder .


i want to process all the videos inside it with FFMPEG Command below ;
ffmpeg -vsync 0 –hwaccel cuvid -c:v h264_cuvid –resize 640x480 -i "input" -c:a copy -c:v h264_nvenc -b:v 5M "output"



The question is, what is the bat command that automatically process my files in input folder with my FFMPEG Command and put it in output folder ?


==========================================================================


Would be very nice of you if you can help me.


Best Regards,
Pablo Foloja Rojas


-
Handling white spaces in ffmped command
15 octobre 2015, par StrangerI am executing the below
ffmpeg
command for trimming videos.The issue I am having is that if filepath contains spaces then the command doesn’t work.I saw this answer and tried to add quotes to thefilepath
but still it doesn’t work.filepath
is the path of video from device storage.Since I am fetching many videos i don’t know the exact path.
Below is the command-String addQuotes(String in ) {
return "\"" + in + "\"";
}
execFFmpegBinary("-i " + addQuotes(filepath) + " -ss " + startMs / 1000 + " -to " + endMs / 1000 + " -strict -2 -async 1 " + dest.getAbsolutePath());
private void execFFmpegBinary(final String command) {
try {
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onFailure(String s) {
Log.e("Previewragment", "FAILED with output : " + s);
}
@Override
public void onSuccess(String s) {
Log.e("Previewragment", "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s) {
Log.e("Previewragment", "Started command : ffmpeg " + command);
Log.e("Previewragment", "progress : " + s);
}
@Override
public void onStart() {
Log.e("Previewragment", "Started command : ffmpeg " + command);
}
@Override
public void onFinish() {
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// do nothing for now
}
} -
i want to join two ffmpeg command to gather
11 décembre 2019, par Kishan MakaniThis command is for add video in to video :
ffmpeg -i 1.mp4 -i over.mp4 -filter_complex
"[0:v]setpts=PTS-STARTPTS,scale=224x400[top] ;[1:v]setpts=PTS-STARTPTS,scale=100x44[bottom] ;[top][bottom]overlay=x=115:y=346:eof_action=pass ;[0]volume=0.7[a1] ;[1]volume=0.3[a2] ;[a1][a2]amix=inputs=2[a]"
-acodec aac -vcodec libx264 -map 0:v -map "[a]" out.mp4This command is for add water mark and username text in to video :
ffmpeg -i 1.mp4 -i watermark.png -filter_complex
"overlay=main_w-overlay_w-5:main_h-overlay_h-15,drawtext=fontfile=/path/to/font.ttf:text=‘@Unknown’ :
fontcolor=white : fontsize=10 : box=1 : boxcolor=black@0.0 : boxborderw=5 :
x=160 : y=380" -codec:a copy output.mp4If i want to execute this two command together then what i have to do OR how can i join this two command in one ?