
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (88)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8995)
-
Revision b6a3062d81 : Fix incorrect comparison of frame size The width and height stored in the refer
28 février 2013, par John KoleszarChanged Paths : Modify /vp9/encoder/vp9_onyx_if.c Fix incorrect comparison of frame size The width and height stored in the reference frames are padded out to a multiple of 16. The Width and Height variables in common are the displayed size, which may be smaller. The incorrect comparison was (...)
-
FFMPEG api avformat_find_stream_info does not provide width and height of stream when decoders are disabled
9 novembre 2022, par Raghavendra GanigaWe are using FFMPEG library and we have disabled decoders, demuxers using following using compile time options


--disable-decoders
--disable-demuxers
--enable-demuxer=mov
--enable-demuxer=matroska
--enable-demuxer=mpegts



After putting above options while compilation, we are not getting width and height of video stream using avformat_find_stream_info() API


we do following api sequence to get stream information


avformat_open_input();


then we call


avformat_find_stream_info(format_context, nullptr);


to get stream information, when we try to get width/height of stream we get always zero


format_context->streams[0]->codecpar->width always gives zero

format_context->streams[0]->codecpar->height always gives zero



Is there any other way to get width and height of the stream ?


-
drawbox around text with dynamic height in ffmpeg
9 mars 2018, par Anuj TBEI’m working on a ffmpeg script to draw text over image/video.
The text will be wrapped inside a box with full width and dynamic height.
I have tried two approach to achieve this.
1. using
drawbox
ffmpeg \
-loop 1 -i /path_to_file/file.jpg \
-t 5 -vf
"scale=320:320,\
drawbox=y=0\
:color=#00FF29\
:width=iw\
:height=72\
:t=max,\
drawtext=text=TBE\
:fontcolor=#F71DFF\
:fontsize=82:x=(w-text_w)/2\
:y=text_h/2"
/path_to_file/new_file.mp4 -yWhich renders following three examples with different value of
fontsize
2. using
box
ofdrawtext
ffmpeg -i in3.png -t 5 -vf drawtext=" \
text='Stack Overflow': fontcolor=white: fontsize=54: box=1: boxcolor=black@0.5: \
boxborderw=10: x=(w-text_w)/2: y=(h-text_h)/2" -codec:a copy output_new.mp4Half of the requirement is being fullfiled by drawbox (full width box) and half using drawtext box (box height according to text).
How can I achieve both (full box width with dynamic height according to height of text) in ffmpeg ?