[FFmpeg-trac] #6276(avcodec:new): h264_vaapi & nvenc do not preserve aspect ratio changes

FFmpeg trac at avcodec.org
Tue Feb 26 06:12:21 EET 2019


#6276: h264_vaapi & nvenc do not preserve aspect ratio changes
-------------------------------------+-------------------------------------
             Reporter:  Tom_B        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  vaapi nvenc  |               Blocked By:
  aspect                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by zhuqingliang):

 Replying to [comment:6 cehoyos]:
 > Then why did you test with a different command line?
 because when I tried with
 {{{
 ffmpeg -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -i
 aspect_ratio_change_cut.ts -y -g 30 -vf 'format=nv12,hwupload' -c:v
 h264_vaapi -qp 20 -sn out.ts
 }}}
 failed with error message
 {{{
 [AVHWFramesContext @ 0x556ae298be00] Failed to sync surface 0x4: 23
 (internal decoding error).
 [mpeg2video @ 0x556ae2707440] Failed to transfer data to output frame: -5.
 }}}

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


More information about the FFmpeg-trac mailing list