On Thu, 2024-11-21 at 11:50 +0300, Andrew Randrianasulu wrote: > Hello. > > > Recently I teached cinelerra-gg to use qsv encoders in ffmpeg > (libavcodec) > and some test were working but some not. > > We nailed it down to top-field first material, like HDV files. bff > files > like consumer version of DV and progressive worked fine. > > I looked at source and ... I thought condition at > > http://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/qsvenc.c#l852 > > > must contain case for bff, but I tried this and it was reportedly not > helping? > > > We currently set flags = ildct+ilme on interlaced streams, I hope to > avoid > special-casing qsv encoders, but may be we have no other choice? > > I asked user (Terje) to add +ildct flag to his normal system ffmpeg > line > and it started to fail too: > > https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009123.html
AV1 doesn't support interlaced frame. You may add deinterlace filter before encoder after apply this patch: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13372 cmd: ffmpeg -hide_banner -qsv_device /dev/dri/renderD128 - hwaccel_output_format qsv -i input.mp4 -pix_fmt nv12 -vf vpp_qsv=deinterlace=advanced -c:v av1_qsv -f null - Thanks Fei > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".