
Recherche avancée
Autres articles (106)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (8125)
-
How can I start ffmpeg while playing a full screen game ?
11 janvier 2021, par Muhamed Shair benshairThis is a class of the ffmpeg :


using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Threading.Tasks; 
using System.IO; 
using System.Diagnostics; 
 
namespace Ffmpeg_App 
{ 
 class Ffmpeg 
 { 
 Process process; 
 
 public void Start(string FileName, int Framerate) 
 { 
 process = new System.Diagnostics.Process(); 
 process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is. 
 process.EnableRaisingEvents = false; 
 process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory 
 process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast - pix_fmt yuv420p " + FileName; 
 process.Start(); 
 process.StartInfo.UseShellExecute = false; 
 process.StartInfo.CreateNoWindow = false; 
 Close(); 
 } 
 
 public void Close() 
 { 
 process.Close(); 
 } 
 } 
} 



And in form1 :


At the top :


Ffmpeg fmpeg = new Ffmpeg();



In a button click event :
To start :


private void Start_Click(object sender, EventArgs e) 
 { 
 fmpeg.Start("test.mp4", 24); 
 }



and to stop :


private void Stop_Click(object sender, EventArgs e) 
 { 
 fmpeg.Close(); 
 }



The problem is when I'm in full screen game I don't have access to the form and the buttons they are hidden in the background.


I need to make some global keys hook maybe ?


-
ffmpeg neighbor resize giving distortion when resizing video game footage. 2x2 pixels converted to 3x3 don't hold their color and are pixelated
12 avril 2020, par PixelFrustatedHere is my ffmpeg code :



ffmpeg -i C :\FFMPEG\bin\input.mp4 -vf "scale=-2:1080" -sws_flags neighbor -c:v libx264 -crf 0 -preset Slow -c:a copy -b:a 320k C :\FFMPEG\bin\VIDEO2_1080p.mp4



I'm converting a 720p video to 1080p. The game is 2x2 pixels and when I do the conversion they should be flat 3x3 pixels but instead they come out with slight miscolors on the insides between the pixels and their color is slightly off.



Can anyone help me figure out why this warped ?



Pixels on the left are 2x2 and are converted to the pixels on the right.



Instead of 2x2 expanding out to a 3x3 it takes a weird blend going vertical but the horizontal pixels are just fine.


-
Chromakey filter to display transparent keyboard while recording game screen using ffmpeg
31 janvier 2020, par captain_majidI’m trying to display a transparent keyboard like this one (he is using OBS studio) :
https://www.youtube.com/watch?v=6RCXyh2aICYSo I’m setting all "NohBoard v1.2.2" colors to green (0x00FF00), except the letters, then :
ffmpeg -y -f gdigrab -framerate 30 -draw_mouse 0 -i title="NohBoard v1.2.2" keyboard.mp4
ffmpeg -y -i keyboard.mp4 -c: png -vf "chromakey=0x00FF00:similarity=.200" keyboard1.mp4
ffmpeg -y -i gameplay.avi -i keyboard1.mp4 -filter_complex "[1:v] scale=560x180 [kb]; [0:v][kb] overlay=x=W-w-520:y=H-h-0 [done]" -shortest -map [done] test.mkvEverything works great so far, but can I use 1 command for this ?