[FFmpeg-trac] #3586(avcodec:new): [discrepancy with libav] avcodec_encode_video2 merges packet side data with the packet body

FFmpeg trac at avcodec.org
Wed Apr 23 19:49:38 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 Lastique):

 Replying to [comment:1 cehoyos]:
 > Is this not reproducible with current FFmpeg git head?

 I did not test git head, but looking at the code of
 avcodec_encode_video2() in git master it still calls
 av_packet_merge_side_data() so it must have the same problem.

 > How can I reproduce the problem with ffplay?

 I don't know how to make ffmpeg request mb_info from the command line. I
 have an output video file we got with our application that shows decoding
 errors I described. I can upload it tomorrow, if you're interested. By the
 way, the same file is played without errors by libav's ffplay. I guess,
 it's more tolerant towards the junk at the end of encoded frames.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3586#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list