Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (46)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7505)

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

    


  • FFmpeg Slideshow + Audio + Watermark + Maintain Aspect Ratio

    16 janvier 2016, par Pamela

    I’m trying to make a slideshow from some pictures along with an existing mp3 (copied). Picture dimensions differ, but I want the video output to be 16:9 aspect ratio and 3840x2160. I also want a watermark. It is important that pictures are not stretched.

    I tried this code...

    ffmpeg -y -framerate 1/1.5 -i "pics/%03d.jpg" -i audio.mp3 -c:v libx264 -r 24 -preset veryfast -tune stillimage -c:a copy -pix_fmt yuv420p -aspect 16:9 -filter_complex "scale=iw*min(3840/iw\,2160/ih):ih*min(3840/iw\,2160/ih),pad=3840:2160:(3840-iw)/2:(2160-ih)/2, movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" vid.mkv

    But it is giving me this error :

    [AVFilterGraph @ 0x2d21480] Too many inputs specified for the "movie"
    filter. Error initializing complex filters. Invalid argument

    I am able to successfully make a slideshow with pictures, audio, and watermark ; however, I am unable to factor in the aspect ratio without having pictures getting stretched.

    If it makes a difference, the output video will be uploaded to YouTube.

  • How to proportional(Aspect Ratio) image using ffmpeg function ?

    16 octobre 2020, par Vipul Jethva

    Why following function is not execute in php ? Same function is using for video. Please correct me if anything wrong with syntax. I have to proportion watermark as per image width and height. If there is any other command then please help me.

    


    $command = "ffmpeg -i input.jpg -i watermark.png -filter_complex 
    \"[1:v][0:v]scale2ref=(W/H)*ih/8:ih/8[wm][base];[base][wm]overlay=10:10\"
    -pix_fmt yuv420p -c:a copy output.jpg";

exec($command);