[FFmpeg-trac] #3936(avcodec:new): RTP packetizing for H.263 (RFC 2190)

FFmpeg trac at avcodec.org
Tue Sep 9 14:33:18 CEST 2014


#3936: RTP packetizing for H.263 (RFC 2190)
---------------------------------+--------------------------------------
             Reporter:  thovo    |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  1
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 The MPEG encoder adds the side data "AV_PKT_DATA_H263_MB_INFO" for the
 codec H.263 if this features is activated via MpegEncContext->mb_info.
 This additional data is needed for RTP packetizing according to RFC2190
 (function "ff_rtp_send_h263_rfc2190").
 But at the end of avcodec_encode_video2(), the function
 av_packet_merge_side_data() is called. This function resets the side data
 of the packet again, after the side data was merged with the packet
 buffer:
 {{{
 pkt->side_data_elems = 0;
 pkt->side_data = NULL;
 }}}
 This behavior of av_packet_merge_side_data() breaks the RTP packetizer.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3936>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list