Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (69)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (4687)

  • Python FFmpeg : Getting this error while trying to add a logo to video (Unable to find a suitable output format for ..)

    14 mai 2021, par prehistoricbeast

    Hey guys I want to add a logo to my video with python subprocess and ffmpeg but I am getting this error while running the below command. What is the reason ? Please do help.

    


    Unable to find a suitable output format for 'overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01)' overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01): Invalid argument.

    


    subprocess.call([settings.VIDEO_ENCODING_FFMPEG_PATH, '-i', input_file_path,
                    '-i', logo_path, '-filter_complex','scale=1920:1080',
                    'overlay=x=main_w-overlay_w-(main_w*0.01):y=main_h-overlay_h-(main_h*0.01)',
                    '-codec:v', 'libx264','-crf', '18',
                    '-preset', 'slow', '-b:v', '1000k', '-maxrate', '2000k', '-bufsize', '2000k',
                    "-pix_fmt", "yuv420p",
                    '-codec:a', 'aac', '-b:a', '128k', '-strict', '-2', output_file_path])


    


    Thanks

    


  • FFmpeg : How to convert vertical/horizontal video (any size) with black sides, to 1080x1350 vertical video with blurred background sides/bottom-top

    12 octobre 2023, par devweb

    i've been trying to make a ffmpeg 'filter_complex' code to make what i need but i can't, i've used some codes here on stack but non works for what i need, each is like for a different size/dimension.
I'm trying to make videos like Instagram posts (tallest allowed) : 1080 x 1350

    


    Bassically, horizontal videos with blurred sides or bottom-top.

    


    Any help will be awesome, thanks !

    


    This is the principal which i tried

    


    Something like this :

    


    Example 1
Example 2

    


    Here some codes i tried to worked with and changing stuff :
filter_complex='[0:v]scale=1080*2:1350*2,boxblur=luma_radius=min(h\\,w)/20:luma_power=1:chroma_radius=min(cw\\,ch)/20:chroma_power=1[bg];[0:v]scale=-1:1080[ov];[bg][ov]overlay=(W-w)/2:(H-h)/2,crop=w=1080:h=1350'

    


    filter_complex='[0:v]scale=ih*5/4:-1,crop=h=iw*4/5,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'

    


    filter_complex='[0:v]scale=1080:1350,setsar=1,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'

    


  • chroma key my command for filter white background works but filter white and black ?

    21 décembre 2018, par userpov
    ffmpeg    -i  bakground.avi   -i overlay.avi    -filter_complex       "[1:v]chromakey=0xFFFFFF:0.02:0[keyed];       [0:v][keyed]overlay[out]"    -map "[out]"    output.avi

    this command filter white and black

    I need filter only white color

    please help me