Recherche avancée

Médias (91)

Autres articles (42)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7589)

  • How to merge two videos using ffmpeg Android

    12 août 2021, par Usama Shakeel

    I have two videos which I want to merge. Both have same resolution. The second video does not have any audio

    


    ffmpeg -i test.mp4 -i picture.mp4 -filter_complex "[0:v] [0:a] [1:v] [1:a] concat=n=1:v=2:a=1 [v] [a]" -map "[vv]" -map "[aa]" mergedVideo.mp4

    


    this is the command that I am using but I am getting the following error
Stream specifier ':a' in filtergraph description [0:v] [0:a] [1:v] [1:a] concat=n=2:v=2:a=1 [v] [a] matches no streams.

    


    I am not very familiar with ffmpeg commands but I guess I am giving some wrong -filter complex values

    


  • 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"
  • FFMPEG - Concat Videos + Add Audio

    24 mars 2020, par John Doe

    I’m trying to pipe some videos into an ffmpeg command which will concat the videos (keeping their audio) and mix a background audio track over the whole thing. I need the video to end when the audio does.

    However right now this doesn’t work right. The music cuts out after the first video, and ffmpeg doesnt stop encoding when music stops. It seems simple enough but I’ve been working at this all night, any help would be appreciated.

    ffmpeg -y -hide_banner -protocol_whitelist file,pipe -f concat -safe 0 -i pipe: -i "music.mp3" -filter_complex "[1:a]afade=in:0:d=10,volume=0.5[music];[0:a][music]amix=duration=longest[a]" -map "0:v" -map "[a]" -c:v libx264 -x264-params keyint=120:scenecut=0 -c:a aac -ac 1 -ar 22050 -movflags faststart -r 30 -fflags genpts "%random%.mp4"