Recherche avancée

Médias (91)

Autres articles (75)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (12854)

  • 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

  • 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

  • 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