Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (91)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (16057)

  • How do we determine the required dependencies for ffmpeg

    15 mars 2021, par user3656901

    I've installed ffmpeg on ubuntu. I am going to copy the compiled ffmpeg and required dependencies to a directory and copy that directory to another machine. This way we can run ffmpeg on another machine without installation. How do we determine the required dependencies to copy ? Saw instruction on this page : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu, but it didn't explain the required dependencies for ffmpeg.

    


    When I used ldd ffmpeg, I got something like :

    


        linux-vdso.so.1 (0x00007fffe20fd000)
    libavdevice.so.58 => /lib/x86_64-linux-gnu/libavdevice.so.58 (0x00007fc116e90000)
    libavfilter.so.7 => /lib/x86_64-linux-gnu/libavfilter.so.7 (0x00007fc116b10000)
    libavformat.so.58 => /lib/x86_64-linux-gnu/libavformat.so.58 (0x00007fc116890000)
    libavcodec.so.58 => /lib/x86_64-linux-gnu/libavcodec.so.58 (0x00007fc1152d0000)
    libavresample.so.4 => /lib/x86_64-linux-gnu/libavresample.so.4 (0x00007fc1152a0000)
    libpostproc.so.55 => /lib/x86_64-linux-gnu/libpostproc.so.55 (0x00007fc115270000)


    


    Are those the required dependencies ? It didn't list the files under bin, include or share folders.

    


  • How to determine WxH of video using ffprobe java android studio

    15 février 2021, par sara bensarghin

    I'm trying to concatenate two videos on Android. I would like to know how to work with ffprobe to determine WxH of the first video and scaling the second video to the resolution of the first video.

    


            a(new String[]{"-y",
                        "-ss",
                        String.valueOf(this.m),
                        "-t",
                        String.valueOf(this.a),
                        "-i",
                        (String) FileUtils.myUri.get(0),
                        "-ss",
                        String.valueOf(this.n),
                        "-t",
                        String.valueOf(this.b),
                        "-i",
                        (String) FileUtils.myUri.get(1),
                        "-strict",
                        "experimental",
                        "-filter_complex",
                        "[0:v]scale=320x240," +
                                "setsar=1:1[v0];[1:v]scale=320x240,setsar=1:1[v1];[v0][v1] concat=n=2:v=1",
                        "-ab",
                        "48000",
                        "-ac",
                        "2",
                        "-ar",
                        "22050",
                        "-s",
                        "320x240",
                        "-r",
                        "15",
                        "-b",
                        "2097k",
                        "-vcodec",
                        "mpeg4",
                        this.d},
                this.d);
    }



    


  • 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.