
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (91)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (13037)
-
How to add long text ffmpeg video
13 février 2023, par Joe ColaI tried adding text in the middle of the video, but the results weren't what I wanted. namely long text out of line, how to make long text automatically into a new line below ?


ffmpeg -i input.mp4 -vf "drawtext=fontfile=/path/to/font.ttf:text='I tried adding text in the middle of the video, but the results are not as desired,':fontcolor=white: fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2" -codec:a copy output.mp4


i used that command, and the output like this




Please help


please help my problem


-
ffmpeg moving text but only within Y limits
28 décembre 2022, par Yoav MorI need to add text to a video that will scroll from bottom to top ; I managed to do it with something similar to this :


ffmpeg -i vid.mp4 -vf "drawtext=fontfile=tahoma.ttf:fontsize=20:fontcolor=green:x=(w-text_w)/2+20:y=if(lt(t\,2)\,480\,(h-400-(40*t))):textfile=scroll.txt:bordercolor=white:borderw=1" -c:v libx264 -y -preset ultrafast scrolling.mp4


The original video is 960x540, so the text starts at position y=480 and, after 2 seconds, starts moving up.
That bit works fine, and the text "vanishes" at the top of the frame as it scrolls up.
What I need to achieve is for the text to scroll only within certain Y limits, imagine a virtual box around the text, so it scrolls up only from a certain Y position in the bottom (but not the very bottom) and disappears into a line on the top that isn't the top part of the frame.
Can that be achieved with ffmpeg ?


EDIT : Maybe the trick here should be to put the text on top of a transparent video that's smaller in height, and then within the same command somehow merge this new video that has the text with the original video. Not sure how achieve that though.


-
Ubuntu 16.04 python installing 3rd party module ffmpeg-3.0.2
3 juin 2016, par vanoccupantherHave tried installing this package multiple times. Initially I installed it to a directory where I am running scripts that call it but I get an error message "ImportError : No module named ’ffmpeg’".
I then tried putting it in one of my python paths listed in sys.path and again I got the same message.
I then opened .bashrc and added the home directory path and still got the same error message when I ran my script.
import sys
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import ffmpeg
from PIL import Image
img = sys.argv[1] # ignore this
im = Image.open(img) # ignore this
imarray = np.array(im) # ignore this
ffmpeg -i ('flame.avi') -f image2 -c:v mjpeg ('image-%d.jpg')
avconv -i ('flame.avi') -vsync ('1') -r ('100') ('image%03d.tif')I’m really not sure where to go, what are my options here ? And what am I doing that is glaringly wrong ?