Recherche avancée

Médias (91)

Autres articles (41)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3802)

  • ffmpeg with background png

    9 août 2023, par hueta

    I need a video with aspect ratio 9:16 to be overlaid on a png picture with aspect ratio 16:9 (as in the screenshot). So far I have come to this :
-filter_complex "[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease,pad=1920:1080 :(ow-iw)/2 :(oh-ih)/2[base] ;[1:v]format=rgba,scale=1920:1080[v1] ;[v1][base]overlay=0:0"
but the output instead of png picture is just a black background, maybe someone knows what the problem is ?enter image description here

    


    -filter_complex "[0:v]scale=w=1920:h=1080:force_original_aspect_ratio=decrease,pad=1920:1080 :(ow-iw)/2 :(oh-ih)/2[base] ;[1:v]format=rgba,scale=1920:1080[v1] ;[v1][base]overlay=0:0"
but the output instead of png picture is just a black background

    


  • lavf/qtpalette : Treat 1-bit video as palettized

    29 décembre 2015, par Mats Peterson
    lavf/qtpalette : Treat 1-bit video as palettized
    

    This commit for qtpalette.c and qtpalette.h adds 1-bit video to the
    "palettized video" category, since if the video sample description
    contains a palette, the two colors in the palette can be any color, not
    necessarily black & white.

    Unfortunately, I’ve noticed that the qtrle (QuickTime Animation) decoder
    blindly assumes that 1-bit video is black & white. I don’t have enough
    knowledge about the decoder to fix this, though.

    Below is a link to a sample 1-bit QuickTime Animation clip of a rotating
    earth that uses blueish colors, and they will be correctly rendered in
    QuickTime, but not in FFmpeg (which will use black & white).

    https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/qtpalette.c
    • [DH] libavformat/qtpalette.h
  • Concat Command Issue in FFMPEG

    19 septembre 2024, par Vinesh Chauhan

    i am trying to Build a FFMPEG command that accept 4 input Videos and generate the output video with 2x2 Grid also play all those video one after another one. so Archive this I have pass lavfi 4 inputs with duration with size. then I have passed 4 input videos. then I have first generate thumbnail of those videos, so what I am gonna do is I place first video and second thumbnail in hstack, third thumbnail and fourth thumbnail in hstack the both hstack output in vstack. i will do it this 4 times for all videos respectively and then lastly I am trying to contact all those video in one. but I am getting overflow buffer warnings (as shown in image 1). and also getting not a proper video output(as link 1). then I try to create 4 videos using map to test whether its a stack issue or not so I have successfully create 4 videos and its working fine as expect but in 4 output files. i want it in one and also I want it in one command execution I don't want to execute multiple command for this.

    &#xA;

    the code that generate 4 output videos with is working fine

    &#xA;

    ffmpeg -y -f lavfi -t 00:00:37.000 -i color=black:s=360x360 -f lavfi -t 00:01:15.000 -i color=black:s=360x360 -f lavfi -t 00:00:14.000 -i color=black:s=360x360 -f lavfi -t 00:00:50.000 -i color=black:s=360x360 -i instagram_1.mp4 -i instagram_2.mp4 -i instagram_3.mp4 -i instagram_4.mp4 -filter_complex "[4:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_1];[5:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_2];[6:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_3];[7:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_4];[4:v]scale=-2:360:force_original_aspect_ratio=decrease[sc1];[0:v][sc1]overlay=(W-w)/2:(H-h)/2[ovv1];[5:v]scale=-2:360:force_original_aspect_ratio=decrease[sc2];[1:v][sc2]overlay=(W-w)/2:(H-h)/2[ovv2];[6:v]scale=-2:360:force_original_aspect_ratio=decrease[sc3];[2:v][sc3]overlay=(W-w)/2:(H-h)/2[ovv3];[7:v]scale=-2:360:force_original_aspect_ratio=decrease[sc4];[3:v][sc4]overlay=(W-w)/2:(H-h)/2[ovv4];[0:v][thumb_1]overlay=(W-w)/2:(H-h)/2[ov1];[1:v][thumb_2]overlay=(W-w)/2:(H-h)/2[ov2];[2:v][thumb_3]overlay=(W-w)/2:(H-h)/2[ov3];[3:v][thumb_4]overlay=(W-w)/2:(H-h)/2[ov4];[ov1][ov2]hstack[hs1];[ov3][ov4]hstack[hs2];[hs1][hs2]vstack[vs1];[vs1]split=4[vss1][vss2][vss3][vss4];[vss1][ovv1]overlay=0:0[final1];[vss2][ovv2]overlay=w:0[final2];[vss3][ovv3]overlay=0:h[final3];[vss4][ovv4]overlay=w:h[final4]" -map "[final1]" -t 00:00:37.000 outPut1.mp4 -map "[final2]" -t 00:01:15.000 outPut2.mp4 -map "[final3]" -t 00:00:14.000 outPut3.mp4 -map "[final4]" -t 00:00:50.000 outPut4.mp4 &#xA;

    &#xA;

    the command I am getting problem

    &#xA;

    ffmpeg -y -f lavfi -t 00:00:37.000 -i color=black:s=360x360 -f lavfi -t 00:01:15.000 -i color=black:s=360x360 -f lavfi -t 00:00:14.000 -i color=black:s=360x360 -f lavfi -t 00:00:50.000 -i color=black:s=360x360 -i instagram_1.mp4 -i instagram_2.mp4 -i instagram_3.mp4 -i instagram_4.mp4 -filter_complex "[4:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_1];[5:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_2];[6:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_3];[7:v]select=&#x27;eq(n\,0)&#x27;,scale=-2:360:force_original_aspect_ratio=decrease[thumb_4];[4:v]scale=-2:360:force_original_aspect_ratio=decrease[sc1];[0:v][sc1]overlay=(W-w)/2:(H-h)/2[ovv1];[5:v]scale=-2:360:force_original_aspect_ratio=decrease[sc2];[1:v][sc2]overlay=(W-w)/2:(H-h)/2[ovv2];[6:v]scale=-2:360:force_original_aspect_ratio=decrease[sc3];[2:v][sc3]overlay=(W-w)/2:(H-h)/2[ovv3];[7:v]scale=-2:360:force_original_aspect_ratio=decrease[sc4];[3:v][sc4]overlay=(W-w)/2:(H-h)/2[ovv4];[0:v][thumb_1]overlay=(W-w)/2:(H-h)/2[ov1];[1:v][thumb_2]overlay=(W-w)/2:(H-h)/2[ov2];[2:v][thumb_3]overlay=(W-w)/2:(H-h)/2[ov3];[3:v][thumb_4]overlay=(W-w)/2:(H-h)/2[ov4];[ov1][ov2]hstack[hs1];[ov3][ov4]hstack[hs2];[hs1][hs2]vstack[vs1];[vs1]split=4[vss1][vss2][vss3][vss4];[vss1][ovv1]overlay=0:0[final1];[vss2][ovv2]overlay=w:0[final2];[vss3][ovv3]overlay=0:h[final3];[vss4][ovv4]overlay=w:h[final4];[final1][final2][final3][final4]concat=n=4:v=1:a=0[final]" -map "[final]" -t 00:02:56.000 outPutIMagesFinaLCheck.mp4   &#xA;

    &#xA;

    Link 1(output video that has issue)&#xA;https://zippyshare.day/c0vhq9MvIMUTb8i/file

    &#xA;