<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/22/24 08:45, Andrew Randrianasulu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky44+nffMDBpdjH0KNKi5jfZ027hvyCbV7EujJO9NXayQQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">---------- Forwarded
message ---------<br>
От: <strong class="gmail_sendername" dir="auto">Wang, Fei
W</strong> <span dir="auto"><<a
href="mailto:fei.w.wang-at-intel.com@ffmpeg.org"
moz-do-not-send="true" class="moz-txt-link-freetext">fei.w.wang-at-intel.com@ffmpeg.org</a>></span><br>
Date: пт, 22 нояб. 2024 г., 09:10<br>
Subject: Re: [FFmpeg-devel] qsvenc.c &
AV_CODEC_FLAG_INTERLACED_DCT<br>
To: <a href="mailto:ffmpeg-devel@ffmpeg.org"
moz-do-not-send="true" class="moz-txt-link-freetext">ffmpeg-devel@ffmpeg.org</a>
<<a href="mailto:ffmpeg-devel@ffmpeg.org"
moz-do-not-send="true" class="moz-txt-link-freetext">ffmpeg-devel@ffmpeg.org</a>><br>
</div>
<br>
<br>
On Thu, 2024-11-21 at 11:50 +0300, Andrew Randrianasulu
wrote:<br>
> Hello.<br>
> <br>
> <br>
> Recently I teached cinelerra-gg to use qsv encoders in
ffmpeg<br>
> (libavcodec)<br>
> and some test were working but some not.<br>
> <br>
> We nailed it down to top-field first material, like
HDV files. bff<br>
> files<br>
> like consumer version of DV and progressive worked
fine.<br>
> <br>
> I looked at source and ... I thought condition at<br>
> <br>
> <a
href="http://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/qsvenc.c#l852"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">http://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/qsvenc.c#l852</a><br>
> <br>
> <br>
> must contain case for bff, but I tried this and it was
reportedly not<br>
> helping?<br>
> <br>
> <br>
> We currently set flags = ildct+ilme on interlaced
streams, I hope to<br>
> avoid<br>
> special-casing qsv encoders, but may be we have no
other choice?<br>
> <br>
> I asked user (Terje) to add +ildct flag to his normal
system ffmpeg<br>
> line<br>
> and it started to fail too:<br>
> <br>
> <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009123.html"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009123.html</a><br>
<br>
AV1 doesn't support interlaced frame. </div>
</div>
</div>
</blockquote>
<br>
We can dual check to transcode hdv to av1_qsv again, as I did with
ffmpeg in this post<br>
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg08314.html">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg08314.html</a><br>
<br>
My issue now currently on Kaby Lake is that I have no hdv.m2t file
stored and could not find a download link with example hdv.
Suggestion? <br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky44+nffMDBpdjH0KNKi5jfZ027hvyCbV7EujJO9NXayQQ@mail.gmail.com">
<div dir="auto">
<div>
<div class="gmail_quote">You may add deinterlace filter<br>
before encoder after apply this patch:<br>
<a
href="https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13372"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=13372</a><br>
<br>
cmd:<br>
ffmpeg -hide_banner -qsv_device /dev/dri/renderD128 -<br>
hwaccel_output_format qsv -i input.mp4 -pix_fmt nv12 -vf<br>
vpp_qsv=deinterlace=advanced -c:v av1_qsv -f null -<br>
<br>
Thanks<br>
Fei<br>
<br>
> _______________________________________________<br>
> ffmpeg-devel mailing list<br>
> <a href="mailto:ffmpeg-devel@ffmpeg.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">ffmpeg-devel@ffmpeg.org</a><br>
> <a
href="https://ffmpeg.org/mailman/listinfo/ffmpeg-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://ffmpeg.org/mailman/listinfo/ffmpeg-devel</a><br>
> <br>
> To unsubscribe, visit link above, or email<br>
> <a href="mailto:ffmpeg-devel-request@ffmpeg.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">ffmpeg-devel-request@ffmpeg.org</a> with
subject "unsubscribe".<br>
<br>
_______________________________________________<br>
ffmpeg-devel mailing list<br>
<a href="mailto:ffmpeg-devel@ffmpeg.org" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">ffmpeg-devel@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/ffmpeg-devel"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://ffmpeg.org/mailman/listinfo/ffmpeg-devel</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:ffmpeg-devel-request@ffmpeg.org"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">ffmpeg-devel-request@ffmpeg.org</a>
with subject "unsubscribe".<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>