Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (94)

  • Les formats acceptés

    28 janvier 2010, par

    Les 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, par

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

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

Sur d’autres sites (6414)

  • instalation ffmpeg in Ubuntu [migrated]

    27 août 2014, par Chintan Gor

    I am using following steps for installing ffmpeg-php extension in Ubuntu

    1. Download ffmpeg-php-0.5.2.1.tbz2

    2. extract it

    3. go to this directory

    4. run this "phpize"

    5. ./configure && make

    but when I am running step 5 I got this error message "ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the —enable-shared option
    "

    what to do please someone help me I am fresher in Linux

    I already install ffmpeg in this machin using this steps
    https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    Now I am installing extension for PHP

    using this steps from this http://ffmpeg-php.sourceforge.net/

    INSTALLATION

  • ffmpeg for archval and convertability

    26 juillet 2021, par Satya

    I'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.

    


  • SDL2 C++ Capturing Video of Renderer Animation/Sprite

    27 octobre 2016, par alok

    I 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 ?