
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (80)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (9369)
-
How to fix "Cannot find a valid font for the family Sans' while adding text on image using react-native-ffmpeg
13 mai 2024, par coffeeI am trying to add text on image using the code below
RNFFmpeg
.execute(
`-y -i ${input} -vf "drawtext=text='Hello World':fontcolor=white:fontsize=75:x=0:y=0" ${output}`
) ;

I am not using any custom font but still get this error.


Error :


[Parsed_drawtext_0 @ 0x7f87a1ce40] Cannot find a valid font for the family Sans


index.js:115 [AVFilterGraph @ 0x7f6765e760] Error initializing filter 'drawtext'
index.js:115 [AVFilterGraph @ 0x7f6765e760] with args 'text=Hello World:fontcolor=white:fontsize=75:x=0:y=0'
index.js:115 [AVFilterGraph @ 0x7f6765e760]


index.js:115 Error reinitializing filters !


index.js:115 Failed to inject frame into filter network : No such file or directory


index.js:115 Error while processing the decoded data for stream #0:0


Note :


I also tried using a custom font but not able to do it.
When I use RNFFmpegConfig.setFontDirectory('../../assets/fonts') function and with it the following code to add text on image
RNFFmpeg
.execute(
`-y -i ${input} -vf "drawtext=text='Hello World':fontfile='../../assets/fonts/MyFont.ttf':fontcolor=white:fontsize=75:x=0:y=0" ${output}`
) ;

It gives me the same error.


How can I fix this issue.


-
Using -itsoffset with AAC Tracks in MP4 : What Actually Happens ? [closed]
10 avril, par user27607034If the frame duration of an AAC file is around 21 milliseconds, does the itsoffset value in the following command actually get applied ? And even if it does, will players like QuickTime or a smart TV actually respect it ?


ffmpeg -itsoffset 0.009 -i input.mp4 \
 -i input.mp4 \
 -map 1:v:0 \ // hevc
 -map 0:a:0 \ // aac
 -c copy \
 output.mp4



-
Converting png images series to webm with transparent white background from Daz3d
25 août 2015, par JamesI’m trying to make a webm video with a transparent background from a Daz3D model.
My process is export png image series with transparent background from Daz3D, use ffmpeg to convert png series to webm video.
This was working well in Daz3D 4.6.But in Daz3D 4.8 the exported background is black instead of white, so when converted to webm is ok on Chrome as has the transparency, but on Firefox is black and has a halo (as Firefox does not support transparency so displays background).
So I’m looking for a solution with Daz3D, or tools like ImageMagik.
I almost got it with ImageMagik,convert -alpha extract *.png mask.png
mogrify -flatten talk*.png
for /f %x in ('dir /s /b blink*.png') do @composite -compose CopyOpacity mask-0.png %x %xBut for some reason the final webm has a white background not transparent ...
Some more info here,http://www.daz3d.com/forums/discussion/61237/daz3d-4-8-png-background-is-black
and here,
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=28214
>
Doh, okay I figured it out. My images were good, but I somehow have two different versions of ffmpeg on my computer and was using the wrong one that doesn’t seem to support transparency.Now it is working.
My only issue is the last shell line,
for /f %x in (’dir /s /b blink*.png’) do @composite -compose CopyOpacity mask-0.png %x %x
This only uses mask-0.png, instead of mask-1 for blink01.png, mask-2 for blink02.png etc.