Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (108)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (9597)

  • avcodec/webp : Switch to ff_vlc_init_from_lengths()

    18 avril, par Andreas Rheinhardt
    avcodec/webp : Switch to ff_vlc_init_from_lengths()
    

    The earlier code would traverse over the code lengths
    mutliple times (namely max_length + 1 times - once to get
    the maximum length and once for each max_length to assign
    codes) before calling ff_vlc_init_sparse() (which may traverse
    them twice and sort them). The new code only traverses them once
    (+ the one time in ff_vlc_init_from_lengths()).

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/webp.c
  • ffmpeg : check videos conformance for dash before concat

    26 janvier 2018, par Massimo Vantaggio

    I wrote a small bash file that reads a folder, generates a playlist, concatenates, adds a logo and encode the big video result for dash ready, i would like to implement it by checking before all videos conformance : if they have same fps, same resolution, same time base etc.
    Below my situation :

    #!/bin/bash
    # CONCAT DEMUXER
    #This demuxer reads a list of #files and other directives from a text file and demuxes them one after the other, as if #all their packets had been muxed together. All files must have the same streams (same #codecs, same time base, etc.) but can be wrapped in different container formats.



    printf "file '%s'\n" *.mp4 > playlist.txt
    ffmpeg -auto_convert 1 -f concat -safe 0 -i playlist.txt -c:a aac -b:a 384k -ar 48000 -ac 2 -async 1 -vsync 1 -c:v libx264 -x264opts 'keyint=50:min-keyint=50:no-scenecut' -r 25 -b:v 2400k -maxrate 2400k -bufsize 1200k -vf "scale=-1:432" -vf "movie=stable.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" out.mp4
    clear
    echo “VIDEO CONCAT COMPLETED”

    For example below i find this bash that calculate the total duration in second of the videos of the folder, unfortunately I’m unable to put the result into variable.. I’m newbie of bash.

    times=()
    for f in *.ts; do
       _t=$(ffmpeg -i "$f" 2>&amp;1 | grep "Duration" | grep -o " [0-9:.]*, " | head -n1 | tr ',' ' ' | awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }')
       times+=("$_t")
    done
    echo "${times[@]}" | sed 's/ /+/g' | bc

    I wish to check if the videos have the same fps, and same resolution before process, and to get into variable this duration.
    Thanks
    Massimo

  • Understanding ffmpeg -benchmark results

    6 septembre 2022, par Ivy Growing

    Adding -benchmark flag to ffmpeg command resutls with addition of following 2 lines in the shell output :

    &#xA;

    bench: utime=10.125s stime=4.234s rtime=5.606s&#xA;bench: maxrss=110080kB&#xA;

    &#xA;

    The maxrss serves to indicate the maximum RAM used during the ffmpeg execution. The utime, stime, rtime indicate accordingly :

    &#xA;

      &#xA;
    • user time ;
    • &#xA;

    • system time ;
    • &#xA;

    • real time.
    • &#xA;

    &#xA;

    I tried to understand the meaning of these times from the source code and failed. Please, help.

    &#xA;

      &#xA;
    1. Which of these times indicate how much time was human waiting while the ffpmeg was processing the video ?
    2. &#xA;

    3. Can this time be seen directly or it's a combination/calculation of these 3 parameters ?
    4. &#xA;

    5. How it can be for certain videos utime > rtime and for others utime &lt; rtime ?
    6. &#xA;

    &#xA;