Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (73)

  • 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

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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (11293)

  • 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()
           };