#8383: nvenc failure at libavcodec/encode.c:438
-------------------------------------+-------------------------------------
             Reporter:  ajaraptor    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
             Keywords:  buf failed   |  master
  lbavcodec/encode                   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 nvenc fails on snapshot build, always with the same error:

 Assertion !avpkt->data || avpkt->buf failed at libavcodec/encode.c:438

 the bug is NOT present in the last stable version, 4.2.1

 the specific code differences in encode.c that seem to be the source of
 the problem are new lines 435-438:

 435 if (!ret)
 436 // Encoders must always return ref-counted buffers.
 437 // Side-data only packets have no data and can be not ref-counted.
 438 av_assert0(!avpkt->data || avpkt->buf);
 439 return ret;

 These lines are NOT present in the 4.2.1 source for libavcodec/encode.c

 Log/report files showing two failures using the snapshot build and one
 success (truncated) using the 4.2.1 build are submitted via VideoLAN.
 Also submitted is a linux diff file showing the diffences between the two
 versions of encode.c.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8383>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to