Recherche avancée

Médias (91)

Autres articles (49)

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

  • ffmpeg overlay video on image and remove video black background

    15 septembre 2021, par Moslem Aslani

    Im using this ffmpeg command to overlay a video on image (with remove black background) :

    


    ffmpeg -loop 1 -i image.png -i video.mp4 -filter_complex [1:v]colorkey=0x000000:0.1:0.1[ckout];[0:v][ckout]overlay[out] -map [out] -t 5 -c:a copy -c:v libx264 -y result.mp4


    


    enter image description here

    


    But as you can see in the picture, the black parts of the ball have also disappeared. How can I solve this problem ?

    


  • FFmpeg with mp4 file, segment and concatenate doesn't recreate the original video, why ?

    5 février 2023, par tttterrgi79

    I'm trying to segment and concatenate mp4 file with FFmpeg.

    


    First I segment the video file :

    


    ffmpeg -i input.mp4 -c copy -map 0 -f segment -reset_timestamps 1 output%03d.mp4


    


    Then I concatenate

    


    ffmpeg -f concat -safe 0 -i list.txt -c copy -movflags faststart done.mp4 


    


    My expectation is that the videos should be the exact same, however a lot of differences appear, the bytes size is slightly different, then with FFprobe I find differences in streams, as both video streams and audio streams have different starting times and durations.

    


    The reason I'm asking this, because I want to first segment the file, then reencode several parts of the video with different program, and then concatenate back, but this will not work if timestamps are messed up in the process.

    


  • FFmpeg problems encoding and concat

    4 juillet 2020, par Random

    I have 10 videos with different encodings. I would like to re-encode them to the same format and then join them all together into one long video.

    


    I have tried the following :

    


    Encoding :

    


    ffmpeg -y -i <videoname> -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k -movflags &#x2B;faststart -vf scale=-2:720,format=yuv420p -r 60 <videoname>-export.mp4&#xA;</videoname></videoname>

    &#xA;

    Concat :

    &#xA;

    ffmpeg -y -f concat -safe 0 -i info.txt -s 1280x720 -crf 24 output.mp4&#xA;

    &#xA;

    All files are set in the info.txt file, but the problem is that when I'm running the concat command, I just get "non-monotonous dts in output stream re-encode" -error. When I playback the video and skip parts of the video, its just frozen and audio is fully out of sync.

    &#xA;

    I'm 99% sure I need to re-encode every video first (because they have different encodings by default), which I have done.

    &#xA;

    I'm really new to FFmpeg so all possible help is needed.

    &#xA;