Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (107)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11035)

  • Determine if FFmpeg ran successfully [duplicate]

    31 janvier 2021, par Spedwards

    I have a script I've been using to transcode videos from h264 to h265 in order to preserve space. A lot of manual effort is required to go through and delete the larger files (not always the h264 version). If I was able to determine whether or not FFmpeg finished successfully, I'd be able to save myself a lot of time.

    


    I'll cut out a lot of stuff that's not relevant to the question but below you'll find my script.

    


    function transcode() {
    output=$(echo "$1" | sed -r 's/^(.+)(\.\w{3})$/\1.h265\2/g');
    ffmpeg # a lot of options (including -hide_banner and -loglevel panic)
    echo "$output";
}

RESET=$(tput sgr0);
YELLOW=$(tput setaf 3);
CYAN=$(tput setaf 6);

for f in *.mp4; do
    original=$(stat -c %s "$f");
    echo "${YELLOW}Transcoding file: ${CYAN}$f${RESET}";
    new_file_name=$(transcode "$f");
    new_file_size=$(stat -c %s "$new_file_name");
    if [[ "$new_file_size" -gt "$original" ]]; then
        rm "$new_file_name";
    fi
    echo "";
done;


    


    Ideally, I'd like to delete the original source file if the transcoded file is smaller and FFmpeg ran successfully. Unfortunately due to various reasons FFmpeg can fail while transcoding.

    


    I have seen a few questions asking similar stuff but implementing it is just going over my head. I can't really be creating text files with the output either (though I guess that can be cleaned up as it goes).

    


    Any help would be greatly appreciated.

    


  • ffmpeg. Convert png files into hight quality mp4 file

    13 novembre 2016, par lfybt

    I want to convert png images into mp4 file by using ffmpeg.
    Original image :
    Original png image.
    There are 100 png images and all of them are the same.

    The command I use to do the conversion is ffmpeg -f image2 -i %d.png -s:v 720x576 -vcodec libx264 -crf 0 -preset veryslow -pix_fmt yuv420p out.mp4

    However, the color of Out.mp4
    is different from those files, espacially for the red line.
    It seems that there is color loss in the process of conveting.

    How can I get the mp4 without color loss ?

  • How to convert .flac to Apple Lossless with ffmpeg or afconvert on a Mac ?

    17 avril 2023, par Mac uzyszkodznik

    I need to convert a .flac file to Apple Lossless with ffmpeg or afconvert on a Mac, and don't want the file to weight more than original.

    


    I have tried it already with these 2 arguments :

    


     afconvert track.flac -d alac -o track.m4a


    


    ffmpeg -i track.flac -acodec alac track.m4a


    


    The problem is that they spit out 80-120mb files while the original file is 47.1 MB

    


    Duration: 00:06:57.77, start: 0.000000, bitrate: 900 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s32 (24 bit)