Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (59)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7547)

  • create video from images which is in Camera Folder using ffmpeg and opencv

    17 juillet 2015, par Nikhil Borad
    new AsyncTask() {
           ProgressDialog dialog;
           protected void onPreExecute() {
               dialog = new ProgressDialog(MainActivity.this);
               dialog.setMessage("Genrating video, Please wait.........");
               dialog.setCancelable(false);
               dialog.show();
           };

           @Override
           protected Void doInBackground(Void... arg0) {

               File folder = Environment
                       .getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);
               String path = folder.getAbsolutePath() + "/Camera";
               ArrayList<string> paths = new ArrayList<string>(Arrays.asList(folder.list()));
               FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path
                       + "/" + "test.mp4", 400, 400);
               videoPath = path + "/" + "test.mp4";
               try {
                   //recorder.setVideoCodec(5);
                   recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
                   //recorder.setFormat("3gp");
                   recorder.setFormat("mp4");
                   recorder.setFrameRate(frameRate);
                   recorder.setVideoBitrate(30);
                   startTime = System.currentTimeMillis();
                   recorder.start();
                   for (int i = 0; i " + paths.get(i));
                       long t = 3000 * (System.currentTimeMillis() - startTime);
                       if (t > recorder.getTimestamp()) {
                           recorder.setTimestamp(t);
                           **recorder.record(image);**
                       }
                   }
                   System.out.println("Total Time:- " + recorder.getTimestamp());
                   recorder.stop();
               } catch (Exception e) {
                   e.printStackTrace();
               }

               return null;
           }

           protected void onPostExecute(Void result) {
               dialog.dismiss();
               Intent intent = new Intent(Intent.ACTION_VIEW);
               intent.setDataAndType(Uri.parse(videoPath), "video/mp4");
               startActivity(intent);
               Toast.makeText(MainActivity.this, "Done", Toast.LENGTH_SHORT)
                       .show();
           };
       }.execute();
    </string></string>

    Got an Error in recorder.record(image) ;

    Error Says :

    Error:(69, 37) error: no suitable method found for record(IplImage)
    method FFmpegFrameRecorder.record(AVFrame) is not applicable
    (actual argument IplImage cannot be converted to AVFrame by method invocation conversion)
    method FFmpegFrameRecorder.record(Frame) is not applicable
    (actual argument IplImage cannot be converted to Frame by method invocation conversion)
    method FrameRecorder.record(Frame) is not applicable
    (actual argument IplImage cannot be converted to Frame by method invocation conversion)

    **Thanks in Advance

  • avconv / ffmpeg webcam capture while using minimum CPU processing

    10 septembre 2015, par user3585723

    I have a question about avconv (or ffmpeg) usage.

    My goal is to capture video from a webcam and saving it to a file.
    Also, I don’t want to use too much CPU processing. (I don’t want avconv to scale or re-encode the stream)

    So, I was thinking to use the compressed mjpeg video stream from the webcam and directly saving it to a file.

    My webcam is a Microsoft LifeCam HD 3000 and its capabilities are :

    ffmpeg -f v4l2 -list_formats all -i /dev/video0

    Raw: yuyv422 : YUV 4:2:2 (YUYV) : 640x480 1280x720 960x544 800x448 640x360 424x240 352x288 320x240 800x600 176x144 160x120 1280x800

    Compressed: mjpeg : MJPEG : 640x480 1280x720 960x544 800x448 640x360 800x600 416x240 352x288 176x144 320x240 160x120

    What would be the avconv command to save the Compressed stream directly without having avconv doing scaling or re-encoding.

    For now, I am using this command :

    avconv -f video4linux2 -r 30 -s 320x240 -i /dev/video0 test.avi

    I’m not sure that this command is CPU efficient since I don’t tell anywhere to use the mjpeg Compressed capability of the webcam.

    Is avconv taking care of the configuration of the webcam setting before starting to record the file ? Is it always working of raw stream and doing scaling and enconding on the raw stream ?

    Thanks for your answer

  • FFMPEG Command line for producing video for Tivo S3 and S4 RSS feed functionality

    16 décembre 2015, par user793586

    I have been trying to generate a solid video/audio ffmpeg command line configuration that will produce an HD quality video. The output needs to play on both the Tivo S3 and S4 boxes using the RSS vod feature. The following settings are required.

    Video :

    Multiplexer type : MPEG-4 System

    Video Dimension : 1280 x 720

    Aspect Ratio : 16:9

    Frame Rate : 29.97fps

    Interlacing : Non-Interlaced

    Bite Rate Mode : VBR

    Number of passes : 2

    Video Bitrate : 3000 kbps

    Maximum Bitrate : 8000 kbps

    Profile : Main

    Level : 3.2

    Number of B-Pictures : 2

    Audio :

    Audio Stream Type : AAC

    Bits / Sample : 16

    Channels : Stereo

    Sample Rate : 48K

    Audio Bitrate : 128 kbps