
Recherche avancée
Autres articles (46)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
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.
Sur d’autres sites (4358)
-
Combine with ffmpeg two or more images that overlap
22 décembre 2017, par SmeterlinkHaving two or more images that overlap, like in this screenshot, I want to combine/merge them into one :
The result I want is like using the"Auto-Blend Layers" command from Adobe Photoshop :
https://helpx.adobe.com/photoshop/using/combine-images-auto-blend-layers.html
-
ffmpeg - convert movie AND show original input (as resized picture-in-picture, top-left corner) in the final output file
2 octobre 2019, par raventhis is my first post on this forum, so please be gentle in case I accidentally do trip over any forum rules that I would not know of yet :).
I would like to apply some color-grading to underwater GoPro footage. To quicker gauge the effect of my color settings (trial-and-error, as of yet), would like to see the original input video stream as a PIP (e.g., scaled down 50%), in the top-left corner of the converted output movie.
I have one input movie that is going to be color graded. The PIP should use the original as an input, just a scaled-down version of it.
I would like to use ffmpeg’s -filter_complex option to do the PIP, but all examples I can find on "-filter_complex" would use two already existing movies. Instead, I would like to make the color-corrected stream an on-the-fly input to "-filter_complex", which then renders the PIP.
Is that doable, all in one go ?
Both the individual snippets below work fine, I now would like to combine these and skip the creation of an intermediate color-graded video. Your help combining these two steps into one single process is greatly appreciated !
Thanks in advance,
raven.[existing code snippets (M$ batch files)]
::declarations/defines::
set "INPUT="
set "TMP="
set "OUTPUT="
set "FFMPG="
set "QU=9" :: quality settings
set "CONV='"0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1 0 -1 0:0 -1 0 -1 5 -1
0 -1 0:0 -1 0 -1 5 -1 0 -1 0'"" :: sharpening convolution filter
::color-grading part::
%FFMPG% -i %INPUT% -vf convolution=%CONV%,colorbalance=rs=%rs%:gs=%gs%:bs=%bs%:rm=%rm%:gm=%gm%:bm=%bm%:rh=%rh%:gh=%gh%:bh=%bh% -q:v %QU% -codec:v mpeg4 %TMP%
::PIP part::
%FFMPG% -i %INPUT% -i %TMP% -filter_complex "[1]scale=iw/3:ih/3
[pip]; [0][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10" -q:v
%QU% -codec:v mpeg4 %OUTPUT%
[/existing code] -
ASS/SSA subtitles hard coded using ffmpeg are highly antialiased
1er août 2024, par AdornI am using ASS/SSA format for hard coding captions on the video. These are relevant parts of my .ass file :


Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: s0, Montserrat-Black, 60, &H0015CCFA, &H001C1CB9, &H77000000, &H00000000, 1, 0, 0, 0, 100, 100, , 0, 1, 2, 2 , 2, 0, 0, 0, 1

[Events]
Format: Start, End, Style, Text
Dialogue: 00:0:43.8,00:0:46.55,s0,{\pos(540,1550)\fscx50\fscy50\t(0,100,\fscx100\fscy100)\org(10540,-8450)\t(100,600,\frz0.10)\t(600,1100,\frz-0.10)\t(1100,1600,\frz0.10)\t(1600,2100,\frz-0.10)\t(2100,2600,\frz0.10)\t(2600,3100,\frz-0.10)\t(3100,3600,\frz0.10)\k3463}ME FOR WHATEVER



And to hard code on the video, I use following ffmpeg command :


ffmpeg -i video_filepath -vf ass={ass_filepath} -c:a copy -y out_path



This works as intended, except the captions are highly antialiased.




By the way, no AI Assistant has solved this. Tried ChatGPT / Claude / llama 3.1.