Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (9842)

  • avutil/opt : fix mis-alignment of option and constant values for filter help

    13 octobre 2021, par Soft Works
    avutil/opt : fix mis-alignment of option and constant values for filter help
    

    Before :

    overlay AVOptions :
    x <string> ..FV....... set the x expression (default "0")
    y <string> ..FV....... set the y expression (default "0")
    eof_action <int> ..FV....... Action to take when encountering EOF from secondary input (from 0 to 2) (default repeat)
    repeat 0 ..FV....... Repeat the previous frame.
    endall 1 ..FV....... End both streams.
    pass 2 ..FV....... Pass through the main input.
    eval <int> ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame)

    After :
    a
    overlay AVOptions :
    x <string> ..FV....... set the x expression (default "0")
    y <string> ..FV....... set the y expression (default "0")
    eof_action <int> ..FV....... Action to take when encountering EOF from secondary input (from 0 to 2) (default repeat)
    repeat 0 ..FV....... Repeat the previous frame.
    endall 1 ..FV....... End both streams.
    pass 2 ..FV....... Pass through the main input.
    eval <int> ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame)

    Signed-off-by : softworkz <softworkz@hotmail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavutil/opt.c
  • avfilter/vf_avgblur : switch to faster algorithm

    24 septembre 2021, par Paul B Mahol
    avfilter/vf_avgblur : switch to faster algorithm
    
    • [DH] libavfilter/vf_avgblur.c
    • [DH] tests/ref/fate/filter-refcmp-psnr-yuv
  • FFMPEG error : "First slice in a frame missing" when decoding H.265 stream

    19 octobre 2023, par Snejk

    I have a problem with decoding IP camera stream (h.265) using ffmpeg libraries.

    &#xA;

    I use Live555 to receive RTP payload.

    &#xA;

    mMediaSession->readSource()->getNextFrame(mVideoBuffer.data(),&#xA;mVideoBuffer.size(), Stream::Static_PayloadRead, this, Stream::Static_StreamClose, this);&#xA;

    &#xA;

    First two bytes (after the start code 0001) has the nal_unit_header. I am retrieving the type, from bits 1-6 ( ( NALU[0] >> 1 ) & 0x3F ). Then I am processing the data depending on the NALu type :

    &#xA;

    enum NalUnitType  &#xA;{  &#xA;  NAL_UNIT_CODED_SLICE_TRAIL_N = 0,   // 0  &#xA;  NAL_UNIT_CODED_SLICE_TRAIL_R,   // 1    &#xA;  NAL_UNIT_CODED_SLICE_TSA_N,     // 2  &#xA;  NAL_UNIT_CODED_SLICE_TLA,       // 3    &#xA;  NAL_UNIT_CODED_SLICE_STSA_N,    // 4  &#xA;  NAL_UNIT_CODED_SLICE_STSA_R,    // 5    &#xA;  NAL_UNIT_CODED_SLICE_RADL_N,    // 6  &#xA;  NAL_UNIT_CODED_SLICE_DLP,       // 7     &#xA;  NAL_UNIT_CODED_SLICE_RASL_N,    // 8  &#xA;  NAL_UNIT_CODED_SLICE_TFD,       // 9   &#xA;  NAL_UNIT_RESERVED_10,  &#xA;...&#xA;  NAL_UNIT_CODED_SLICE_BLA,       // 16 &#xA;  NAL_UNIT_CODED_SLICE_BLANT,     // 17    &#xA;  NAL_UNIT_CODED_SLICE_BLA_N_LP,  // 18  &#xA;  NAL_UNIT_CODED_SLICE_IDR,       // 19  // Current name in the spec: IDR_W_DLP  &#xA;  NAL_UNIT_CODED_SLICE_IDR_N_LP,  // 20  &#xA;  NAL_UNIT_CODED_SLICE_CRA,       // 21  &#xA;  NAL_UNIT_RESERVED_22,  &#xA; ...&#xA;  NAL_UNIT_VPS,                   // 32  &#xA;  NAL_UNIT_SPS,                   // 33  &#xA;  NAL_UNIT_PPS,                   // 34  &#xA;  NAL_UNIT_ACCESS_UNIT_DELIMITER, // 35  &#xA;  NAL_UNIT_EOS,                   // 36  &#xA;  NAL_UNIT_EOB,                   // 37  &#xA;  NAL_UNIT_FILLER_DATA,           // 38  &#xA;  NAL_UNIT_SEI,                   // 39 Prefix SEI  &#xA;  NAL_UNIT_SEI_SUFFIX,            // 40 Suffix SEI  &#xA;...&#xA;  NAL_UNIT_INVALID,  &#xA;};  &#xA;

    &#xA;

    If buffer doesn't have the start code, I am adding 0x00000001 at the start of the payload data, before sending it to FFmpeg. Camera is sending these NALu (in the same order) :

    &#xA;

      &#xA;
    1. HEVC_NAL_VPS,
    2. &#xA;

    3. HEVC_NAL_SPS,
    4. &#xA;

    5. HEVC_NAL_PPS,
    6. &#xA;

    7. HEVC_NAL_IDR_W_RADL,
    8. &#xA;

    9. HEVC_NAL_IDR_W_RADL,
    10. &#xA;

    11. HEVC_NAL_IDR_W_RADL,
    12. &#xA;

    13. HEVC_NAL_TRAIL_R,
    14. &#xA;

    15. HEVC_NAL_TRAIL_R&#xA;...
    16. &#xA;

    &#xA;

    My solution works partially as I have 1/3 of image decoded. The other 2 HEVC_NAL_IDR_W_RADL slices get FFmpeg error : "First slice in a frame missing". If I lower the stream resolution I have 1/2 image with one additional HEVC_NAL_IDR_W_RADL slice.

    &#xA;

    Similiar code works with H.264 stream so I know (I hope) that Live555 and FFmpeg code should be fine.

    &#xA;

    Live555 doesn't reassemble the I frames (http://lists.live555.com/pipermail/live-devel/2016-September/020244.html)

    &#xA;

    Is there a specific way to reassemble frame send in multiple slices. I have even tried to assemble the frame as it would be Fragmented Unit NAL type 49 (How to depacketize the fragmented frames in RTP data (over UDP) for H265/HEVC ?)

    &#xA;

    Many Thanks

    &#xA;