
Recherche avancée
Autres articles (43)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (7131)
-
How to take screenshot (high fps) in Linux (programming)
30 août 2014, par pirobtumenFirst 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).
-
Remux video file and get the output bytes on the fly
22 septembre 2014, par Miguel BotónI 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 can I capture RTSP stream with FFMPEG continously and later decode a video
17 avril 2020, par İsmetI 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.






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.