<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 07.08.2024 21:38, skrev Phyllis
Smith via Cin:<br>
</div>
<blockquote type="cite"
cite="mid:CAOckJE246SrT09iU8SoJ0s4tuQYU167wanoXQTCO_A5=tbP0tA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_default" style="font-size:small">g=30<br>
keyint_min=30</div>
</blockquote>
<div class="gmail_default" style="font-size:small">Seems to work
for av1.webm format -- still testing. I want to test Andrew's
suggestions next.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Aug 7, 2024 at 1:18 PM
Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com" moz-do-not-send="true"
class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
Wed, Aug 7, 2024 at 9:13 PM Phyllis Smith via Cin<br>
<<a href="mailto:cin@lists.cinelerra-gg.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>
wrote:<br>
><br>
> Summary is that the error message is due to lack of
keyframes and the workaround is to use Transcode.<br>
> BUT hopefully a better solution with the Render format
parameters can be found. The render fix for h264/h265 formats
is the addition of the lines below (which obviously is not
pertinent to av1). I will see if I can find an alternative,
but might not.<br>
<br>
aomenc --help mentions<br>
<br>
--kf-min-dist=<arg> Minimum keyframe interval
(frames)<br>
--kf-max-dist=<arg> Maximum keyframe interval
(frames)<br>
<br>
and there seems to be way (aom-params) to pass libaom specific
options<br>
via ffmpeg's ...<br>
<br>
so ..<br>
aom-params=kf-min-dist=25:kf-max-dist=25 ?<br>
<br>
for svt-av1 you hopefully can use just keyint= with
svtav1-params line?<br>
command line svt av1 encoder seems to default for 5 seconds?<br>
<br>
Also, may be add keyint_min=25 (for 25 fps vid) as generic
libav*<br>
(ffmpeg) option<br>
<br>
<br>
>><br>
>> # use framerate for 1 keyframe/sec, needed for seeks<br>
>> keyint_min=25 (or keyint_min=30 for
x265)<br>
>> x264-params=keyint=25 (or x265-params-keyint=30 for
x265)<br>
><br>
><br>
> About the error message:<br>
>><br>
>> FFStream::seek:
/run/media/terje/Videoklipp/Cineform/av1_yuv422p10le_LP.webm<br>
>> retry limit, pos=207 tstmp=8280, err: Input/output
error<br>
>> ** seek fail 207, 8280<br>
><br>
><br>
> Seeking Issues (<a
href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Seeking_Issues.html"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://cinelerra-gg.org/download/CinelerraGG_Manual/Seeking_Issues.html</a>)<br>
>><br>
>> If you have an issue playing a video and not seeing
it in the Compositor (just see a black<br>
>> screen), it is most likely due to the media not being
designed to be editable. It is most likely<br>
>> not damaged. Generally it just does not have
keyframes which are needed for seeking<br>
>> which is what is done when you move around the media
and start playing in the middle.<br>
>> The media plays just fine in the compositor if you
always play from the beginning because<br>
>> then you don’t need keyframes to seek. You can get
around this problem if you proxy the<br>
>> media. A good choice to use for the proxy would be
use scalar, ffmpeg/mp4 and size of 1/2.<br>
>><br>
>> The proxied media can then seek and you will see it
play in the compositor because keyframes exist.<br>
><br>
> Or use TRANSCODE which adds keyframes when media is not
seekable (see Manual for details). This is particularly useful
for the mkv container, which often has seek problems.<br>
><br>
> Just a reminder about the message below.<br>
>><br>
>> FFMPEG::open_decoder: some stream times estimated:<br>
><br>
> This is not a problem. Basically, when you open a file if
a stream has a known duration, there is no message. If the
duration is unknown, it is estimated by using the File Size
and Bitrate to estimate the duration.<br>
> ----------------------------------------</blockquote>
</div>
<br>
</blockquote>
@Andrew, @Phyllis<br>
<br>
Thank for your comments and suggestions, which I so far only have
read while doing some alternative testing.<br>
<br>
First, to ensure this was correct understood:<br>
I didn't notice the same error messages using the same input file
and rendering to h265.mp4 and h264.mp4<br>
<br>
Now I have also tried to render the same input file using the (4.3x
faster) av1_svt, but with the available 8-bit color depth in 10-bit
mode:<br>
17M av1_svt_yuv420p10le_SR.webm<br>
<br>
Below follows output messages with no error messages, so yes, I
think some preset parameters possibly should be added to the
av1_aom.webm:<br>
<br>
<blockquote>FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/cfhd01.mkv<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.8.0<br>
Svt[info]: SVT [build] : GCC 10.3.1 20210422 (Red Hat
10.3.1-1) 64 bit<br>
Svt[info]: LIB Build date: Jul 31 2024 07:22:12<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: Number of logical cores available: 20<br>
Svt[info]: Number of PPCS 76<br>
Svt[info]: [asm level on system : up to avx2]<br>
Svt[info]: [asm level selected : up to avx2]<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [config]: main profile tier (auto) level
(auto)<br>
Svt[info]: SVT [config]: width / height / fps numerator / fps
denominator : 1920 / 1080 / 25 / 1<br>
Svt[info]: SVT [config]: bit-depth / color format
: 10 / YUV420<br>
Svt[info]: SVT [config]: preset / tune / pred struct
: 10 / PSNR / random access<br>
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type
: 161 / 16 / key frame<br>
Svt[info]: SVT [config]: BRC mode / rate factor
: CRF / 35 <br>
Svt[info]: -------------------------------------------<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/cfhd01.mkv<br>
Render::render_single: Session finished.<br>
** rendered 1780 frames in 51.541 secs, 34.536 fps<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_svt_yuv420p10le_SR.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_svt_yuv420p10le_SR.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_svt_yuv420p10le_SR.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/cfhd01.mkv<br>
</blockquote>
<br>
<br>
<br>
</body>
</html>