Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (7884)

  • FFmpeg loglevel with level prefix

    13 mai 2020, par Matan Marciano

    I want to add level prefix to ffmpeg logs.
Im using ffmpeg -loglevel level+info -i input
And it is working as well in my Mac (ios) but is not working in my Ubuntu 18 with ffmpeg version 3.4.6-0ubuntu0.18.04.1

    



    When I am running it in my Ubuntu I got :

    



    Invalid loglevel "level+info". Possible levels are numbers or:
"quite"
"panic"
...
...
...
"trace"


    



    Please advise

    


  • aaccoder : tweak PNS implementation further

    9 septembre 2015, par Rostislav Pehlivanov
    aaccoder : tweak PNS implementation further
    

    This commit changes a few things about the noise substitution
    logic :
    - Brings back the quantization factor (reduced to 3) during
    scalefactor index calculations.
    - Rejects any zeroed bands. They should be inaudiable and it’s
    a waste transmitting the scalefactor indices for these.
    - Uses swb_offsets instead of incrementing a ’start’ with every
    window group size.
    - Rejects all PNS during short windows.
    Overall improves quality. There was a plan to use the lfg system
    to create the random numbers instead of using whatever the decoder
    uses but for now this works fine. Entropy is far from important here.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/aaccoder.c
    • [DH] tests/fate/aac.mak
  • FFMPEG linux how to get the total time duration of a folder containing videos ?

    3 octobre 2015, par Andrea Turco

    i need to get the total count of video times in a folder

    I need to generate a file .txt that export just the total time of the videos in the folder in the format :

    HH:MM:SS

    Actually with this script i get just the duration of single files splitted..i need just single output in the file video_times.txt with the total duration.

    videos=( "/home/videos")
    default_ext=( mp4 avi )
    dump_file=./video_times.txt

    # parameters or default values?
    (( $#==0 )) &amp;&amp; ext=( "${default_ext[@]}" ) || ext=( "$@" )
    echo "locations: ${videos[@]/$HOME/~}"
    echo "extensions: ${ext[@]}"

    for(( i=0; i&lt;${#ext[@]}; i++ ))
    do
     (( i>0 )) &amp;&amp; find_params+=( -o )
     find_params+=( -iname '*.'${ext[$i]} )
    done
    find_params=( '(' "${find_params[@]}" ')' )

    rm "$dump_file" 2>/dev/null

    while IFS= read -rd '' f
    do
     echo "$(( ++n )): $f"
     # time in original HH:MM:SS.ms format and in SSSSSS.ms
     ffmpeg -i "$f" 2>&amp;1 | awk '/Duration:/ {split($2, t, ":|,"); print $2 t[1]*3600+t[2]*60+t[3]; }' >> "$dump_file"
    done &lt; &lt;( find "${videos[@]}" "${find_params[@]}" -print0 )

    awk -F, '    {
                  total=$2;
            #  printing numbers during work
            #      printf("%+10.2f\t(%10.2f)\n", $2, total );
                }
            END {
            #      print "-----------------------------";
                  printf( "%.2f seconds in %d files\n", total, NR );
                  h=total/3600; total%=3600;
                  m=total/60; total%=60;
                  printf( "%02d:%02d:%s\n", h, m, total )
                }' "$dump_file"