Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (100)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (11496)

  • Issues with FFmpeg Recording RTSP Stream with HEVC Codec : Blurred Bottom of Video

    31 août 2024, par user2877989

    I'm using FFmpeg to capture an RTSP stream from an IMOU camera, and I'm encountering an issue with the recorded video. The output video is encoded using the HEVC codec, but the bottom part of the video appears blurred while the top part displays correctly.

    


    Here is the command I'm using :

    


    ffmpeg -i "rtsp://admin:xxxxx@192.168.1.32:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif" -c copy -f segment -segment_time 5 -reset_timestamps 1 -strftime 1 "./%Y_%m_%d_%H_%M_%S.mp4"


    


    Details :

    


      

    • FFmpeg Version : [Include your FFmpeg version here] Camera Model : IMOU
[Include model if known] Codec Used : HEVC (libx265) Issue : The output
video has a blurred bottom section, while the top part looks fine.
    • 


    


    Things I've Tried :

    


      

    • Re-encoding the video with -c:v hevc instead of -c copy.
    • 


    • Adding -bsf:v hevc_mp4toannexb to the command.
    • 


    


    None of these solutions have resolved the issue.

    


    Questions :

    


    What could be causing the bottom part of the video to appear blurred ?
Are there any additional FFmpeg options or settings that might help resolve this issue ?
Is there a better approach or command for handling RTSP streams with HEVC encoding to avoid this problem ?
Any advice or suggestions would be greatly appreciated !

    


    Thank you !

    


    enter image description here

    


  • Detect if an interlaced video frame is the Top or Bottom field ?

    21 décembre 2024, par Danny

    I'm decoding video PES packets (packetized elementary stream) containing H.264/AVC and H.265/HEVC using libavcodec like this :

    


    while (remainingESBytes > 0)
{
    int bytesUsed = av_parser_parse2(
            mpParser, mpDecContext,
            &mpEncPacket->data, &mpEncPacket->size,
            pIn, remainingESBytes,
            AV_NOPTS_VALUE, AV_NOPTS_VALUE, 0);

    // send encoded packet for decoding
    int ret = avcodec_send_packet(mpDecContext, mpEncPacket);
    if (ret < 0)
    {
        // failed
        continue;
    }

    while (ret >= 0)
    {
        ret = avcodec_receive_frame(mpDecContext, mpDecFrame);
        /// Do stuff with frame ///
    }

    remainingESBytes = getMoreBytes()
}


    


    Sometimes the input video is interlaced, in which case it seems avcodec_receive_frame is returning individual fields and not a merged frame of the top and bottom fields together.

    


    I couldn't find any way for avcodec_receive_frame to emit a full, non-interlaced frame.

    


    I can merge a top and bottom field together but I haven't found any way to identify if a given AVFrame is top or bottom.

    


    How can I do that ?

    


    EDIT I

    


    Looking at the log output from the decoder, it appears the decoder knows if the field is top or bottom (carried by SEI ?) but still can't figure out how to access that information via the libavcodec API...

    


    [hevc @ 0x1afcfc0] ENTER DECODE NAL TYPE 39. sei.ni_custom.type = -1
[hevc @ 0x1afcfc0] Set sei.ni_custom.type to -1.
[hevc @ 0x1afcfc0] ff_hevc_decode_nal_sei - s->ni_custom.type = -1
[hevc @ 0x1afcfc0] Decoding SEI [NAL Type 39]. ni_custom.type=-1
[hevc @ 0x1afcfc0] TOP Field
[hevc @ 0x1afcfc0] EXIT DECODE NAL TYPE 39. sei.ni_custom.type = -1


    


  • Revision 26fead7ecf : Renaming in MB_MODE_INFO The macro block mode info context originally contained

    13 août 2013, par Paul Wilkins

    Changed Paths :
     Modify /vp9/common/vp9_alloccommon.c


     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/common/vp9_debugmodes.c


     Modify /vp9/common/vp9_loopfilter.c


     Modify /vp9/common/vp9_mvref_common.c


     Modify /vp9/common/vp9_postproc.c


     Modify /vp9/common/vp9_pred_common.c


     Modify /vp9/common/vp9_pred_common.h


     Modify /vp9/decoder/vp9_decodemv.c


     Modify /vp9/decoder/vp9_decodframe.c


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_tokenize.c



    Renaming in MB_MODE_INFO

    The macro block mode info context originally contained an
    entry for each 16x16 macroblock. In VP9 each entry refers
    to an 8x8 region not a macro block, so the naming is misleading.

    This first stage clean up changes the names of 3 entries in the
    structure to remove the mb_ prefix.

    TODO clean up the nomenclature more widely in respect of
    mbmi and bmi.

    Change-Id : Ia7305c6d0cb805dfe8cdc98dad21338f502e49c6