[FFmpeg-trac] #9184(avfilter:open): pngdec output frame that has double image

FFmpeg trac at avcodec.org
Tue Aug 3 05:28:32 EEST 2021


#9184: pngdec output frame that has double image
-------------------------------------+-------------------------------------
             Reporter:  akoryagin    |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:  artefact on  |               Blocked By:
  the video                          |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by wenbin,chen):

 Here is my command and it works on my side:

 {{{
 ffmpeg -init_hw_device qsv=hw:/dev/dri/renderD128 -filter_hw_device hw -re
 -f concat -safe 0 -i "files.txt" -loop 1 -i "logo.png" -filter_complex
 "[1]lut=a=val*0.5,hwupload=extra_hw_frames=10,format=qsv[a];[0:v]hwupload=extra_hw_frames=10,scale_qsv=1920:-1[bg];[bg][a]overlay_qsv=x=(W-w-1):y=(H-h-1):shortest=1,hwdownload,format=nv12,pad=1920:1080
 :(ow-iw)/2:(oh-ih)/2" -map 0:v:0 -map 0:a:0 -c:v hevc_qsv -preset veryfast
 -b:v 7M -maxrate 7M -c:a eac3 -sn -f hls -hls_list_size 5 -hls_flags
 delete_segments -y stream.m3u8
 }}}

 I adjust the order of filter to make cmd work. I don't know if it still
 meet your requirement.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9184#comment:27>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list