Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (44)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6536)

  • How can I record audio along with Aforge player video recording ?

    4 juin 2019, par H.NS

    My app is playing webcam video using Aforge Plyer. Now I want to record this video. Using Aforge player audio recording is not possible.

    Is there any way to record audio separately and merge it with recorded video using Aforge player ?

    Found that using Direct Show architecture is the way to achieve this. But it will be very difficult to change the architecture at the last time of development. Since I’m unaware with directshow concepts and almost 90 percentage of my project is completed with Aforge player.

    My current code is here. It can record video from selected webcam using aforge player. But audio is missing

    using AForge.Video;
    using AForge.Video.DirectShow;
    using Accord.Video.FFMPEG;

       private FilterInfoCollection VideoCaptureDevices;
       private VideoCaptureDevice FinalVideo = null;
       private VideoCaptureDeviceForm captureDevice;
       private Bitmap video;
       private VideoFileWriter FileWriter = new VideoFileWriter();
       private SaveFileDialog saveAvi;

       private void VideoRecord_Load(object sender, EventArgs e)
       {
           VideoCaptureDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice);
           captureDevice = new VideoCaptureDeviceForm();
       }
       private void play_Click(object sender, EventArgs e)
       {
           if (captureDevice.ShowDialog(this) == DialogResult.OK)
           {
               VideoCaptureDevice videoSource = captureDevice.VideoDevice;
               FinalVideo = captureDevice.VideoDevice;
               FinalVideo.NewFrame += new NewFrameEventHandler(FinalVideo_NewFrame);
               FinalVideo.Start();
           }
       }
       void FinalVideo_NewFrame(object sender, NewFrameEventArgs eventArgs)
       {
           if (butStop.Text == "Stop Record")
           {
               video = (Bitmap)eventArgs.Frame.Clone();
               FileWriter.WriteVideoFrame(video);
           }
           else
           {
               video = (Bitmap)eventArgs.Frame.Clone();;
           }
       }
       private void Record_Click(object sender, EventArgs e)
       {
           saveAvi = new SaveFileDialog();
           saveAvi.Filter = "Avi Files (*.avi)|*.avi";
           if (saveAvi.ShowDialog() == System.Windows.Forms.DialogResult.OK)
           {
               int h = captureDevice.VideoDevice.VideoResolution.FrameSize.Height;
               int w = captureDevice.VideoDevice.VideoResolution.FrameSize.Width;
               FileWriter.Open(saveAvi.FileName, w, h, 25, VideoCodec.Default, 5000000);
               FileWriter.WriteVideoFrame(video);
               butStop.Text = "Stop Record";
           }
       }
       private void stopRecord_Click(object sender, EventArgs e)
       {
           if (butStop.Text == "Stop Record")
           {
               butStop.Text = "Stop";
               if (FinalVideo == null)
               { return; }
               if (FinalVideo.IsRunning)
               {
                   FileWriter.Close();
               }
           }
           else
           {
               this.FinalVideo.Stop();
               FileWriter.Close();
           }
       }
    }
    }
  • How do I use an ffmpeg device to record the screen ?

    25 janvier 2021, par alexandreleal

    I'm trying to record the screen using the ffmpeg-next wrapper and save the result to a mkv file. There's an example in the crate's github for remuxing and from what I've read from ffmpeg's documentation, replacing the input context demuxer with a device that captures the screen would do the trick.

    


    The input context is declared like this :

    


    let mut ictx = format::input(&input_file).unwrap();


    


    Can I change this input context to a device that captures the screen ?

    


  • Record rtsp stream to a file to be played later

    16 avril 2021, par Саня Рыбалко

    everyone.
    
I have a UWP app, which can stream rtsp streams from online ip cameras by means of FFmpegInterop NuGet package. This is how I use the FFmpegInteropMSS object to set mediaElement's source to the rtsp stream :

    


            FFmpegInteropMSS ffmpeg = await FFmpegInterop.FFmpegInteropMSS.CreateFromUriAsync("rtsp://88.84.52.66/axis-media/media.amp");
        MediaStreamSource streamSource = ffmpeg.GetMediaStreamSource();
        mediaElement.SetMediaStreamSource(streamSource);
        mediaElement.Play();


    


    But I have run into a problem - I need to make it possible to record the stream in a local file to be played later. I have found out this is possible while using ffmpeg console, but I would prefer to use some c# tools(not only FFmpegInterop library) to do it.
    
Thanks for your help in advance.