Recherche avancée

Médias (91)

Autres articles (34)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (3710)

  • Recursively list video duration for all files in a directory

    20 août 2014, par alidrongo

    I want to list all the filenames and durations for each video in a folder. Currently I can only target files individually :

    ffmpeg -i intro_vid001.mp4 2>&1 | grep Duration

    Could someone suggest how I can print this out in the terminal or to a text file for every video file within a folder ?

    I have tried with a shell script but am very new to shell scripts.

    if [ -z $1 ];then echo Give target directory; exit 0;fi

    find "$1" -depth -name ‘*’ | while read file ; do
    directory=$(dirname "$file")
    oldfilename=$(basename "$file")


    echo oldfilename
    #ffmpeg -i $directory/$oldfilename” -ab 320k “$directory/$newfilename.mp3″ null
    ffmpeg -i "$directory/$oldfilename" 2>&1 | grep Duration | echo
    #rm “$directory/$oldfilename”

    done
  • Recursively list video duration for all files in a directory

    20 août 2023, par Alistair Colling

    I want to list all the filenames and durations for each video in a folder. Currently I can only target files individually :

    



    ffmpeg -i intro_vid001.mp4 2>&1 | grep Duration

    



    Could someone suggest how I can print this out in the terminal or to a text file for every video file within a folder ?

    



    I have tried with a shell script but am very new to shell scripts.

    



    if [ -z $1 ];then echo Give target directory; exit 0;fi

find "$1" -depth -name ‘*’ | while read file ; do
directory=$(dirname "$file")
oldfilename=$(basename "$file")


echo oldfilename
#ffmpeg -i $directory/$oldfilename” -ab 320k “$directory/$newfilename.mp3″ null
ffmpeg -i "$directory/$oldfilename" 2>&1 | grep Duration | echo
#rm “$directory/$oldfilename”

done


    


  • ffmpeg watermark video while uploading

    30 décembre 2019, par Ilia Sotirov

    I have a CMS system for uploading videos using ffmpeg, I cannot figure a way to watermark the videos every time I’m getting errors (video cannot play) or error encoding etc.
    The command for processing the videos is :

    $shell     = shell_exec("$ffmpeg_b -y -i $video_file_full_path -vcodec libx264 -preset {$pt->config->convert_speed} -filter:v scale=426:-2 -crf 26 $video_output_full_path_240 2>&1");

    I have tried this command also :

    $shell     = shell_exec("$ffmpeg_b -y -i $video_file_full_path -vcodec libx264 -preset {$pt->config->convert_speed} -filter:v scale=426:-2 -crf 26 -i watermark.png -filter_complex 'overlay=10:10' $video_output_full_path_240 2>&1");

    This not seems to work.. is there any way I can troubleshoot this ?