Recherche avancée

Médias (91)

Autres articles (7)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (2912)

  • How to mux live h264 stream in AnnexB nal unit format to flv container

    19 mai 2016, par Zhou Yufeng

    I have an Android device, which will send raw live H264 AnnexB NAL unit stream like [0,0,0,1,103,...][0,0,0,104,...][0,0,0,101,...][0,0,0,1,65,...][0,0,0,1,65,...] and try to mux them into flv container and send it to nginx-with rtmp module use libavformat of ffmpeg.

    If I save the received live stream to a local file, say test.h264. I can mux it to server OK using ffmpeg command "ffmpeg -i test.h264 -f flv rtmp ://my/server/url". But I don’t known how to handle live stream.

    I noticed ffmpeg/libavformat/avc.c have 2 functions that seem achieve my goal.
    But I’m not sure.

    Here is the code of ffmpeg

    int ff_avc_parse_nal_units(AVIOContext *pb, const uint8_t *buf_in, int size)
    {
       const uint8_t *p = buf_in;
       const uint8_t *end = p + size;
       const uint8_t *nal_start, *nal_end;

       size = 0;
       nal_start = ff_avc_find_startcode(p, end);
       for (;;) {
           while (nal_start < end && !*(nal_start++));
           if (nal_start == end)
               break;

           nal_end = ff_avc_find_startcode(nal_start, end);
           avio_wb32(pb, nal_end - nal_start);
           avio_write(pb, nal_start, nal_end - nal_start);
           size += 4 + nal_end - nal_start;
           nal_start = nal_end;
       }
       return size;
    }

    int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size)
    {
       AVIOContext *pb;
       int ret = avio_open_dyn_buf(&pb);
       if(ret < 0)
           return ret;

       ff_avc_parse_nal_units(pb, buf_in, *size);

       av_freep(buf);
       *size = avio_close_dyn_buf(pb, buf);
       return 0;
    }

    Any useful reply are appreciated.

    Thank you !

  • lavc/av1 : Add unit test for level handling

    11 septembre 2023, par Fei Wang
    lavc/av1 : Add unit test for level handling
    

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>
    Reviewed-by : Neal Gompa <ngompa13@gmail.com>

    • [DH] libavcodec/tests/.gitignore
    • [DH] libavcodec/tests/av1_levels.c
    • [DH] tests/fate/libavcodec.mak
  • Add unit tests for CRC calculation.

    19 mai 2018, par Robert Kausch
    Add unit tests for CRC calculation.
    
    • [DH] src/test_libFLAC/Makefile.am
    • [DH] src/test_libFLAC/Makefile.lite
    • [DH] src/test_libFLAC/crc.c
    • [DH] src/test_libFLAC/crc.h
    • [DH] src/test_libFLAC/main.c
    • [DH] src/test_libFLAC/test_libFLAC.vcproj
    • [DH] src/test_libFLAC/test_libFLAC.vcxproj
    • [DH] src/test_libFLAC/test_libFLAC.vcxproj.filters