Recherche avancée

Médias (91)

Autres articles (40)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6467)

  • FFMPEG combining many files and filters at once

    7 août 2018, par Vadim

    I need to make 1 video from 5 different pieces (mp4,mp3,png) :

    [0] input.mp4 (120fps 4 sec)

    1 sequence of .png (2 sec and its looped)

    [2] sound.mp3 (3 minutes, but i only need the same time as input.mp4)

    [3] Title1.mp4 (30fps its sets in begining)

    [4] Title2.mp4 (30 fps its sets in the end)


    I tried to explain in picture below :
    enter image description here

    Its too hard for me to understand the filtergraph syntex as i thinks my steps must be like this :


    1. I need slow Input.mp4 to 30 frames "setpts=PTS*10,fps=30"and " boxblur=luma_radius=2:luma_power=1 boxblur=2:1" ill get outMain.mp4 [outMain]
    2. Then i overlay .png and .mp3 there is i have a problem, maybe "overlay=shorters=1" and "-loop 1"
      ill get outMain2.mp4[outMain2]
    3. And the final ill need to Concat it all in order "[3][outMain2][4]concat=n=3 out output.mp4"

    How to make it in one action and add a -ultrafast preset, speed is important for me ?
    Thanks

    I understood how to use filtegraph a bit :
    But it appears another question in comments with looping overlay after slowing video in one action...

    In first i slow video :

    ffmpeg -i input.mp4  -r 24 -vf "setpts=(10/1)*PTS" -c:v libx264 -preset ultrafast -crf 26 -c:a copy output.mp4

    Then Overlay png and add .mp3 :

    ffmpeg -i input.mp4 -i alpha.png -i dorn.mp3 -filter_complex "[0:v][1:v]overlay" -c:v libx264 -preset ultrafast -crf 26 -c:a copy -y -map 2:a -shortest out.mp4

    Add begin title and final title :

    ffmpeg -i input.mp4 -i preroll.mp4 -filter_complex "[1][0][1]concat=n=3" -preset ultrafast -crf 26 -c:a copy output.mp4

    But it freezes with "Buffer queue overflow, dropping" Will try to resolve problem.
    The key to the freeze was simple. If i want to paste [0] video in the begining and in the end i must specify one more "-i" for example :

    ffmpeg -i 0.mp4 -i 1.mp4 -i 0.mp4 -filter_complex "[0:v:0][0:a:0][1:v:0][1:a:0][2:v:0][2:a:0] concat=n=3:v=1:a=1 [v][a]" -map "[v]" -map "[a]" -c:v libx264 -preset ultrafast -crf 26 output_video.mp4
  • FFMPEG : how to change framerate KEEPING the same duration ?

    19 mars 2016, par Camillo Gatto

    please consider C0003.MXF have a framerate different from 25fps

    I have try this :

    ffmpeg.exe -r 25 -i C0003.MXF -vcodec mpeg2video -g 0 -intra -pix_fmt yuv422p -q:v 0 -flags +ildct+ilme -an output25fps.mkv

    I need to change the framerate so that the final framerate is fixed to 25fps but also keep the same duration of the original C0003.MXF file, and the maximum video quality (using frame interpolation ?) plase how can I do ? thanks

  • To convert audio file from .wav to .mp3 using ffmpeg flutter

    19 septembre 2022, par Akhil

    I needed to convert an audio file from .wav to .mp3, i have used this package for converting.But its returning with code 1.

    


     FFmpegKit.execute('-i $url output.mp3').then((session) async {
                                                        final returnCode = await session.getReturnCode();

                                                        if (ReturnCode.isSuccess(returnCode)) {


                                                          // SUCCESS

                                                        } else if (ReturnCode.isCancel(returnCode)) {

                                                          // CANCEL

                                                        } else {


                                                          // ERROR

                                                        }
                                                      })


    


    conversion no