[FFmpeg-trac] #3586(avcodec:new): [discrepancy with libav] avcodec_encode_video2 merges packet side data with the packet body
FFmpeg
trac at avcodec.org
Thu Apr 24 12:23:17 CEST 2014
#3586: [discrepancy with libav] avcodec_encode_video2 merges packet side data with
the packet body
----------------------------------+-----------------------------------
Reporter: Lastique | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 2.2.1 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+-----------------------------------
Comment (by gjdfgh):
Note that you can also convert between merged and separate side data with
av_packet_merge_side_data() and av_packet_split_side_data().
Does calling av_packet_split_side_data() on the packet before writing it
to the muxer help? (It obviously should, but I'm not sure when exactly
libavcodec "merges" the side data.)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3586#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list