[FFmpeg-trac] #10907(undetermined:new): Assertion pkt failed at fftools/ffmpeg_dec.c:710 - crash when transcoding av1 (libdav1d) -> h264 (libx264)

FFmpeg trac at avcodec.org
Fri Mar 22 17:03:41 EET 2024


#10907: Assertion pkt failed at fftools/ffmpeg_dec.c:710 - crash when transcoding
av1 (libdav1d) -> h264 (libx264)
-------------------------------------+-------------------------------------
             Reporter:  azhelev      |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by James):

 Can you share the input file?

 Also, please test the following patch:


 {{{
 diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
 index 597944d88d..703e14eece 100644
 --- a/libavcodec/libdav1d.c
 +++ b/libavcodec/libdav1d.c
 @@ -375,7 +375,7 @@ static int
 libdav1d_receive_frame_internal(AVCodecContext *c, Dav1dPicture *p)
          } else {
              av_packet_free(&pkt);
              if (res >= 0)
 -                return AVERROR(EAGAIN);
 +                return 1;
          }
      }

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


More information about the FFmpeg-trac mailing list