Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (49)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

Sur d’autres sites (6183)

  • Ffmpeg How to change aspect ratio for Every zoom in and zoom out with Ffmpeg ?

    5 novembre 2020, par Arish Prasain

    So, I have been able to zoom in and out with same aspect ratio but I wish to change aspect ratio say,
16:9 for zoom out and 4:3 for zoom in :
This is my code for same aspect ratio zoom out and in :

    


    ffmpeg -y -i "new.mp4" -vf "scale=1280x720,zoompan=z='if(lte(mod(on,60),30),zoom+2,zoom-2)' :x=172' :y=178' :d=0" -c:v libx264 -s "1280x720" "11.mp4"

    


  • How to change mp4 aspect ratio to 16:9 using ffmpeg with scale2ref ?

    25 septembre 2021, par code0x00

    I have a intro video and a main video and i want to pad the main video to match aspect ratio to 16:9 and after padding whatever the main video size i want to make into video of that size too.

    


    I am using scale2ref to set the w:h for intro video but i am unable to set the main video width and height to 16:9 aspect raio.

    


    I am using :

    


    ffmpeg -ss 00:00:00 -t 00:00:10 -i intro.webm -i main1.mp4 -filter_complex "[0][1]scale2ref=iw:ih[intro][main];[intro]drawbox=t=fill[intro-bg];[0][intro-bg]scale2ref=iw:ih:force_original_aspect_ratio=decrease:flags=spline[intro][intro-bg];[intro-bg][intro]overlay=x='(W-w)/2':y='(H-h)/2'[intro-resized];[intro-resized][0:a][main][1:a]concat=n=2:v=1:a=1:unsafe=1[v][a]" -map '[v]' -map '[a]' -movflags +faststart -acodec aac  -b:v 1000k -bt 1000k -y -2pass true -r 30 -preset medium output.mp4


    


    but when i use :

    


    ffmpeg -ss 00:00:00 -t 00:00:10 -i intro.webm -i main1.mp4 -filter_complex "[0][1]scale2ref=ih*16/9:-1[intro][main];[intro]drawbox=t=fill[intro-bg];[0][intro-bg]scale2ref=iw:ih:force_original_aspect_ratio=decrease:flags=spline[intro][intro-bg];[intro-bg][intro]overlay=x='(W-w)/2':y='(H-h)/2'[intro-resized];[intro-resized][0:a][main][1:a]concat=n=2:v=1:a=1:unsafe=1[v][a]" -map '[v]' -map '[a]' -movflags +faststart -acodec aac  -b:v 1000k -bt 1000k -y -2pass true -r 30 -preset medium output.mp4



    


    I get error Too many inputs specified for the "pad" filter.

    


    Can anyone please tell me what is the corect way to do it ?

    


  • ffmpeg for reducing ratio and quality of YUV to any other format

    10 août 2015, par mrana

    I have HD 1920x1080 YUV format videos.
    I would like to compress them to 640x480and other convert to other format(mp4/avi..)
    I used the follwing command :

    ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 1920x1080 -r 25 -i input.yuv -c:v libx264 output.mp4
    It converts the video but it looks **blurry** and **broken**.

    Does any one have better solution for my problem ?
    [There are lot of solutions i found as like as the above one but none of them works good]
    I would most appreciate your help.