Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (62)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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 audio et vidéo HTML5

    10 avril 2011

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

Sur d’autres sites (11043)

  • ffmpeg screen recording with camera overlay on OSX

    8 novembre 2015, par lockdoc

    I would like to use ffmpeg to record my desktop as well as my camera as an overlay on top of the desktop.

    So basically I will have two input sources that need to be recorded

    $ ffmpeg -f avfoundation -list_devices true -i ''
    [AVFoundation input device @ 0x7fded1c223e0] AVFoundation video devices:
    [AVFoundation input device @ 0x7fded1c223e0] [0] FaceTime HD Camera
    [AVFoundation input device @ 0x7fded1c223e0] [1] Capture screen 0
    [AVFoundation input device @ 0x7fded1c223e0] AVFoundation audio devices:
    [AVFoundation input device @ 0x7fded1c223e0] [0] Built-in Microphone

    From the above, I need [0] FaceTime HD Camera as an overlay and [1] Capture screen 0 as the main video.

    Is this even possible ?

    UPDATE (2015-10-06) :

    I found the following command from ffscreencast :

    ffmpeg \
    -f avfoundation -i "1" \
    -f avfoundation -r 30 -video_size 640x480 -i "0" \
    -c:v libx264 -crf 0 -preset ultrafast \
    -filter_complex 'overlay=main_w-overlay_w-10:main_h-overlay_h-10' "out.mkv"

    Unfortunately the output has a pretty slow framerate (i7 Macbook Pro 2014)

    Output #0, matroska, to 'out.mkv':
     Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 3840x2400, q=-1--1, 1000k fps, 1k tbn, 1000k tbc (default)
    Metadata:
     encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 (rawvideo) -> overlay:main
     Stream #1:0 (rawvideo) -> overlay:overlay
     overlay -> Stream #0:0 (libx264)

    frame=  756 fps=9.1 q=-1.0 Lsize=  193660kB time=00:01:21.86 bitrate=19378.5kbits/s
    Press [q] to stop, [?] for help

    Anyone an idea of how to get a higher framerate ?
    My camera is only able to record at 30 frames per second, but the output seems to only have around 9 frames. Why the difference ?

  • High time delay : using ffmpeg to open camera and ffplay to play

    28 février 2021, par hgwd

    I'm working on a project which using ffmpeg to open camera and ffplay to play, but ffplay always have a high time delay which really confused me.

    


    These are my commands :

    


    ffmpeg -f avfoundation -s 1280x720 -r 30 -i 0 -pix_fmt yuv420p -f h264 -vf scale=640:360 udp://127.0.0.1:4000
ffplay udp://127.0.0.1:4000


    


    My environment :

    


    OS: macOS Catalina 10.15.7
CPU: 2.3GHz two Intel Core i5
Memory: 8GB


    


    Is anyone can help me ? Thanks !

    


  • How to get camera's framerate by ffmpeg

    11 mars 2021, par TONY

    I tried to use r_frame_rate of AVStream to calculate the framerate of camera.
But on some machines, I got the framerate with 10, in fact, it's real framerete is 30.