Recherche avancée

Médias (91)

Autres articles (107)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (6504)

  • Can't record full screen using FFMEG Video File Writer - C#

    2 avril 2019, par nsds

    My 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);
           }
       }
  • How to record sound/audio via FFmpeg, Alsa, PulseAudio or Sox without a soundcard (using the commandline)

    13 avril 2019, par Heart Of A Lion

    I’m trying to record audio on an Ubuntu server that has no soundcard or any other audio device. When I use the following Alsa command to list any audio devices, then it can’t find any devices.

    arecord -l

    I’ve tried recording/capturing audio using the following packages, but because there is no soundcard they all fail to record any audio :

    ffmpeg, alsa, pulseaudio, sox

    Now it should be possible to record sound on a server that has no soundcard, as some people have managed to do it. The question is how.

    Can someone give a step by step commandline walk-through of how to do this on an Ubuntu server, so that audio can be recorded on the server using any of the above-mentioned packages ?

  • ffmpeg record before and after applying filters

    7 mai 2019, par Mark

    I’m trying to use ffmpeg to do the following things :

    • acquire input streaming [OK]
    • save to disk the video as is [TODO]
    • apply filter, i.e. drawtext [OK]
    • save to disk the overlayed video [OK]
    • preview the overlayed video [OK]

    Here my current command line :

    ffmpeg -rtsp_transport tcp -i  -vf "[in]drawtext=textfile='text.txt': reload=1: font=arial: fontcolor=red: fontsize=80: box=1: boxcolor=yellow@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[out]" -vcodec libx264 -f tee -map 0:v "[f=mp4]test.mp4|[f=nut]pipe:" | ffplay pipe:

    The only thing I don’t understand how to do is the recording of the video before drawtext. I guess I have to create another tee :

    INPUT ---> TEE ---->RECORD
                   |
                   |-->FILTERS---> TEE ---->RECORD
                                        |
                                        |-->PLAY

    So I tried with this cumbersome command :

    ffmpeg -rtsp_transport tcp -i  -vcodec libx264 -f tee -map 0:v "[f=mp4]before.mp4|[f=nut]pipe:" | ffmpeg -f mp4 -i pipe: -vf "[in]drawtext=textfile='text.txt': reload=1: font=arial: fontcolor=red: fontsize=80: box=1: boxcolor=yellow@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[out]" -vcodec libx264 -f tee -map 0:v "[f=mp4]after.mp4|[f=nut]pipe:" | ffplay pipe:

    It doesn’t throw errors, records "before.mp4" but neither "after.mp4" nor the preview are working. Surely I forgot something in the syntax.