Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (84)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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) (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (7060)

  • 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);
           }
       }
  • swscale/output : Add rgba64/rgb48/bgra64/bgr48 output functions with full chroma inter...

    17 juin 2015, par Michael Niedermayer
    swscale/output : Add rgba64/rgb48/bgra64/bgr48 output functions with full chroma interpolation
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/output.c
    • [DH] libswscale/utils.c
    • [DH] tests/ref/fate/filter-pixfmts-scale
  • Android : How to make camera capture video only of preview size and not full screen ?

    13 décembre 2017, par Ashutosh Tiwari

    I am working on an app that needs to capture square videos just like Instagram. I used many libraries for the purpose but none helped to capture the video itself in square size. I can make the preview look like square but not the recorded video. For that I have to use FFMPEG library for cropping the video after it has been captured. But this process takes too long for 1 minute videos even with 480p video capture quality. Someone please guide me to achieve this task.

    Libraries that I have used are :
    https://github.com/natario1/CameraView for cameraView and http://writingminds.github.io/ffmpeg-android-java/ for using ffmpeg.

    Commands that I have tried for ffmpeg cropping operation are :

    command = new String[]{"-y",
                   "-f",
                   "concat",
                   "-safe",
                   "0",
                   "-i",
                   "" + sdCardPathFile,
                   "-c:v",
                   "libx264",
                   "-vf",
                   "crop=" + getVideoResolution(),
                   "-preset",
                   "ultrafast",
                   "-qscale",
                   "0",
                   "-crf",
                   "28",
                   "-c:a",
                   "copy",
                   "-flags",
                   "+global_header",
                   "" + joinedVideoFile.getAbsolutePath()
           };




    String[] joinCommand = new String[]{
                   "-y",
                   "-f",
                   "concat",
                   "-safe",
                   "0",
                   "-i",
                   "" + sdCardPathFile,
                   "-filter:v",
                   "crop=480:480",
                   "-preset",
                   "superfast",
                   "-c:a",
                   "copy",
                   "" + joinedVideoFile.getAbsolutePath()
           };