
Recherche avancée
Autres articles (103)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
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 (11973)
-
Can not add string to the video using ffmpeg base on PHP
13 septembre 2016, par Hạ TímI’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 !
-
bash scripting : pass string containing multiple parameters and filenames with spaces to ffmpeg
2 septembre 2016, par Mia LonI have a script that generates a text file with entries like :
-ss 5.5 -i "/path/vid 1.mp4" -t 3 "/path/vid out1.mp4"
But when I call ffmpeg with this string attached it fails.
If I quote the variable then ffmpeg considers the entire string as a single option, error "Option not found".
If I don’t quote, then for some reason ffmpeg ignores the double quotes and reports "/path/vid :No such file or directory.Even though it prints the input correctly as -i "/path/vid 1.mp4".
Replacing the double quotes around the filenames with single quotes doesn’t help.
But when I pass the string to zenity and then manually copy it into the terminal, it works :zenity --entry --entry-text "ffmpeg -nostdin $line2"
So I tried assigning the entire command to a var and then running
bash $var or exec $var, but no luck. Assigning it to an alias doesn’t work either : "command not found"Solution by Joan Estaban :
echo $stringvar | xargs ffmpeg
A short full script demonstrating the problem :
#!/bin/bash
fffile="/home/vume5/Desktop/dwhelper/bud grafting animation.mp4"
line="-ss 4.920000 -i \"$fffile\" -t 60.000000 -map 0 -c:v copy -c:a copy \"$fffile.cut.mkv\""
zenity --entry --entry-text "$line"
ffmpeg $line
read dummy -
checkasm : arm : Don’t start new const blocks for each string
16 juillet 2016, par Martin Storsjöcheckasm : arm : Don’t start new const blocks for each string
Each const block needs to be terminated by one endconst
invocation so either call endconst after each, or just
declare plain labels to the later strings.This fixes errors such as this, on some binutils versions :
checkasm.S:38 : Error : Macro `endconst’ was already defined
Signed-off-by : Martin Storsjö <martin@martin.st>