Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (98)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

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

Sur d’autres sites (10854)

  • What is the most efficient way of stacking two videos using ffmpeg ?

    4 octobre 2024, par technical_difficulty

    I want to stack two videos of a talk together vertically using ffmpeg. One shows the presentation (slides) and one shows the speaker. Since I want to do this for several talks, I'd like to do this in a more general way and as efficiently as possible. Most of the time the videos have different resolutions and aspect ratios.

    


    My current workflow is :

    


      

    1. Scale the video with the lower resolution up to match the resolution of the other video :
ffmpeg -i video1.mp4 -s 1920x1080 -c:a copy video1_upscaled.mp4

      


    2. 


    3. Stack the two videos :
ffmpeg -i video1_scaled.mp4 -i video2.mp4 -filter_complex vstack=inputs=2 combined.mp4

      


    4. 


    


    The videos are between one and two hours long and the commands do take a while to complete. Is there any way of saving some time ?

    


    Would it be faster to put black bars/borders around the smaller video instead of scaling it to the size of the other one ? Can the stacking be done in a more efficient way ? Would it help a lot if those two steps were combined into one ?

    


    Some information that might be relevant :

    


      

    • it's always exactly two videos to stack vertically, one above the other
    • 


    • the quality of the video is not incredibly important, both having the resolution of the video with the lower resolution would be perfectly fine
    • 


    • disk space is not an issue
    • 


    • the resolution and aspect ratio of the videos are known (use any for your example)
    • 


    • both videos have the same audio
    • 


    • both videos have the exact same length
    • 


    


  • Can I detect duplicated videos using ffmpeg ?

    28 décembre 2020, par Tobias

    Is it possible to detect duplicate videos (.mp4 files) using ffmpeg (or similar tools) ?

    


    There are around 3000 videos in my file system, some of them twice (since these are automatically downloaded by a bot from various sources). So it can happen that these differ a little from the video / audio quality.

    


    My first idea now would be to render the videos to a quality that is consistent and store the MD5 hash of the file in the database. There I would check for duplicate hashes.

    


    Is this the right approach or does anyone have an idea how I could best implement this ?

    


  • How to merge four videos on one screen with ffmpeg [duplicate]

    9 mai 2021, par Andrey Prokhorenko

    I have a video test.mp4, and I need to make it appear four times at once on a screen.

    


    Here I found a command that makes two videos appear at a time

    


    ffmpeg -i input0.avi -vf "movie=input1.avi [in1]; [in]pad=640*2:352[in0]; [in0][in1] overlay=640:0 [out]" out.avi


    


    But it doesn't work with mp4 videos, and I need four videos at a time.