Recherche avancée

Médias (91)

Autres articles (111)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

Sur d’autres sites (11890)

  • avcodec/bsf : Beautify log messages from bitstream filters

    17 mars 2020, par Andreas Rheinhardt
    avcodec/bsf : Beautify log messages from bitstream filters
    

    Up until now, the name of every AVBSFContext for logging purposes was
    "AVBSFContext", so that the default logging callback produced output
    like "[AVBSFContext @ 0x55813bae92c0] Extradata". This has been changed
    to "[trace_headers @ 0x60a000000700] Extradata" by adding an item_name-
    function to the AVClass for bitstream filters.

    Furthermore, the correct category has been set so that the introductory
    part before the actual message (everything before "Extradata" in the
    above examples) are displayed in a different colour than the rest.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Reviewed-by : Anton Khirnov <anton@khirnov.net>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/bsf.c
  • Problem with ffmpeg rtp stream to janus webrtc

    13 juin 2020, par XPModder

    I am trying to use ffmpeg and janus-gateway to stream video in the local network. I am piping the h264 video directly in to ffmpeg and from there it gets transferred to janus as an rtp stream. Janus then does the rest.

    &#xA;&#xA;

    The problem is, that when I try to open the stream using the streamingtest html page included in janus, I can select the stream, but I never get to see anything. On the console where I started janus, it throws multiple errors starting with : "SDP missing mandatory information"

    &#xA;&#xA;

    After starting ffmpeg it shows the SDP in console :

    &#xA;&#xA;

    v=0&#xA;o=- 0 0 IN IP4 127.0.0.1&#xA;s=No Name&#xA;c=IN IP4 127.0.0.1&#xA;t=0 0&#xA;a=tool:libavformat 58.20.100&#xA;m=video 8004 RTP/AVP 96&#xA;a=rtpmap:96 H264/90000&#xA;a=fmtp:96 packetization-mode=1; sprop-parameter-sets=J2QAKKwrQDwBE/LAPEiagA==,KO4BNywA; profile-level-id=640028&#xA;

    &#xA;&#xA;

    The command I use to start ffmpeg is the following :

    &#xA;&#xA;

    ffmpeg -loglevel quiet -y -i - -c:v copy -preset veryfast -f rtp rtp://127.0.0.1:8004&#xA;

    &#xA;&#xA;

    I assume that I am missing something in the ffmpeg command and therefore there is some kind of problem with the SDP.

    &#xA;&#xA;

    Edit : I looked a little further into this and actually looked at the code for janus at the lines that throw the error. Then I traced that to the origin of the error.

    &#xA;&#xA;

    Apparently the SDP is supposed to contain some authorization in for of this :

    &#xA;&#xA;

    a=... ice-ufrag=?; ice-pwd=?&#xA;

    &#xA;&#xA;

    So how do I find out what this username and password are and how do I get it in to the SDP from ffmpeg ?

    &#xA;&#xA;

    Or how do I disable this entirely ?

    &#xA;

  • ffprobe reading wrong frame rate, any workarounds besides MediaInfo ?

    20 mai 2023, par Minty

    I want to check the frame rate of many videos. I decided to employ ffprobe :

    &#xA;

    ffprobe -v error -select_streams v -of default=noprint_wrappers=1:nokey=1 -show_entries stream=r_frame_rate faulty.mkv =

    &#xA;

    500/21&#xA;

    &#xA;

    That can't be right, what kind of fps is 500/21 ?

    &#xA;

    ffprobe faulty.mkv (version 4.3.5-0+deb11u1+rpt3)

    &#xA;

    Stream #0:0: Video: (...), 23.81 fps, 23.81 tbr, 1k tbn, 23.98 tbc (default)&#xA;

    &#xA;

    At least ffprobe 4 read the correct codec timescale i.e. 23.98 tbc (default), but in later versions tbc has been deprecated :

    &#xA;

    Stream #0:0: Video: (...), 23.81 fps, 23.81 tbr, 1k tbn (default)&#xA;

    &#xA;

    However, MediaInfo gets it right :

    &#xA;

    mediainfo faulty.mkv =

    &#xA;

    (...)&#xA;Frame rate mode                          : Constant&#xA;Frame rate                               : 23.976 (24000/1001) FPS&#xA;(...)&#xA;

    &#xA;

    I tried using -count_packets to then divide nb_read_packets of the stream by the duration of the file, I'm getting 1 second per hour error. This is much better compared to 23,8095, but packets are not frames, and only the prohibitively, unusably slow -count_frames gets me the exact value.

    &#xA;

    The rest of my workflow uses ffprobe, so I'm reluctant to switch to MediaInfo completely. I get that the file is, well, faulty, but if mediainfo can do it, is there a way to make sure the correct frame rate is read with ffprobe without decoding the entire file as -count_frames seems to do ?

    &#xA;