[FFmpeg-trac] #7418(undetermined:new): [ffmpeg-qsv]Segmentation fault when uploading a 1080p rawvideo.

FFmpeg trac at avcodec.org
Sun Sep 30 17:00:47 EEST 2018


#7418: [ffmpeg-qsv]Segmentation fault when uploading a 1080p rawvideo.
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  zhuqingliang                       |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  normal       |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  qsv crash    |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by lizhong1008):

 Replying to [comment:11 cehoyos]:
 > (I still wonder why jkqxz couldn't reproduce and why users didn't report
 this issue earlier - when was mfx support added?)
 It depends on resolution, not sure Mark(jkqxz) tried the specified
 resolution (1920x1080) or not.
 About reasons why users didn't report this issues earlier, I guess should
 be:
 1. Encoding from a raw nv12 video is not a very common case. Transcoding
 is more common case. Or encoding from a yuv420 rawvideo.
 2. If someone want to encode from a nv12 raw video, the may use a system
 memory pipeline without hwuploading, just like
 https://trac.ffmpeg.org/ticket/5708.

 >
 > Why are you only checking height in your patch?

 src->linesize[0] is also checked.

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


More information about the FFmpeg-trac mailing list