
Recherche avancée
Autres articles (43)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 ;
Sur d’autres sites (7014)
-
Can not add string to the video using ffmpeg base on PHP
1er août 2017, par Thanh DaoI’m new in ffmpeg and I’m trying to make a demo using ffmpeg.
Below is the PHP script$cmd = '"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i C:\wamp\www\vine-project\cron/tmp/t_42953497622724.mp4 --enable-libfreetype -vf "drawtext=fontfile=C:\wamp\www\demo-ffmpeg\cron/arial.ttf:text='Stack Overflow':fontcolor='Black':fontsize=19" -codec:v libx264 -codec:a copy C:\wamp\www\demo-ffmpeg\cron/tmp/text_42953497622724.mp4';
@exec($cmd, $output);
echo '<pre>';
print_r($output);
echo '</pre>';And then below is the result of output :
Array
(
)Before, I joined multi videos and add background successfully.
Input video file is exists.
What is my wrong ? Are something incorrect ?
3 cups of beer for each help :D
Sorry for my bad EnglishThanks for attention !
-
FFMPEG batch file to re-encode movies that don't contain string "h265" in file name ?
11 juillet 2017, par gregmI have a batch file that uses FFMPEG to re-encode movies to h265 to reduce file size. I have a few videos that I previously re-encoded over the past couple of years. I want to skip those and at the moment I just manually move them from subfolders before running my script, but this is getting tedious. I’d like to add a command to my batch file that skips those files automatically. All files that have been re-encoded in the past have h265 appended before the file extension. My batch file looks like this, but it isn’t skipping the files with h265 in them :
for %%a in ("*.*") do findstr /v /c:"h265" "%%a" >nul && \
ffmpeg -i "%%a" -c:v libx265 -preset ultrafast \
-x265-params [parameters] -c:a copy "%%~na.h265.mp4"
pauseWhat do I need to change to get this to work ?
-
FFMPEG set -ss and -to with string
6 juin 2017, par NewUserI know I can set the start with -ss and end with -to but can someone please help me to format the following so that I can enter the
-ss
and-to
with a string ?I want
-ss
to come fromString start = editStart.getText().toString();
and
-to
to come fromString end = editEnd.getText().toString();
Here is my ffmpeg string I want to edit, I have entered
-ss
and-to
to show where I want the above strings to be.String s = "-i" + " " + mVideoUri.toString().replace("file:///", "") + " -filter_complex [1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v] -ss -to -map [v]" + directoryToStore + "/" + FileName + mp4;
String[] arguments = s.split(" ");
ExecuteFFMPEG(arguments);