
Recherche avancée
Autres articles (41)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7465)
-
swscale/output : Add rgba64/rgb48/bgra64/bgr48 output functions with full chroma inter...
17 juin 2015, par Michael Niedermayer -
Can't record full screen using FFMEG Video File Writer - C#
2 avril 2019, par nsdsMy app need to record entire screen as video. For that I have installed
AForge.Video.FFMPEG
and did like below. Now I can record the screen. But some bottom area and right end area of screen is missing. Can anyone suggest what causes the issue ? I want to record the entire screen.
SystemInformation.VirtualScreen
is used to calculate screen size. it is getting as 1536*864
private ScreenCaptureStream _streamVideo;
private VideoFileWriter _Screenwriter;
private Rectangle _screenArea;
private bool _isScreenRecording;
private int _Screenwidth;
private int _Screenheight;
public RecordVideo()
{
InitializeComponent();
this._Screenwriter = new VideoFileWriter();
this._Screenwidth = SystemInformation.VirtualScreen.Width;
this._Screenheight = SystemInformation.VirtualScreen.Height;
this._isScreenRecording = false;
this._screenArea = Rectangle.Empty;
}
private void btn_startRecord_Click(object sender, EventArgs e)
{
try
{
if (btn_screenRecord.Text == "Record")
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
if (fbd.ShowDialog() == DialogResult.OK)
{
_isScreenRecording = true;
this.StartRecScreen(fbd.SelectedPath);
}
}
else
{
_isScreenRecording = false;
btn_screenRecord.Text = "Record";
MessageBox.Show(@"Recorded !");
}
}
catch (Exception EX)
{ MessageBox.Show(EX.Message); }
}
private void StartRecScreen(string path)
{
btn_screenRecord.Text = "Stop";
this.SetScreenArea();
_isRecording = true;
string fullName = string.Format(@"{0}\{1}_{2}.mp4", path, "Record_", DateTime.Now.ToString("d_MMM_yyyy_HH_mm_ssff"));
// Save File option
_Screenwriter.Open(
fullName,
this._Screenwidth,
this._Screenheight,
10, VideoCodec.MPEG4, 1000000);
// create screen capture video source
this._streamVideo = new ScreenCaptureStream(this._screenArea);
// set NewFrame event handler
this._streamVideo.NewFrame += new NewFrameEventHandler(this.video_NewScreenFrame);
// start the video source
this._streamVideo.Start();
}
private void video_NewScreenFrame(object sender, NewFrameEventArgs eventArgs)
{
if (this._isScreenRecording)
{
this._Screenwriter.WriteVideoFrame(eventArgs.Frame);
}
else
{
_streamVideo.SignalToStop();
_Screenwriter.Close();
}
}
private void SetScreenArea()
{
// get entire desktop area size
foreach (Screen screen in Screen.AllScreens)
{
this._screenArea = Rectangle.Union(_screenArea, screen.Bounds);
}
} -
Is there any way to detect and cut out the real video part from a full video
27 octobre 2020, par Jemma.ZNot sure whether I can explain my question. I have a bunch of video material. Some of them are recorded videos from mobile phones. When people record the video on their phone, their produced video may contain more than just the recorded video I need. I need to detect and cut out the useless part. The useless part would be still while the part I need is changing and on the play.


I do not know whether there is any way for me to do it. I can write some code but I just do not know what libraries to use. Does it have something to do with OpenCV. Or is there a way to solve it with ffmpeg ?


Hopefully someone can give me some ideas. Thanks a lot.