Recherche avancée

Médias (91)

Autres articles (44)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6157)

  • Encode video frame by frame using FFmpeg

    15 décembre 2019, par Lauren

    I’m trying to encode a WebRTC video. WebRTC provides this method

    @Override
    public void onFrame(VideoFrame frame){
      //FFmpeg command
    }

    Each VideoFrame is YUV420 and provides information about rotation(integer), timestamp(long), width and height(https://github.com/webrtc-uwp/webrtc/blob/master/sdk/android/api/org/webrtc/VideoFrame.java).

    Is it possible to use the above event-method to encode the Video using FFmpeg ?

    Obviously, video frames would be provided dynamically maybe that’s an issue.

  • ffmpeg : record/capture stream and do scene detection at the same time

    2 août 2022, par AnodeCathode

    Is it possible to both capture (record) an RTSP stream and capture scene change events using a single ffmpeg command ? I can almost do what I want with :

    



    ffmpeg -i 'rtsp://mystream' \
-map 0:v -map 0:a -c:v copy -c:a copy -f segment \
-segment_time 300 -segment_format matroska -strftime 1 "%Y%m%d%H%M%S_video.mkv" \
-map 0:v -an -filter:v "select='gt(scene,0.1)'" -frames:v 1 "%Y%m%d%H%M%S_scenechange.png"


    



    This gives me nice 300s stream segments saved to disk, and a scene.png when a scene change is detected. However, scene.png only appears when I terminate the process, and when I do, I only get the last scene event. Ideally I'd like to get a new PNG (or even better, a short video clip) anytime a scene change is detected, without interrupting the recording of video.mkv. I'm sure it can be done with pipes and multiple ffmpeg commands, but for simplicity's sake (and mostly my own curiosity at this point), I'd like to see what can be done with just a single process.

    


  • Embed graphics/information to a streaming

    3 mars 2016, par Jorge Anzola

    How can I embed information or graphics to a stream.
    Like the "marquee" (IDK what’s its name) in a football/soccer game or any other live event. (Score, time and logo)

    enter image description here

    I’ve to add a watermark with FFMPEG’s filter like

    ffmpeg -i sample.mp4 -i info.png -filter_complex overlay -c:v copy -c:a copy -f flv rtmp://wowzaServerAdress

    And I was thinking to change info.png with updated info. I had no idea if that could work, it was just a test. Anyhow, it gave this error :

    Streamcopy requested for output stream 0:0, which is fed from a complex filtergraph. Filtering and streamcopy cannot be used together.

    So, basically that error killed my only idea. Do you know how can achieve this with FFMPEG or similar ? I’d prefer not to use something like Xsplit.