
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (64)
-
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 -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (9890)
-
Revision 101409 : chaînes de langue plus précise (avec accord de proximité)
11 juin 2018, par maieul@… — Logchaînes de langue plus précise (avec accord de proximité)
-
Video exception using Accord.video.ffmpeg
13 octobre 2017, par hossein safavii am using
Accord.Video.Ffmpeg.VideoFileWrite
in my code and produce anavi
file by it and write video frames withWriteVideoFrame
method. when i useWriteVideoFrame(Bitmap,TimeSpan)
overload it raise this exceptioni am using a backgroundWorker. this is my code
private void Bkw_DoWork(object sender, DoWorkEventArgs e)
{ try
{
vfile.Open("test.avi", (int)SystemParameters.PrimaryScreenWidth, (int)SystemParameters.PrimaryScreenHeight, 15, VideoCodec.MPEG4, 3000000);
while (isRecording) {
{
var ctimeticks = DateTime.Now.Ticks;
var bmp = CaptureScreen.CaptureDesktopWithCursor();
vfile.WriteVideoFrame(bmp,TimeSpan.FromTicks(ctimeticks-recStartTime));
bmp.Dispose();
}
}
}
catch (Exception x)
{
MessageBox.Show(x.ToString());
}
} -
Record video with Accord.net (AForge)
26 novembre 2020, par ghasem dehI used Accord.net (AForge) for connect to the webcam and record video
But stored videos is slow motion ...
this my project :



using AForge.Video;
using AForge.Video.DirectShow;
using AForge.Video.FFMPEG;
using System;
using System.Drawing;
using System.IO;
using System.Threading;
using System.Windows.Forms;

namespace CaptureWebcam
{
 public partial class Form1 : Form
 {
 private VideoCaptureDeviceForm captureDevice;
 private string path = Path.GetDirectoryName(Application.ExecutablePath) + @"\Videos\";
 private FilterInfoCollection videoDevice;
 private VideoCaptureDevice videoSource;
 private VideoFileWriter FileWriter = new VideoFileWriter();
 private Bitmap video;
 bool isRecord = false;

 public Form1()
 {
 InitializeComponent();
 }

 private void videoSource_NewFrame(object sender, NewFrameEventArgs eventArgs)
 {
 video = (Bitmap)eventArgs.Frame.Clone();
 pictureBox1.Image = (Bitmap)eventArgs.Frame.Clone();
 }

 private void btnStartCam_Click(object sender, EventArgs e)
 {
 videoDevice = new FilterInfoCollection(FilterCategory.VideoInputDevice);
 captureDevice = new VideoCaptureDeviceForm();
 if (captureDevice.ShowDialog(this) == DialogResult.OK)
 {
 videoSource = captureDevice.VideoDevice;
 videoSource = captureDevice.VideoDevice;
 videoSource.NewFrame += new NewFrameEventHandler(videoSource_NewFrame);
 videoSource.Start();
 timer1.Enabled = true;
 }
 //videoSource.DisplayPropertyPage(IntPtr.Zero);
 }

 private Thread workerThread = null;
 private bool stopProcess = false;

 private void recordLiveCam()
 {
 if (!stopProcess)
 {
 while (isRecord)
 {
 FileWriter.WriteVideoFrame(video);
 }
 FileWriter.Close();
 }
 else
 {
 workerThread.Abort();
 } 
 }

 private void btnRecord_Click(object sender, EventArgs e)
 {
 //try
 //{
 isRecord = true;
 if (!Directory.Exists(path))
 {
 Directory.CreateDirectory(path);
 }
 int h = captureDevice.VideoDevice.VideoResolution.FrameSize.Height;
 int w = captureDevice.VideoDevice.VideoResolution.FrameSize.Width;
 FileWriter.Open(path + "recorded at " + DateTime.Now.ToString("HH-mm-ss") + ".mp4", w, h, 25, VideoCodec.MPEG4);
 stopProcess = false;
 workerThread = new Thread(new ThreadStart(recordLiveCam));
 workerThread.Start();

 //}
 //catch (Exception ex)
 //{
 // MessageBox.Show(ex.Message);
 //}
 }

 private void Form1_Load(object sender, EventArgs e)
 {

 }

 private void btnStopRecord_Click(object sender, EventArgs e)
 {
 stopProcess = true;
 isRecord = false;
 FileWriter.Close();
 workerThread.Abort();
 video = null;

 }

 private void btnStopCam_Click(object sender, EventArgs e)
 {
 try
 {
 if (videoSource.IsRunning)
 {
 videoSource.SignalToStop();
 videoSource.Stop(); 
 pictureBox1.Image = null;
 pictureBox1.Invalidate();
 if (FileWriter.IsOpen)
 {
 FileWriter.Close();
 video = null;
 }
 }
 else
 return;
 }
 catch
 {
 videoSource.Stop();
 FileWriter.Close();
 video = null;
 }
 }

 float fts = 0.0f;
 private void timer1_Tick(object sender, EventArgs e)
 {
 fts = videoSource.FramesReceived;
 label1.Text = "Frame Rate : " + fts.ToString("F2") + " fps";
 }
 }
}




And when click the btnStopRecord following error :





Additional information : Attempted to read or write protected memory. This is often an indication that other memory is corrupt.