
Recherche avancée
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9346)
-
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 ?