Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (108)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (10614)

  • avfilter/scale : add animation support

    15 décembre 2019, par Gyan Doshi
    avfilter/scale : add animation support
    

    Width and height expressions in scale and scale2ref filters can now
    reference frame index, timestamp and packet position.

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_scale.c
  • FFMPEG : Combine "Create video from images" + scale to x + add audio + overlay logo

    7 janvier 2020, par Thomas Wild

    I´m working on a webcam-project. It is for generating timelapse videos of sunset/sundown.

    I´m using a raspberrypi to generate them with gphoto2 + DSLR.

    At the end of the day the images should get to an video, with audio and an overlay logo.
    And it should be scaled to 1920 pixel.
    I got a nice solution an it worked.

    1. Producing the timelapse video an scale it :

      ffmpeg -y -framerate 25 -start_number 0000001 -i /var/www/html/webcam/2020-01-05_bilder/%7d.jpg -vf scale=1920:-1 -pix_fmt yuv420p /var/www/html/webcam/2020-01-05-tag-output-1920.mp4

    1. Taking the output of (1) and add an overlay-logo, add audio

      ffmpeg -y -i '/var/www/html/webcam/2020-01-05-tag-output-1920.mp4'
      -i '/var/www/html/webcam-scripts/graphics/logo.png'
      -i '/var/www/html/webcam-scripts/sounds/chill_time_5.mp3'
      -shortest -filter_complex '[1][0]scale2ref=h=ow/mdar:w=iw/6[#A logo][liebfrauen]; [#A logo]format=argb,colorchannelmixer=aa=0.95[#B logo transparent]; [liebfrauen][#B logo transparent] overlay=(main_w-w)-(main_w*0.05):(main_h-h)-(main_h*0.01)'
      -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a aac -strict -2
      '/var/www/html/webcam/2020-01-05-tag-1920.mp4

    I tried to combine both actions, but I get an error :

    ffmpeg -y -framerate 25 -start_number 0000001 -i '/var/www/html/webcam/2020-01-05_bilder/%7d.jpg' -vf scale=1920:-1 -pix_fmt yuv420p -i '/var/www/html/webcam-scripts/graphics/logo.png' -i '/var/www/html/webcam-scripts/sounds/chill_time_5.mp3' -shortest -filter_complex '[1][0]scale2ref=h=ow/mdar:w=iw/6[#A logo][liebfrauen]; [#A logo]format=argb,colorchannelmixer=aa=0.95[#B logo transparent]; [liebfrauen][#B logo transparent] overlay=(main_w-w)-(main_w*0.05):(main_h-h)-(main_h*0.01)' -c:v libx264 -crf 18 -preset slow -pix_fmt yuv420p -c:a aac -strict -2 '/var/www/html/webcam/2020-01-05-tag-1920.mp4'

    Error : Filtergraph ’scale=720 :-1’ was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
    - vf/-af/-filter and -filter_complex cannot be used together for the same stream.

    Isn`t it possible to combine these inputs and scale it ? Or ... Where is my misunderstanding ?

  • How do I capture all keyframes and scale down to 320px wide ?

    6 janvier 2020, par DwarfMacmillan

    I’m trying to use ffmpeg to output all key-frames from a video file and scale them down to 320px wide while maintaining aspect ratio.
    I know I could do this with two separate commands but I am trying to find a way to do it tidily in one.

    I’ve already succeeded in each of the steps individually using the following commands.

    Output the keyframes :

    .\ffmpeg -i input.mp4 -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 thumb%07d.png

    Scale images :

    .\ffmpeg -i input.mp4 -vf scale=320:-1 thumb%07d.png

    I won’t share everything i’ve tried, but here’s three failures at combining them.

    //fail, not just keyframes, scaled
    .\ffmpeg -i input.mp4  -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 -vf scale=320:-1 thumb%07d.png -hide_banner

    //fail, can’t find suitable output format for scale command, invalid argument
    .\ffmpeg -i input.mp4  -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0, scale=320:-1 thumb%07d.png -hide_banner

    //fail
    .\ffmpeg -i input.mp4 -q:v 2 -vf scale=320:-1, -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 thumb%07d.png -hide_banner

    I’ve tried many different things, moving commands, combining using commas etc... But I have not had any success at combining the get key-frames and scale commands.
    So how would I go about combining the get key-frames and scale commands so that it works ?

    thanks.