Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (64)

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

  • Apply a trim on the output of filter_complex ?

    8 décembre 2023, par PirateApp

    I have a filter complex expression that takes 4 input videos and combines them in 4 corners of the screen synced at a particular start time from each video

    


    ffmpeg \
    -i first_vid.mkv \
    -i second_vid.mp4 \
    -i third_vid.mkv \
    -i fourth_vid.mkv  \
    -filter_complex \
        "nullsrc=size=1280x720 [base]; \
        [0:v] \
            trim=start=40,\
            setpts=PTS-STARTPTS,\
            scale=640x360,\
            drawtext=fontfile=/Users/vr/Downloads/gameplay_vids/generated/control-freak-font/CONTF___.ttf\
            :text='one'\
            :fontsize=32\
            :fontcolor=0xFFFFFF\
            :alpha='if(lt(t,30),0,if(lt(t,35),(t-30)/5,if(lt(t,65),1,if(lt(t,70),(5-(t-65))/5,0))))'\
            :x=w-text_w-12\
            :y=h-text_h-12 [upperleft];\
        [1:v] \
            trim=start=35.05, \
            setpts=PTS-STARTPTS, \
            scale=640x360, \
            drawtext=fontfile=/Users/vr/Downloads/gameplay_vids/generated/control-freak-font/CONTF___.ttf \
            :text='two' \
            :fontsize=32 \
            :fontcolor=0xFFFFFF \
            :alpha='if(lt(t,30),0,if(lt(t,35),(t-30)/5,if(lt(t,65),1,if(lt(t,70),(5-(t-65))/5,0))))' \
            :x=w-text_w-12 \
            :y=h-text_h-12 [upperright]; \
        [2:v] \
            trim=start=36.467, \
            setpts=PTS-STARTPTS, \
            scale=640x360, \
            drawtext=fontfile=/Users/vr/Downloads/gameplay_vids/generated/control-freak-font/CONTF___.ttf \
           :text='three' \
           :fontsize=32 \
           :fontcolor=0xFFFFFF \
           :alpha='if(lt(t,30),0,if(lt(t,35),(t-30)/5,if(lt(t,65),1,if(lt(t,70),(5-(t-65))/5,0))))' \
           :x=w-text_w-12 \
           :y=h-text_h-12 [lowerleft]; \
        [3:v] \
            trim=start=35.097, \
            setpts=PTS-STARTPTS, \
            scale=640x360, \
            drawtext=fontfile=/Users/vr/Downloads/gameplay_vids/generated/control-freak-font/CONTF___.ttf \
           :text='four' \
           :fontsize=32 \
           :fontcolor=0xFFFFFF \
           :alpha='if(lt(t,30),0,if(lt(t,35),(t-30)/5,if(lt(t,65),1,if(lt(t,70),(5-(t-65))/5,0))))' \
           :x=w-text_w-12 \
           :y=h-text_h-12 [lowerright];  \
        [2:a] \
           atrim=start=36.467, \
           asetpts=PTS-STARTPTS[outa]; \
           [base][upperleft] overlay=shortest=1 [tmp1]; \
           [tmp1][upperright] overlay=shortest=1:x=640 \
           [tmp2];[tmp2][lowerleft] overlay=shortest=1:y=360 \
           [tmp3];[tmp3][lowerright] overlay=shortest=1:x=640:y=360[v] \
    " -map "[v]" -map "[outa]" -c:v libx264 -shortest -ss 00:00 -to 9999 "output.mp4"


    


      

    • I want to trim the part between 37:23 and 37:33 of the output video
    • 


    • Is there a way I can do this without writing a separate ffmpeg command like a pipe or a chain or multiple filter_complex expressions ?
    • 


    


  • Re-encode a video keeping the GOP structure of the original video [closed]

    5 avril, par Baltar27

    Is there a way to re-encode a video with ffmpeg keeping the GOP structure of the original file ? That is, if a frame is IDR, I, B or P in the input file, keep the same type in the output file, even if the GOP is variable and/or adaptive (it changes dynamically GOP type Open/Closed, the I period N or the P period M). Encoding in this way allows to maintain the maximum quality as the Open/Closed, I/B/P and GOP length decisions has been taken already by the original encoder.

    


  • CPU spike when transitioning from a still image

    21 avril 2016, par lagnat

    After streaming a still image (with x264) for a long period of time, the transition to live video makes the CPU spike to 100% for a period of time proportionally equal to how long the still image was streaming. More specifically, transitioning after a minute will result in a CPU spike lasting about 15 seconds. Transitioning after 30 minutes will result in that spike lasting closer to 3 minutes.

    Does this symptom make any sense and is there anything I can do about it ?