
Recherche avancée
Autres articles (96)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (7087)
-
SDL2 C++ Capturing Video of Renderer Animation/Sprite
27 octobre 2016, par alokI have an animation/sprite created using SDL2. The animation works fine when it is being rendered to a screen. But now I also want it to be recorded into a video file (locally stored). For this, I am planning on using FFmpeg APIs, to which I’ll be sending a raw RGB pixel data array.
My problem is with fetching the data from SDL2 APIs.
What I’ve tried is :
// From http://stackoverflow.com/questions/30157164/sdl-saving-window-as-bmp
SDL_Surface *sshot = SDL_CreateRGBSurface(0, 750, 750, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
SDL_RenderReadPixels(gRenderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch);
// From https://wiki.libsdl.org/SDL_RWFromMem
char fName[50];
sprintf(fName, "/tmp/a/ss%03d.bmp", fileCnt);
char bitmap[310000];
SDL_RWops *rw = SDL_RWFromMem(bitmap, sizeof(bitmap));
SDL_SaveBMP_RW(sshot, rw, 1);Above does not work. But dumping a single frame into a file with following code works :
SDL_SaveBMP(sshot, "/tmp/alok1/ss.bmp")
This obviously is not an acceptable solution - Writing to thousands of BMPs and then using FFmpeg from command-line to create a video.
What am I doing wrong ? How do you extract data from SDL_RWops ? Is the use of SDL_RWFromMem the right approach to my problem statement ?
-
How to install libavcodec and libavutil from its source in linux
25 janvier 2017, par neckTwiFFMPEG is providing
libavutil
andlibavcodec
libraries. While compiling and installingffmpeg
as described at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I can findlibavcodec
andlibavutil
folders in theffmpeg
source folder. I want to install these libraries to use them in my c++ programs. But there are no Makefiles in these folders. How can I install them ? -
How to install libavcodec and libavutil from its source in linux
25 septembre 2020, par NecktwiFFMPEG is providing
libavutil
andlibavcodec
libraries. While compiling and installingffmpeg
as described at https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu I can findlibavcodec
andlibavutil
folders in theffmpeg
source folder. I want to install these libraries to use them in my c++ programs. But there are no Makefiles in these folders. How can I install them ?