Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (64)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to translation

    13 avril 2011

    You 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, par

    MediaSPIP 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)

  • How to manage Accord.video.ffmpeg frame setting for real time output

    3 décembre 2019, par M.Farrukh

    I am using accord for recoding desktop but i have an issue in making video.
    when video creates I will become to fast or too slow.

    Here is the code :

    VideoFileWriter writer;
    writer.Open(path + "\\video.mp4", re.Width - 6, re.Height - 6, 9, VideoCodec.H264, 15000);

    I want to make it as real-time like if I made video of 5 minutes then it will show 5 minutes in the player.

  • Record video with Accord.net (AForge)

    17 mai 2017, par ghasem deh

    I 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.

  • Revision 15811 : Cette fois-ci tout le monde semble être d’accord sur le champ "maj" comme ...

    25 juin 2010, par da@… — Log

    Cette fois-ci tout le monde semble être d’accord sur le champ "maj" comme critère de tri