Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (37)

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

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

Sur d’autres sites (6993)

  • ffmpeg to make black video with multiple audio and subtitles [closed]

    9 septembre 2024, par Tony M

    I want to use ffmpeg to make a video with only audio and subtitles in different languages. The video part can be a simple black background. I want to be able to switch between languages in video players like QuickTime.

    


    I've tried to get help from posts like this, but I couldn't figure out how to get it to work.

    


    To demonstrate that I've worked a long time on this, I'm showing what I've come up with below — but only steps (1) & (2) work. I can't get the subtitles step (3) to work.

    


    I've used ffmpeg for a long time, but never really understood it... I've only recently started to build my own commands, so the following probably looks awful to an expert :

    


      

    1. make a silent video using

      


      ffmpeg -loop 1 -i black.jpg -i silent.mp3 -acodec copy -shortest -vf scale=1000:136 silent.mov

      


    2. 


    


    where m.jpg is a 500x68 black image and m.mp3 has 5 min of silence

    


      

    1. add 3 language (italian, french, german) using

      


      ffmpeg -i silent.mov -i ita.mp3 -i fre.mp3 -i ger.mp3 -map 0:v -map 1:a -map 2:a -map 3:a -metadata:s:a:0 language=ita -metadata:s:a:1 language=fre -metadata:s:a:2 language=ger ita-fre-ger.mov

      


    2. 


    3. add subtitles using (doesn't work)

      


    4. 


    


    ffmpeg -i ita-fre-ger.mov -i ita.srt -i fre.srt -i ger.srt -map 0 -map 1 -map 2 -map 3 -c copy -c:s mov_text -metadata:s:s:0 language=ita -metadata:s:s:1 language=fre -metadata:s:s:2 language=ger final.mov

    


  • How to add a black bar on top and bottom of a video screen with a watermark on it ?

    3 mai 2017, par Neo Herakles

    I have this code to watermark my videos but I believe that the watermark may be distracting so I want to add black bars on top and on the bottom to place my watermark in, how could I do that ? Here’s my code for the watermarking of the video, I’m also appending an intro and outro to the presentation.

    for %%I in ("C:\Users\Administrator\Desktop\work\*.mp4") do ffmpeg.exe
    -y -i "%%I" -i white.png -i out1.ts -filter_complex "[1:v][0:v]scale2ref=iw/6:ih/18[logo][0v];[0v][logo]overlay=W-w-3:H-h-1,scale=hd720,setsar=1[vl];[2:v][2:a][vl][0:a][2:v][2:a]concat=n=3:v=1:a=1[v][a]"
    -map "[v]" -map "[a]" -r 20 -c:v libx264 -ar 48000 "C:\Users\Administrator\Desktop\Complete-videos\%%~nI.mp4"

    pause
  • Change White to Black in a GIF or crop GIF into a circle with Python

    28 juin 2022, par tcleckner

    I have a GIF that I am trying to change all the white pixels to black. Not sure where to start.

    


    Alternatively the GIF could be cropped to just the circle graphic on the left side of the GIF. I have used ffmpeg-python to crop the GIF down to a square around the circle but have yet to be able to crop it to a circle.
ffmpeg.crop(stream, 46,117,390,390)
Any insight is appreciated.