Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (14)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (5953)

  • ffmpeg c/c++ get frame count or timestamp and fps

    23 juin 2016, par broschb

    I am using ffmpeg to decode a video file in C. I am struggling to get either the count of the current frame I am decoding or the timestamp of the frame. I have read numerous posts that show how to calculate an estimated frame no based on the fps and frame timestamp, however I am not able to get either of those.

    What I need : fps of video file, timestamp of current frame or frame no(not calculated)

    What I have : I am able to get the time of the video using

    pFormatCtx->duration/AV_TIME_BASE

    I am counting the frames currently as I process them, and getting a current frame count, this is not going to work longterm though. I can get the total frame count for the file using

    pFormatCtx->streams[currentStream->videoStream]->nb_frames

    I have read this may not work for all streams, although it has worked for every stream I have tried.

    I have tried using the time_base.num and time_base.den values and packet.pts, but I can’t make any sense of the values that I am getting from those, so I may just need to understand better what those values are.

    Does anyone know of resources that show examples on how to get this values ?

  • FFMPEG in android issue

    9 janvier 2012, par Antu

    I have successfully compiled the FFMPEG library to android using NDK.
    (using Rock Player FFMPEG implementation)http://www.rockplayer.com/download/rockplayer_ffmpeg_git_20100418.zip

    I know that FFMPEG supports .avi, divX, mov ect. But I created a mediaplayer and tried to run them but I was not able to play them. I is this the right way to use the FFMPEG library. Can Any one Help.I am able to play defaut video, mp4, 3gp etc. Here is the code for mediaplayer

      public native String  stringFromJNI();
         static {
            System.loadLibrary("ffmpeg");
            System.loadLibrary("ffmpeg-test-jni");
                }
       @Override
         public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);


       setContentView(R.layout.main);

       TextView  tv =(TextView) findViewById(R.id.textView1);
       tv.setText( stringFromJNI() );


       System.gc();

       Log.d("Video FFmpeg ", "**");

       getWindow().setFormat(PixelFormat.TRANSLUCENT);
       String filepath = Environment.getExternalStorageDirectory()+"/simple.avi";

       Log.d("File path", filepath);

       MediaController mc = new MediaController(this);

       VideoView video=(VideoView) findViewById(R.id.video);
       mc.setMediaPlayer(video);
       video.setVideoPath(filepath);
       video.setMediaController(mc);
       mc.show();
       //video.setVideoPath("/mnt/sdcard/Movies/Ishq-Hothon-Se.3gp");

       video.start();    
       View nextButton = findViewById(R.id.button1);
       nextButton.setOnClickListener(this);
       }



     @Override
     public void onClick(View v) {
     // TODO Auto-generated method stub
     Intent i=new Intent(this,NextVideo.class);
      startActivity(i);

     }

     }
  • How to realize my web video picture in picture ? [closed]

    17 janvier 2013, par winds

    I want to build a streaming media server in nginx+php that can drag the video progress bar and when my mouse over the video on the progress bar the video show the real-time and the thumbnail.Just like The Youtube. Can anbody understand me ?
    Can the ffmpeg help me realize that or give me some examples !
    I am so sorry. I am from China.Maybe my description is not clear.I have no authority to upload the image.This is the
    URL of the image.
    http://d.hiphotos.baidu.com/zhidao/pic/item/aa64034f78f0f736949dc5c90a55b319eac41392.jpg

    Thank you very much !!