
Recherche avancée
Autres articles (81)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9085)
-
avcodec/evc : Reference to ISO_IEC_23094-1-2020 document section for EVC_MAX_APS_COUNT...
18 avril 2024, par Dawid Kozinski -
avfilter/vf_libplacebo : don't force dovi frames to bt.2020-ncl
30 octobre 2023, par Niklas Haasavfilter/vf_libplacebo : don't force dovi frames to bt.2020-ncl
This is at odds with the YUV matrix negotiation API, in which such
dynamic changes in YUV encoding are no longer easily possible. There is
also no really strong motivating reason to do this, since the choice of
YUV matrix is essentially arbitrary and not actually related to the
Dolby Vision decoding process. -
How to add watermark text and image on video in ffmpeg in flutter
29 août 2022, par JatinI have tried so many commands from stackoverflow and manny other resources but no any single command worked.


Most of the time I got error




Error : No such filter : 'drawtext'


Error : initializing complex filters.


FATAL : Invalid argument




commands that I have used but did not work :


- 

- $path_of_file = input video path (most preferred .mp4)
- $fullTemporaryPathImage = image path (can be watermarked_logo.png)
- $fullTemporaryPath = font file path (can be .ttf , .otf) $filePath1
- $filePath1 = output video file path (most preferred .mp4)










Note : please provide path as per you directory.


- ""-i $path_of_file -vf "
 "[in]drawtext=text='StackOverflow':x=(w-text_w)-(w*0.04):y=(h-text_h)-(w*0.04)[out]"
 " -codec:a copy $filePath1""
 - "Command -i $path_of_file -filter_complex drawtext=fontfile=$fullTemporaryPath:text='Hello' $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex "
 "[0:v][1:v]overlay=10:10,drawtext=fontfile=fullTemporaryPath:text='Hello World':fontcolor=white@1.0:fontsize=30:y=h/2:x=0:enable='between(t,6,20)'"
 " -c:a copy -movflags +faststart output.mp4"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex " +
 "[0:v][1:v]overlay=10:10,drawtext=text='Hello'" +
 " -c:a copy -movflags +faststart $filePath1"
 - "-i $path_of_file -i -vf subtitle.$subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $subtitlePath -c:v libx264 -ar 44100 -ac 2 -ab 128k -strict -2 -c:s mov_text -map 0 -map 1 $filePath1"
 - "-ss 00:00:15 -t 5 -i $path_of_file -vf drawtext=\"fontfile=$fullTemporaryPath:fontsize=200:fontcolor=white:box=1:boxcolor=black@0.8:x=w-tw-100:y=100: text='This'\" $filePath1"
 - "-i $path_of_file -f srt -i $subtitlePath -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v] setpts=PTS-STARTPTS [v01] [1:v] setpts=PTS-STARTPTS [gradient] color=black@0:duration=8 format=yuv420p[txtbase][txtbase][v01]scale2ref[txtbase][v01][txtbase] drawtext=fontfile=$fullTemporaryPath:text='Test':fontcolor=white:fontsize=54:shadowcolor=black@0.6:shadowx=4:shadowy=2:box=1:boxcolor=a60000@0.4:boxborderw=10:x='310':y='350' fade=t=in:st=1:d=1:alpha=1 fade=t=out:st=7:d=1:alpha=1[txt] [v01][gradient] overlay [v02] [v02][txt] overlay[outv] -c:v libx264 -profile:v main -level:v 3.1 -pix_fmt yuv420p -c:a aac -map [outv] -f mp4 -y $filePath1"
 - "-i $path_of_file -vf " +
 "drawtext=enable='between(t,12,15)':fontfile=$fullTemporaryPath:text='Test test':x=10:y=10" +
 " -acodec copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output] -map [output] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "-i $path_of_file -i $path_of_file -filter_complex [0:v:0] [0:a:0] [0:v:1] [0:a:1] concat=n=2:v=1:a=1 [v][a][v]drawtext=text='SOME TEXT':x=(w-text_w):y=(h-text_h):fontfile=$fullTemporaryPath:fontsize=30:fontcolor=white[v] \-map [v] -map [a] -deinterlace \-vcodec libx264 -pix_fmt yuv420p \-acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \-f $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=10:10 'drawtext=fontfile=$fullTemporaryPath:text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[output]' -map [output] -c:a copy $filePath1"
 - "-i $path_of_file -i $fullTemporaryPathImage -filter_complex [0:v][1:v]overlay=5:5,drawtext=text=mytext:fontcolor=orange@1.0:fontsize=30:x=30:y=200[v] -map [v] -map 0:a -c:a copy $filePath1"
 - "hii"
 - "-i $path_of_file -vf drawtext=text='My Text':enable='between(t,20,120)': x=(w-text_h)/2: y=(h-text_h)/2: fontsize=32: fontcolor=white: box=1: boxcolor=black@0.5: boxborderw=5: -c:a copy $filePath1 "
 - "'-i $path_of_file -i $fullTemporaryPathImage -filter_complex "[0:v][1:v]overlay=5:5, drawtext="expansion=strftime:fontfile='
 '$fullTemporaryPath'
 ':fontsize=14:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=1:text='
 '$dateTimeVcode'
 ':x=w-tw-10:y=8"" -pix_fmt yuv420p -crf 49 -b:a 128k -cpu-used 8 -deadline realtime -strict experimental $filePath1'"



Command that is worked in IOS to overlay image on video :


"-i $path_of_file -i $fullTemporaryPathImage -filter_complex \"[0:v][1:v] overlay=25:25:enable='between(t,0,20)'\" -pix_fmt yuv420p -c:a copy $filePath1"