Recherche avancée

Médias (91)

Autres articles (87)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (13888)

  • How can I capture RTSP stream with FFMPEG continously and later decode a video

    17 avril 2020, par İsmet

    I have got a rtsp stream from camera. I don't want rtsp to mp4 file convert because that give a file like 10minute video,1 hour video. But I wanna search a specific date in stream (e.g 17.04.2020 15.00.00-16.15.00). So it have integrity data.

    



    enter image description here

    



    Summary : how can I storage this rtsp stream and convert a video type (mp4,avi) with specific time part of data when I want it ?

    



    Note : Sorry for my weak Englis, I hope image tells what I want.

    


  • Remux video file and get the output bytes on the fly

    22 septembre 2014, par Miguel Botón

    I have been looking for a solution too many hours and maybe I didn’t use the proper keywords to find it but I give up. I hope somebody can help me with this.

    My goal is to create a small C code that remux a video file to another container (mp4 or whatever, not decided yet) and create a JNI interface to read the raw output bytes in my Java application.

    Create the JNI interface is not a problem and remux the video is pretty simple (and there is a great example at http://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c-example.html), but I’m having a headache trying to figure out how I can tell FFmpeg to deliver the data when my application requests it.

    I was thinking in create a thread, where the remux would be done, and write the output data to a buffer where my application would read it. When the buffer is full the remux would be paused until it is flushed, but I don’t know how I can achieve that or if it would be a proper solution.

    I believe the best solution will involve creating an AVIOContext but I’m not very sure.

    Thank you very much in advance.

    EDIT :

    A solution I found, but I don’t like it at all, is to run the "ffmpeg" executable, tell it to write the output to "stdout" and read this output from my Java application using an InputStream.

  • How to take screenshot (high fps) in Linux (programming)

    30 août 2014, par pirobtumen

    First of all I want to say that I’ve been reading a lot about this and I’ve learnt many ways to do it, but I haven’t been able to do it in linux.

    My project is an ambilight with arduino, so I need to take a screenshot of the desktop and analyze its colour.

    At the beginning I used Processing 2.0 with the class ’Robot’ from ’java.awt’. Initially I could take 5 frames per second and then I got 13fps. This works but I want more perfomance, so I start reading.

    In Windows or Mac you have libraries that let you access directly to the ’frameBuffer’, so you can take screenshot really ’easy’ and really fast.

    In Ubuntu I have tried python with Gtk, PIL, Qt... and the fastest way is GTK but I can only have about 15fps too.

    My problem is : I want to do it cross platform but I prefer that my program work in Linux at the beginning and then in Windows (I don’t like it too much :P).

    So, the first question : is python able to offer that perfomance ? Because I think that C++ can be a better option.

    And the second question : what do I need to do it ? I’ve read about Xlib (X11) but I can’t find documentation that let me take a screenshot. Also I know, for example, FFmpeg which is a powerful tool but I don’t know how to implement it.

    I hope that you could help me (and excuse me if I’ve made any mistakes).