Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (45)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (6475)

  • 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 )) && ext=( "${default_ext[@]}" ) || ext=( "$@" )
    echo "locations: ${videos[@]/$HOME/~}"
    echo "extensions: ${ext[@]}"

    for(( i=0; i<${#ext[@]}; i++ ))
    do
     (( i>0 )) && 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>&1 | awk '/Duration:/ {split($2, t, ":|,"); print $2 t[1]*3600+t[2]*60+t[3]; }' >> "$dump_file"
    done < <( 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"
  • 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 loglevel with level prefix

    13 mai 2020, par Matan Marciano

    I want to add level prefix to ffmpeg logs.&#xA;Im using ffmpeg -loglevel level&#x2B;info -i input&#xA;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

    &#xA;&#xA;

    When I am running it in my Ubuntu I got :

    &#xA;&#xA;

    Invalid loglevel "level&#x2B;info". Possible levels are numbers or:&#xA;"quite"&#xA;"panic"&#xA;...&#xA;...&#xA;...&#xA;"trace"&#xA;

    &#xA;&#xA;

    Please advise

    &#xA;