Recherche avancée

Médias (91)

Autres articles (7)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (3745)

  • 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"
  • Safari on Yosemite doesn't get total media duration from init file of video generated using MP4Box

    30 avril 2015, par sonam

    I am trying to play HTML5 video using MediaSource Extesion. I am generating dash fragmnets using MP4Box. I am creating init fragment and respective dash fragments.

    I am creating mediasource and adding init fragment to it. When this is done, all the browsers where media source extension is supported(chrome, firefox developer version, android chrome, windows 8 IE11), return correct media duration. But the same doesn’t work with safari on Yosemite, where spec says media source is supported. So on safari, media duration is updated as and when data fragments are appended to it progressively. How can I make it work in safari ? Is there something that is missing from init fragment and how to add it ?

  • tests/audiogen : Fix total RIFF chunk size

    15 mars 2024, par Tobias Rapp
    tests/audiogen : Fix total RIFF chunk size
    

    The "RIFF" identifier and chunk size fields should not be included
    within the size value.

    • [DH] tests/audiogen.c