Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (72)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7031)

  • How to create bash script with ffmpeg to stitch together AVI files, then rotate 180 degrees ?

    25 septembre 2022, par Maude Rozencrance's Cat

    I'm trying to make a bash script in linux to stitch a bunch of AVI files together then rotate the vid 180 degrees. My code works, but without the rotation part.

    


    >videos.txt

files=DSCF*.AVI

for f in $files
do
    #make list of vids, copy to videos.txt
    echo "file '$f'" >> videos.txt;
    echo "duration 10.0" >> videos.txt;
    
done

#stitch all vids together
ffmpeg -f concat -safe 0 -i videos.txt -c copy bigvid.AVI


    


  • Bash script to convert imgs in subfolders to video (using ffmpeg and Ubuntu)

    2 novembre 2015, par mcExchange

    I’m trying to convert all files in folders given by

    allFolders.txt
    > head folderNames.txt
    0001
    0002
    0003
    0004
    0005
    ...

    to a video using ffmpeg

    ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers  built on Apr 20 2015 13:38:52 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
    configuration: --prefix=/home/myUsername/usr/local --enable-nonfree --enable-gpl --enable-pic --enable-shared --enable-libx264 --disable-vaapi

    According to some answers here on stackoverflow I wrote the following bash script :

    #!/bin/bash
    while read p; do
       cd "$p"
       ffmpeg -f concat -i "allImgNames.txt" -framerate 30 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4
       cd -
    done < folderNames.txt

    where allImgNames.txt is a text file containing all the image names.

    The strange thing is that it works for a few videos but for the rest of the filelist it fails saying allImgNames.txt: No such file or directory, which is not true. I checked all paths several times. Also I can execute the ffmpeg ... command above manually without problems.
    I don’t know what I’m doing wrong. All file / folder names are normal (no special characters). Maybe I don’t understand enough about bash or ffmpeg.

  • Convert cmd ffmpeg script to shell

    30 octobre 2015, par uran M

    its very simple code for cmd but i cant get how its should work on my nas with shell

    Please help to convert script :

    @echo off
    setlocal enableextensions enabledelayedexpansion

    Settings

    set sWorkFolder=d:\workfolder
    set sSourceFolder=%sWorkFolder%\waiting-to-convert
    set sDestFolder=%sWorkFolder%\done
    set sBackupFolder=%sWorkFolder%\trash
    set sPath2ffmpeg=%sWorkFolder%\ffmpeg\bin\ffmpeg.exe

    Start cycle

    for /r "%sSourceFolder%" %%i in (*.mp4) do call :action "%%i"

    endlocal
    exit /b

    :action
    setlocal enableextensions enabledelayedexpansion

    set "sSourcePath=%~dp1"
    set "sDestPath=%sDestFolder%!sSourcePath:%sSourceFolder%=!"
    if not exist "%sDestPath%." md "%sDestPath%"
    set "sDestFile=%sDestPath%%~n1.720p%~x1"

    "%sPath2ffmpeg%" -i "%~f1" -vcodec h264 -vf "scale=trunc(oh*a/2)*2:min(720p\,ih)" -b:v 2000k -preset faster -acodec copy -y "%sDestFile%"

    set "sBackupPath=%sBackupFolder%!sSourcePath:%sSourceFolder%=!"
    if not exist "%sBackupPath%." md "%sBackupPath%"

    move /y "%~1" "%sBackupPath%"

    endlocal
    exit /b