Recherche avancée

Médias (91)

Autres articles (38)

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

  • How to overlay 2 videos at different time over another video in single ffmpeg command ?

    17 mars 2018, par Qandeel Abbasi

    Using ffmpeg command line I want to overlay 2 different videos on top of another (main video) at different time for different duration. I have successfully overlayed 1 video over the main video at specific time and for specific duration using following command :

    ffmpeg -i main.mp4 -i first.mp4 \
    -filter_complex "[1:v]setpts=PTS-32/TB[a]; \
                    [0:v][a]overlay=enable=gte(t\,5):eof_action=pass[out]; \
                    [1] scale=480:270 [over]; [0][over] overlay=400:400" \
    -map [out] -map 0:a \
    -c:v libx264 -crf 18 -pix_fmt yuv420p \
    -c:a copy \
    output.mp4

    How can i modify the same command to apply the same operations on two secondary videos at the same time ?

  • Append two videos without duplicating FFMPEG

    10 septembre 2021, par Hasindu Lanka

    Let's say we have 2 video files (X,Y) in the same format, codec and dimensions.

    


    X is a longer video with several gigabytes in size. Y is a short 10 second video. I want to append Y to the end of X without creating another copy of X (Because it's big in size)

    


    I have to repeat this process for hours with many 10 second videos arriving one after another.

    


    Currently, I'm concatenating files using ffmpeg.

    


    ffmpeg -f concat -safe 0 -i chunk.list -c copy final-video.mkv

    


    chunk.list contains file names of X and several 10 second videos. After this, X will be deleted and replaced by final-video.mkv. Then, repeat.

    


    But this needs twice the storage capacity and I/O operations. How to do this without creating duplicates ?

    


    It's okay to duplicate these 10 second videos. But duplicating that bigger file X really hurts performance.

    


    Additional info :

    


    All these videos will be encoded with H264, H265, VP8 or VP9 and contained in MKV or MP4 as they are codec copy friendly. Only one of these formats will be used.

    


    This is for a special case screen recorder that's supposed to run on cloud and preemptive remote desktops (Linux).
HTML/JS browser front-end captures the screen and sends to the back-end (Golang) as chunks through HTTP. Network route is undefined and unreliable as there can be firewalls/proxies between the front-end and the back-end. Therefore, we can't use connections like UDP. So the only option is to send video chunks using HTTP.

    


    It's FOSS on https://github.com/HasinduLanka/screencorder

    


  • concat 2 different image size multiple tracks videos

    12 avril 2020, par Mher Mkrtchyan

    I try concat two videos (1.mkv has 640:360 image size, 2.mkv has 1280:720 image size), both videos have 2 video tracks and 0 audio tracks. I tried this code :

    



    ffmpeg -i 1.mkv -i 2.mkv -filter_complex "[0:v:0]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0];[0:v:1]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v0];[v0][1:v:0][1:v:1]concat=n=2:v=2:a=0[v]" -map "[v]" -c:v "libvpx" 1+2.mkv


    



    But I have wrong :

    



    Filter pad has an unconnected output