Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (54)

  • 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

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

  • Combine multiple images into a video using ffmpeg (Little Bit Complicated)

    13 avril 2021, par Mayank Thapliyal

    I want to combine multiple images into a video.I will use ffmpeg with python as Python script will help me select images accordingly. And I have to fulfill multiple conditions :-

    


    1.) Frame-rate will be 0.2 (5 second for each image)

    


    2.) Screen-Ratio should be 18:9. But all images have different dimensions. And neither I want to crop nor I want to stretch them.So I want to pad them with a black background.

    


    3.) ability to add background music

    


    But the issue is that I am not able to adjust images.Either images get stretched to full screen or they cropped. So currently first I use PIL library to adjust images first then combine them with ffmpeg. But it takes a good amount of time and I don't like this approach

    


    Please help me solve my issue by only using ffmpeg(I guess that it will be fast enough)

    


    Thanks in advance

    


  • applying multiple filter ffmpeg

    28 mars 2021, par Eswar T

    I'm trying to rotate videos and increase its sound as well as change itsframe rate

    


    ffplay -i C:/Users/thota/OneDrive/Desktop/VET/Input.mp4 -af "volume="10.0",atempo="10.0" -vf "transpose=2,transpose=2,setpts=1/"10.0"*PTS,scale="3840:2160",fps="5.0"


    


    I'm using FFmpeg as I'm trying to build a video editing application hence I need to combine many operations when i try to use above command I'm getting this error(in command im using ffplay as I just want to see output)

    


    error

    


    [atempo @ 000001fdd50c7c40] [Eval @ 00000047b79fe770] Undefined constant or missing '(' in 
'vftranspose=2'
[atempo @ 000001fdd50c7c40] Unable to parse option value "10.0 -vf transpose=2"
[atempo @ 000001fdd50c7c40] [Eval @ 00000047b79fe770] Undefined constant or missing '(' in 
 'vftranspose=2'
[atempo @ 000001fdd50c7c40] Unable to parse option value "10.0 -vf transpose=2"
[atempo @ 000001fdd50c7c40] Error setting option tempo to value 10.0 -vf transpose=2.
[Parsed_atempo_1 @ 000001fdd50c7b40] Error applying options to the filter.
Error initializing filter 'atempo' with args '10.0 -vf transpose=2'


    


    Pleas help me solve this issue and suggest me a best way to add multiple operations when i try to use , its being tough so is their any other way
If yes please let me know
Thank you

    


  • Add multiple overlays to video in ffmpeg

    25 mars 2021, par Bas950

    On my video I am adding multiple overlays, 1 that will always be shown (Overlay/overlay.png) and I got a progress bar in PNGs named 0 to the last frame num.

    


    Is there a small way I can do this in because I tried adding every thing and the command was too long.

    


    ffmpeg -i 6875126077795372290.mp4 -i Overlay/overlay.png -filter_complex "[0:v][1:v] overlay=0:0"
    
I added -i Overlay/ProgressBar/0.png -filter_complex "[0:v][2:v] overlay=0:20" for every frame and yea it got too long...

    


    I tried doing something like this : ffmpeg -i 6875126077795372290.mp4 -i Overlay/overlay.png -filter_complex "[0:v][1:v] overlay=0:0" -i Overlay/ProgressBar/%d.png -filter_complex "[0:v][%d:v] overlay=0:20" output.mp4
    
But I just cannot get it working.

    


    [Edit] :
I tried the ffmpeg -i 6875126077795372290.mp4 -i Overlay/overlay.png -i Overlay/ProgressBar/%d.png -filter_complex "[0:v][1:v]overlay=0:0[bg];[bg][2]overlay=0:20" output.mp4 from @llogan and it does it all, but strangely the video is not 6 seconds longer ? Cause I got the images for 432 frames, and the video is now 17seconds long instead of 11, the video for some reason got a strange frame rate of 37 (see attachment).
    How should I solve this ? (I got this file information using ffprobe)
    
Attachment : https://i.imgur.com/1WNqvnS.png
    
Full file information : https://pastebin.com/rxkK39h7
    
Full ffmpeg log : https://pastebin.com/CBiusbRE