Recherche avancée

Médias (0)

Mot : - Tags -/alertes

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (63)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans 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 (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (8818)

  • How to split one overlay script to multiple part scripts ?

    4 mai 2024, par mikezang

    I can slide 30 images from left to center and countdown 10 seconds, then keep slide to left..., but run this script more than hours...

    


    script.txt

    


    [0:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s0];
[1:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s1];
...
[29:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s29];

[s0]split=2[bg][v];
[bg]drawbox=c=white:t=fill[bg];
[bg][v]overlay=x='if(between(t,0,10),max(W-w*(t-0),0),max(0-w*(t-10),0-W))',
drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%{eif\:10-t\:d}':
box=1:boxborderw=10|14:fontsize=24:x=w-tw-10:y=14:boxcolor=orange@0.4:fontcolor=red:enable='between(t,0,10)'[v0];

[v0][s1]overlay=x='if(between(t,10,20),max(W-w*(t-10),0),max(0-w*(t-20),0-W))',
drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%{eif\:20-t\:d}':
box=1:boxborderw=10|14:fontsize=24:x=w-tw-10:y=14:boxcolor=orange@0.4:fontcolor=red:enable='between(t,10,20)'[v1];
...


    


    script.bat

    


    ffmpeg -hide_banner ^
    -loop 1 -i "images\01.png" ^
    -loop 1 -i "images\02.png" ^
...
    -loop 1 -i "images\30.png" ^
    -filter_complex_script script.txt ^
    -t 300 -y videos/mergeYearsTest.mp4


    


    I think that I can split script to create 30 parts video then merge them to shorten time :

    


    scipt-01.txt

    


    [0:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s0];
[s0]split=2[bg][v];
[bg]drawbox=c=white:t=fill[bg];
[bg][v]overlay=x='if(between(t,0,10),max(W-w*(t-0),0),max(0-w*(t-10),0-W))',
drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%{eif\:10-t\:d}':
box=1:boxborderw=10|10:fontsize=24:x=w-tw-10:y=10:boxcolor=orange@0.4:fontcolor=red:enable='between(t,0,10)';


    


    script-01.bat

    


    ffmpeg -hide_banner -loop 1 -i "images\01.png" ^   
    -filter_complex_script script-01.txt -t 10 -y v01.mp4


    


    v01.mp4 is no any problems.

    


    script-02.txt

    


    [0:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s0];
[1:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s1];

[s0][s1]overlay=x='if(between(t,10,20),max(W-w*(t-10),0),max(0-w*(t-20),0-W))',
drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%{eif\:20-t\:d}':
box=1:boxborderw=10|10:fontsize=24:x=w-tw-10:y=10:boxcolor=orange@0.4:fontcolor=red:enable='between(t,10,20)';


    


    script-02.bat

    


    ffmpeg -hide_banner -i "v01.mp4" -loop 1 -i "images\02.png" ^
    -filter_complex_script script-02.txt -t 10 -y v02.mp4


    


    but this v02.mp4 is the same as v01.mp4 without slide next image, I also tried -loop 1 "v01.mp4", that will be error, what can I do to create v02.mp4 as the same affect with full script ?

    


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

    


    I got what I wonder, script-02 should be as below :

    


    script-02.txt
[0:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504 :-1 :-1,setsar=1[s0] ;
[1:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504 :-1 :-1,setsar=1[s1] ;

    


    [s0][s1]overlay=x='if(between(t,0,10),max(W-w*t,0),max(0-w*(t-10),0-W))',
drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%{eif\:10-t\:d}':
box=1:boxborderw=10|10:fontsize=24:x=w-tw-10:y=10:boxcolor=orange@0.4:fontcolor=red:enable='between(t,0,10)';


    


    script-02.bat

    


    ffmpeg -hide_banner 
    -loop 1 -i "images\01.png" 
    -loop 1 -i "images\02.png" 
    -filter_complex_script script-02.txt -t 10 -y v02.mp4


    


    enter image description here
enter image description here
enter image description here

    


  • How to set file name after merging video files (batch script, FFMPEG)

    4 juin 2022, par Subhradip Sarkar

    I use this bat script for converting .mp4(x264) files to .mp4(x265)

    


    for %% in ("*.mp4") do ffmpeg -i "%%a" -c:v hevc "%dp0NewFolder\%%~na[HEVC].mp4"


    


    So I'm trying to make another bat script for merging video files(concat).

    


    for %%i in (*.mp4) do echo file '%%i'>> vlist.txt
ffmpeg -f concat -safe 0 -i vlist.txt -c copy %~dp0NewFolder\%%~na.mp4


    


    Files to merge would be like
Vid_1.mp4,
Vid_2.mp4,
Vid_#.mp4
...

    


    I want to keep the part before "_" in the new file name

    


    What should I use instead of %% na ? To make it just Vid.mp4

    


    Currently it creates % na.mp4

    


  • Revision f4837579d1 : fixed script problem with config_force_x86_inc Change-Id : I226e5094d216b09dc47f

    5 août 2013, par Jim Bankoski

    Changed Paths :
     Modify /vp9/common/vp9_rtcd_defs.sh



    fixed script problem with config_force_x86_inc

    Change-Id : I226e5094d216b09dc47fa5511a66e2d314608000