
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (22)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (3320)
-
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 ? -
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 ?
-
ffmpeg for archval and convertability
26 juillet 2021, par SatyaI've got a couple hundred gigs of *.dv files. I'd like to convert them to H.264 or something else or even leave them alone. The purpose is archival, with an eye to maximum convertability especially to DVD. The content is family videos.


Would this be fine ?


ffmpeg -i input.dv \
 -c:v libx264 -preset slower \
 -crf 17 \
 -pix_fmt yuv420p \
 output.mp4



I went with the
slower
preset because encoding time isn't an issue and I'd like a smaller file size. crf 17 is for least-lossy while being widely playable. I read somewhere that yuv420p is needed for some Quicktime players.

Should I throw in
-c:a aac
for AAC audio ? The audio is voice only, no need for music-hall quality.

I looked at https://trac.ffmpeg.org/wiki/Encode/H.264 for previous research and that's where I got those settings, but it is silent on the audio settings.