Recherche avancée

Médias (0)

Mot : - Tags -/publication

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

Autres articles (111)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (11678)

  • How to convert raw camera Android data into usual mpeg4 by ffmpeg ?

    12 octobre 2014, par trololo

    I can recieve raw camera data :

    fos = new FileOutputStream (new File(Environment.getExternalStorageDirectory().getPath() + "/video_raw.raw"));
    _.mCamera.setPreviewCallback(new Camera.PreviewCallback() {
         public synchronized void onPreviewFrame(byte[] data, Camera camera) {

               try {
                   if (fos != null)
                       fos.write(data);//I can save data to a file
    //Environment.getExternalStorageDirectory().getPath() + "/video_raw.raw"
                   } catch (IOException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
               }

             try{
                 camera.addCallbackBuffer(data);
             }catch (Exception e) {
                 Log.e("CameraTest", "addCallbackBuffer error");
                 return;
             }
             return;
         }
     });

    and trying to use this library to manipulate with video(audio)-data

    File dir =  new File(_.mediaFile).getParentFile();
               FfmpegController fc = new FfmpegController(this, dir);
               Clip clip_in = new Clip(Environment.getExternalStorageDirectory().getPath() + "/video_raw.raw");
               clip_in.height = 480;
               clip_in.width = 720;
               clip_in.videoCodec = "rawvideo";
               clip_in.videoFilter= "rawvideo";
               Clip clip_out = new Clip(Environment.getExternalStorageDirectory().getPath() + "/video15a.mp4");
                //put flags in clip
               clip_out.videoFps = "30";
               clip_out.width = 480;
               clip_out.height = 320;
               clip_out.videoCodec = "libx264";
               clip_out.audioCodec = "copy";
               fc.processVideo(clip_in, clip_out, false, new ShellUtils.ShellCallback() {
               @Override
               public void shellOut(String shellLine) {
                   System.out.println("MIX> " + shellLine);
               }

               @Override
               public void processComplete(int exitValue) {

                   if (exitValue != 0) {
                       System.err.println("concat non-zero exit: " + exitValue);
                       Log.d("ffmpeg","Compilation error. FFmpeg failed");
                       Toast.makeText(AMain.this, "result: ffmpeg failed", Toast.LENGTH_LONG).show();
                   } else {
                   }
               }
           });

    Link to the project :
    https://github.com/guardianproject/android-ffmpeg-java

    This code works correctly for any videofile which created before (the other apps). BUt this oce doesn’t work in my case. How to fix it ?

  • Re streaming an rtsp stream from an ONVIF camera

    12 avril 2013, par user132151

    I would like to take the video stream from my ONVIF TI camera and add audio to the Moët stream.
    So I have the camera and I have a beagle board xm . On the beagle board I would like to suck in the h.264 rtsp stream, then I want to take the audio in from the beagle board and make 1 mpeg stream with audio and video.
    So I think I could do it with gstreamer, since you seem to be able to do everything audio video with gstreamer. But I'm a gstreamer virgin. But I'm not wedded to gstreamer I have a feeling you could probably do it in ffmpeg as well. But I would appreciate any help at all, particularly what commands I give to gstreamer to make it work
    So I have my beagle board that is currently running Ubuntu 12. Happy to use angstrom as well. It's on say 192.168.1.4. And my camera is in 192.168.1.6

  • Reading from IP Camera (RTSP) using FFmpeg results in 5xx Server Error

    9 décembre 2015, par bcop

    I have a scenario where I am trying to read from IP camera using RTSP method.

    On my development PC everything is working fine, the rtsp url is something like :

    rtsp://admin:12345@192.168.1.60:554

    but when I try to test it over a friend’s place, he has different camera (Axis IP camera), and the url fails to open.
    The self generated log is something like :

    Error: avformat_open_input()
    error message: Server returned 5XX Server Error reply

    I tried opening it using HTTP tunneling, but this time I’m getting a different error :

    error message: Error number -5 occurred

    The latter error message even appears on my dev PC (just to mention that I tried this as well) ; so HTTP tunnel is no good.

    Any one knows how to fix 5XX Server Error ?

    Thanks,