Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (52)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (4078)

  • buffersrc : Improve initialization log message

    10 septembre 2015, par Vittorio Giovara
    buffersrc : Improve initialization log message
    

    Add timebase and aspect ratio information.

    • [DBH] libavfilter/buffersrc.c
  • Passing negative values for dimensions with PHP FFMpeg

    10 juin 2018, par Matthew Daly

    I’m working on a legacy project that uses FFMpeg to process videos on upload. The code I inherited uses escapeshellarg() to run FFMpeg from the command line, which is problematic because it doesn’t provide any means of keeping track of progress, so I’m rewriting it using PHP-FFMpeg.

    I’m a bit stumped at the point of resizing the videos. The aspect ratio needs to remain the same, so the dimensions passed to the command line for the scale were -vf scale=-1:720, and my interpretation of the documents is that you need to pass the dimensions through as follows :

    $dimension = new FFMpeg\Coordinate\Dimension('-1', '720');
    $video->filters()->resize($dimension)->synchronize();

    However, the constructor of the Dimension class only accepts integers, and it’s unclear how I’d go about specifying a negative dimension here. Google hasn’t been very useful, nor have the existing issues on the project.

    Any idea how I could pass through the required dimensions ? I don’t often use FFMpeg so I’m not terribly familiar with it.

  • FFmpeg Overlay Zoom + Static Blurred Background

    17 mai 2021, par John Matley

    I am trying to make a video from a single image which will take the image and (regardless of height/width) will stretch to fit the whole screen (1920x1080) and be blurred. Next I want to take the same image, keeping the aspect ratio, zoom out to 100% for the entire 10 second video.

    


    The code I wrote does most of this fine, except it also zooms the blurred background. I just want a static blurred background with a floating zooming original image over the top.

    


    Here's what I have so far :

    


    ffmpeg -y -i image.jpg -filter_complex "[0]scale=-1:1080[in];[0]scale=1920:1080,boxblur=10:10,setsar=1[bg];[bg][in]overlay=(W-w)/2:(H-h)/2,scale=7680x4320,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0008))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':s=1920x1080:d=600[output]" -map "[output]" -t 10 -shortest -pix_fmt yuva420p -c:v h264_qsv -r 60 video.mp4


    


    All I want is to keep the blurred background static at 100% whilst the main image zooms out to 100% over the 10 second duration..

    


    Any help would be appreciated.