Recherche avancée

Médias (91)

Autres articles (9)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

Sur d’autres sites (2807)

  • Revision 16872 : update ChangeLog, prepare for release

    5 février 2010, par j — Log

    update ChangeLog ?, prepare for release

  • Build PJSIP with video support on Windows 7, with MinGW

    3 juillet 2015, par Daniel V

    I’m trying to build PJSIP with video support for Windows OS, on my Windows 7 PC by using MinGW.
    Following the official guide from PJSIP :
    http://trac.pjsip.org/repos/wiki/Getting-Started/Autoconf#VideoSupportfor2.0andabove

    Building PJSIP without video support works as expected for me.

    • I’m using the latest PJSIP 2.2.1 from SVN
    • SDL2-devel-2.0.3-mingw.tar.gz (MinGW 32/64-bit)
    • ffmpeg-20140805-git-de41798-win32-dev

    I have added "#define PJMEDIA_HAS_VIDEO 1" in the config_site.h file
    and I’m building PJSIP with the following options :
    ./configure —with-ffmpeg="/c/PJSIP/ffmpeg" —with-sdl="/c/PJSIP/SDL"

    but I have the following compilation error for SDL :

    c:/PJSIP/SDL/lib/libSDL2main.a(SDL_windows_main.o): In function `console_main':
    /Users/slouken/release/SDL/SDL2-2.0.3-source/foo-x86/../src/main/windows/SDL_win
    dows_main.c:140: undefined reference to `SDL_main'
    collect2.exe: error: ld returned 1 exit status
    make[2]: *** [../bin/pjsua2-test-i686-pc-mingw32] Error 1
    make[2]: Leaving directory `/c/PJSIP/trunk/pjsip/build'
    make[1]: *** [pjsua2-test-i686-pc-mingw32] Error 2
    make[1]: Leaving directory `/c/PJSIP/trunk/pjsip/build'
    make: *** [all] Error 1

    The same error is available with SDL-2.0.2 too.

  • The proper way to limit framerate when recording screen on macOS

    5 juillet 2024, par jsx

    macOS 14.5, FFmpeg 7.0.1. To record the screen, if I use the code from Wiki, that is,

    


    ffmpeg -f avfoundation -i 1 output.mp4


    


    the frame rate seems to be so high that when I press q to stop recording, the following message persists until my MacBook Pro starts to noise by its cooler : "[q] command received. Exiting."

    


    My current solution is to add -r after -i :

    


    ffmpeg -f avfoundation -i 1 -r 24 output.mp4


    


    But I heard that a more correct solution is to replace -r with -framerate and to put it before instead of after -i :

    


    

    ffmpeg -f avfoundation -framerate 24 -i 1 output.mp4


    


    Note that I used -framerate as an input option instead of -r 24 as an output option, so I'm telling avfoundation to record at 24fps instead of recording at the default fps and then forcing FFmpeg to drop or duplicate frames to give you the desired 24.

    


    


    This doesn't work for me currently, and appears to be the same as I don't use -r at all.

    


    And so, what is the proper way to fix the "too high framerate" issue when recording the screen on macOS ? Do we need -r or instead -framerate, and where to put it, before or after -i ?

    


    Just in case, here is the log of ffmpeg -f avfoundation -i 1 output.mp4 -v verbose :

    


    https://github.com/jsx97/test/blob/main/ffmpeg.log