
Recherche avancée
Autres articles (106)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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
Sur d’autres sites (11034)
-
How to create videos with small file size but large resolution ?
13 février 2017, par Gregory MagarshakIs there a programmatic way to create videos that capture, essentially, a powerpoint presentation, that would be not much larger than the audio + screenshots of the powerpoint itself ?
I want to make software that produces videos with the full resolution of a powerpoint on a large screen, and with a person speaking over it and wvwn doodling. Kind of like "bcontext" software. And then I want to export videos for youtube and other places to be hosted. But I want them to be SMALL. So they can be downloaded by people with slow connections eg in India.
What factors can affect video size and how can i take advantage of the relative "stillness" of most pixels at most times to make the compression preserve the full sharpness and yet take advantage of the lack of visual changes ? What software do you recommend ?
-
ffmpeg - adding Dynamic logo & random position watermark to video ?
9 août 2021, par JackSI am making a tutorial for sending through mail to my uses, and to avoid piracy distribution I thought to put watermarks (
logo.png
) at random places at interval on the videos.

I tried using the command from ffmpeg - Dynamic letters and random position watermark to video ? :


ffmpeg -i input.mp4 \
-vf \
"drawtext=fontfile=font.ttf:fontsize=80:fontcolor=yellow@0.5:text='studentname': \
 x=if(eq(mod(t\,30)\,0)\,rand(0\,(W-tw))\,x): \
 y=if(eq(mod(t\,30)\,0)\,rand(0\,(H-th))\,y)" \
-c:v libx264 -crf 23 -c:a copy output.mp4



But it gave me error :


[NULL @ 0x55c812525600] Unable to find a suitable output format for '\'
\: Invalid argument



-
libavutil : Add wchartoutf8(), wchartoansi(), utf8toansi(), getenv_utf8(), freeenv_utf...
20 juin 2022, par Nil Admirarilibavutil : Add wchartoutf8(), wchartoansi(), utf8toansi(), getenv_utf8(), freeenv_utf8() and getenv_dup()
wchartoutf8() converts strings returned by WinAPI into UTF-8,
which is FFmpeg's preffered encoding.Some external dependencies, such as AviSynth, are still
not Unicode-enabled. utf8toansi() converts UTF-8 strings
into ANSI in two steps : UTF-8 -> wchar_t -> ANSI.
wchartoansi() is responsible for the second step of the conversion.
Conversion in just one step is not supported by WinAPI.Since these character converting functions allocate the buffer
of necessary size, they also facilitate the removal of MAX_PATH limit
in places where fixed-size ANSI/WCHAR strings were used
as filename buffers.On Windows, getenv_utf8() wraps _wgetenv() converting its input from
and its output to UTF-8. Strings returned by getenv_utf8()
must be freed by freeenv_utf8().On all other platforms getenv_utf8() is a wrapper around getenv(),
and freeenv_utf8() is a no-op.The value returned by plain getenv() cannot be modified ;
av_strdup() is usually used when modifications are required.
However, on Windows, av_strdup() after getenv_utf8() leads to
unnecessary allocation. getenv_dup() is introduced to avoid
such an allocation. Value returned by getenv_dup() must be freed
by av_free().Because of cleanup complexities, in places that only test the existence
of an environment variable or compare its value with a string
consisting entirely of ASCII characters, the use of plain getenv()
is still preferred. (libavutil/log.c check_color_terminal()
is an example of such a place.)Plain getenv() is also preffered in UNIX-only code,
such as bktr.c, fbdev_common.c, oss.c in libavdevice
or af_ladspa.c in libavfilter.Signed-off-by : Martin Storsjö <martin@martin.st>