
Recherche avancée
Autres articles (55)
-
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" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (5924)
-
fallback input when blackscreen ffmpeg
23 novembre 2022, par renadrI would like to have a "fallback" video when using the ffmpeg command. The goal is that I broadcast a video and once this one displays an almost black screen, there should be a switch to the fallback, and re-switch when the black screen is over. I know that we can detect the "blackframe" but I'm lost then.. If anyone have an idea ?


I'm at this point for the moment (I'm using streamlink for getting the input) :


streamlink <> best -O | ffmpeg -re -i pipe:0 -c:v libx264 -vf "blackframe=amount=40:thresh=5" -c:a aac -strict -2 -f flv <> | grep blackframe



thank you


-
FFmpeg - Xstack mutiple inputs for mosaic video output - extra output Blank screen is always green
16 août 2020, par DennisskiI have a website where we combine multple videos with ffmpeg xstack. Its an automated process. When there is not an even number of videos the blank tiles in the mosaic are green. I am trying to figure out how to make the spare blanks Black.


I have tried
xstack=inputs=2:fill='black':layout=0_0
(this gives an error object not found) also tried-filter_complex "color=s=1920x1080:c=black"
.

Any suggestions ? Here is entire command :


ffmpeg -i video1 -i video1 -i video1 -i video1 -i video1 -i video1 -i video1 \ 
 -i video1 -i video1 -filter_complex \
 "color=s=1920x1080:c=black;[0:v] setpts=PTS-STARTPTS, scale=qvga [a0];[1:v] setpts=PTS-STARTPTS, scale=qvga [a1];[2:v] setpts=PTS-STARTPTS, scale=qvga [a2];[3:v] setpts=PTS-STARTPTS, scale=qvga [a3];[4:v] setpts=PTS-STARTPTS, scale=qvga [a4];[5:v] setpts=PTS-STARTPTS, scale=qvga [a5];[6:v] setpts=PTS-STARTPTS, scale=qvga [a6];[7:v] setpts=PTS-STARTPTS, scale=qvga [a7];[8:v] setpts=PTS-STARTPTS, scale=qvga [a8];[a0][a1][a2][a3][a4][a5][a6][a7][a8]xstack=inputs=9:layout=0_0|w0_0|w0+w1_0|0_h0|w0_h0|w0+w1_h0|0_h0+h1|w0_h0+h1|w0+w1_h0+h1[out] " \
 -map "[out]" output



-
Why isn't the 'wrap' option recognized in FFmpeg's drawtext filter ?
24 février 2023, par eugene_prgI'm trying to add text to a video using FFmpeg's drawtext filter, but I'm running into an issue with the 'wrap' option. Whenever I include 'wrap=500' in the filtergraph, I get the following error message :


[Parsed_drawtext_1 @ 0x563e23b1f500] Option 'wrap' not found
[AVFilterGraph @ 0x563e23b18d00] Error initializing filter 'drawtext' with args 'enable=between(t,0,4):text=one day you wake up and...:x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5:wrap=500'
Error reinitializing filters !
Failed to inject frame into filter network : Option not found
Error while processing the decoded data for stream #0:0


Here's the full command I'm using :


ffmpeg -y -i "./videos/pexels-ivan-samkov-6689156.mp4" -vf "drawtext=fontfile=./fonts/DejaVuSans.ttf:text='DID U KNOW':x=(w-text_w)/2:y=200:fontsize=72:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=10, drawtext='enable=between(t,0,4)':text='do you know that girls...':x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5:wrap=500, drawtext='enable=between(t,4,8)':text='are smarter than guys?':x=(w-text_w)/2:y=570:fontsize=48:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5" -c:a copy "pexels-ivan-samkov-6689156.mp4_with_labels.mp4"



I'm not sure why the 'wrap' option isn't recognized. Can anyone help me figure out what's going on ?