
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (112)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (14238)
-
Can not found valid font in ffmpeg android
8 décembre 2022, par HaryD5I want to add text over video using ffmpeg. But it gives me error of Cannot find a valid font.


I used this command


ffmpeg -y -ss 0 -i /data/user/0/com.example.videoeditor/cache/LMS_1670500883503.mp4 -filter_complex drawtext="fontfile=/usr/share/fonts/truetype/freefont/FreeSans.ttf:text='Stack Overflow':fontcolor=white:fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2" -t 7 -movflags faststart -strict experimental -vcodec mpeg4 -b:v 2097152 -b:a 48000 -ac 2 -ar 22050 /storage/emulated/0/Download/LMS_1670500883824.mp4



but it gives me error


Cannot find a valid font for the family Sans
Error initializing filter 'drawtext'
with args 'fontfile=/usr/share/fonts/truetype/freefont/FreeSans.ttf:text=Stack Overflow:fontcolor=white:fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2'



I'm using ubuntu OS.
And also is there any way to get font file from android studio assets folder ?


Thanks in Advance !!


-
Map streams in ffmpeg based on title (to remove language variant)
16 octobre 2024, par MappaMI have a few video files with English audio track and French audio track, because the family wants French and I prefer VO. With ffmpeg I can easily filter all tracks to keep eng and fre, the problem is there are multiple french dialects, one of them being Candian (VFQ).


Therefore, with the following input streams :


Stream #0:1(fre): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
 Metadata:
 title : E-AC3 VFF
 Stream #0:2(fre): Subtitle: subrip (default) (forced)
 Metadata:
 title : FORCED VFF
 Stream #0:3(fre): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
 Metadata:
 title : AC3 VFQ
 Stream #0:4(fre): Subtitle: subrip
 Metadata:
 title : FORCED VFQ
 Stream #0:5(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s
 Metadata:
 title : E-AC3 VO



The command
-map 0:v: -map 0:m:language:eng -map 0:m:language:fre
does not filter out anything, and I keep both audio which is wasteful. The only metadata that could be used to filter seems to be the title.

-
d3d11va : Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY
4 juillet 2017, par Martin Storsjöd3d11va : Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY
If using the winstore compat library, a fallback LoadLibrary
function does exist, that only calls LoadPackagedLibrary though
(which doesn't work for dynamically loading d3d11 DLLs).Therefore explicitly check the targeted API family instead.
Make this check a reusable HAVE_* component which other parts
of the libraries can check when necessary as well.Signed-off-by : Martin Storsjö <martin@martin.st>
Merged from Libav commit 4d330da006fe48178.