[FFmpeg-devel] qsvenc.c & AV_CODEC_FLAG_INTERLACED_DCT

Andrew Randrianasulu randrianasulu at gmail.com
Thu Nov 21 10:50:22 EET 2024


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


More information about the ffmpeg-devel mailing list