[FFmpeg-trac] #9184(avfilter:open): pngdec output frame that has double image
FFmpeg
trac at avcodec.org
Mon Jul 26 02:50:41 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 Pljushevij):
I was replacing scale_qsv like this and now all works perfect:
{{{
ffmpeg-4.4 -init_hw_device qsv=hw -filter_hw_device hw -c:v h264_qsv -i
sailboat.ts -filter_complex
"movie=alogo.png:loop=0,setpts=N/FRAME_RATE/TB[mv];[mv]hwupload=extra_hw_frames=10,format=qsv[watermark];
[0:v]format=nv12,hwupload=extra_hw_frames=10,scale_qsv=w=1280:h=720[temp1];[temp1][watermark]overlay_qsv=x=(W-w):y=(H-h)/2:shortest=1"
-c:v h264_qsv -b:v 3M -maxrate 3M -c:a copy -y -movflags +faststart test-
ffmpeg44.mp4
}}}
But may you can help me make this by VAAPI?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9184#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list