Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (50)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (6475)

  • Applescript to batch convert videos with ffmpeg

    13 mai 2022, par Thad_Supersperm

    I'm trying to add padding to a large amount of videos in their folders. I created an app with AppleScriptEditor so I can drag and drop files and they're automatically converted. I found a script on the web, I edited it with the ffmpeg command I need, but it won't work because it wants to overwrite the source file.

    


    on open argv
    set paths to ""
    repeat with f in argv
        set paths to paths & quoted form of POSIX path of f & " "
    end repeat
    tell application "Terminal"
        do script "for f in " & paths & "; do ffmpeg -i \"$f\"  -vf pad=\"9/8*iw:ih:(ow-iw)/2:0:color=black\" \"$f\"; done"
        activate
    end tell
end open


    


    Note that I want to keep the filename, filetype and put the new file next to the old one but just add an underscore at the end of the new file, before the extension ; e.g. : file.ext. > file_.ext

    


  • cuesheet.c : Allow quotes around ISRC field

    26 avril 2016, par Erik de Castro Lopo
    cuesheet.c : Allow quotes around ISRC field
    

    With this change, flac now accepts cuesheets where the ISRC field is
    enclosed in double quotes. Added a test for this as well.

    Closes : https://sourceforge.net/p/flac/bugs/436/

    • [DH] src/share/grabbag/cuesheet.c
    • [DH] test/cuesheet.ok
    • [DH] test/cuesheets/good.005.quoted.isrc.cue
  • FFmpeg batch convert multiple files

    11 mars 2019, par John

    This command works great :

    ffmpeg \
    -i /mnt/share/Movies2/"nameofmovie.mkv" \
    -map 0:0 \
    -map 0:1 \
    -map 0:2 \
    -c:v libx264 \
    -preset veryfast \
    -tune film \
    -crf 18 \
    -c:a:0 copy \
    -c:a:1 copy \
    /mnt/share/Converted/"nameofmovie".mkv

    But i want to either be able to read the input file from a text file or to run this command one after another for each file i want to convert. Is there a script i can set up to do this ? Not all the files are in the same folder or the same format so something where i could just change the file name and format would be great. I used to have a bash script that could do this for an entire folder but that’s not what i am trying to do here. I am using Ubuntu server 18.04
    Also i’m pretty new to this i’ve found this for a whole folder :

    for i in *.avi;
    do name=`echo $i | cut -d'.' -f1`;
    echo $name;
    ffmpeg -i "$i" "${name}.mov";
    done

    But i dont know how to adapt this for individual files