
Recherche avancée
Autres articles (75)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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" (...)
Sur d’autres sites (18584)
-
msvc/icl : Use __declspec(noinline)
19 septembre 2013, par Alex Smith -
FFmpeg : How to convert vertical/horizontal video (any size) with black sides, to 1080x1350 vertical video with blurred background sides/bottom-top
12 octobre 2023, par devwebi've been trying to make a ffmpeg 'filter_complex' code to make what i need but i can't, i've used some codes here on stack but non works for what i need, each is like for a different size/dimension.
I'm trying to make videos like Instagram posts (tallest allowed) : 1080 x 1350


Bassically, horizontal videos with blurred sides or bottom-top.


Any help will be awesome, thanks !


This is the principal which i tried


Something like this :




Here some codes i tried to worked with and changing stuff :

filter_complex='[0:v]scale=1080*2:1350*2,boxblur=luma_radius=min(h\\,w)/20:luma_power=1:chroma_radius=min(cw\\,ch)/20:chroma_power=1[bg];[0:v]scale=-1:1080[ov];[bg][ov]overlay=(W-w)/2:(H-h)/2,crop=w=1080:h=1350'


filter_complex='[0:v]scale=ih*5/4:-1,crop=h=iw*4/5,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'


filter_complex='[0:v]scale=1080:1350,setsar=1,gblur=sigma=20[blurred];[blurred][0:v]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2'


-
Is it possible to adjust position of gdigrab recording region during recording ?
30 novembre 2020, par adelimaI'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :


public static void StartRecording(Video v) {
 string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");
 v.FFMPEG = new Process {
 StartInfo = new ProcessStartInfo() {
 Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",
 WindowStyle = ProcessWindowStyle.Hidden,
 CreateNoWindow = true,
 UseShellExecute = false,
 FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),
 RedirectStandardOutput = true,
 RedirectStandardInput = true,
 RedirectStandardError = true,
 }
 };
 v.FFMPEG.Start();

 new Thread(() => {
 using(StreamReader sr = v.FFMPEG.StandardError) {
 while(!sr.EndOfStream) {
 Debug.WriteLine(sr.ReadLine());
 }
 }
 }).Start();
 }

 public static void StopRecording(Video v) {
 using(StreamWriter sw = v.FFMPEG.StandardInput) {
 sw.WriteLine("q\n");
 }
 v.FFMPEG.WaitForExit();
 v.FFMPEG.Dispose();
 }



Is it possible to make changes to the
-offset_x
and-offset_y
arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.