Den 09.08.2024 14:20, skrev Terje J. Hanssen:
If there isn't other reasons against it, I will suggest to rename the
current preset av1.webm to av1_aom.webm
This way it inform the users which encoder it is, and also follows the
related naming convention av1_svt, av1_vaapi, and possibly additional
ffmpeg supported av1_encoders av1-rav1e and avif (image), and
additional av1_hwaccels methods (qsv, amf, nvenc) later.
And possibly upgrade to svt-av1 v.2.1.
Transcoding regarding duration was also mentioned above.
My input file here was a cfhd transcoded with ffmpeg from a Prores 422
hq source video file (that is not a arbitrary cut).
....snip
Alt. 2)
Transcoded alt. 1) source input file to Prores 422 hq with 2 ch stereo
audio:
ffmpeg -hide_banner -i hd01.mov -map_metadata 0 -c:v copy -c:a
pcm_s24le -ac 2 hd02.mov
....snip
Alt. 3)
Transcoded th source file Prores 422 (HQ) with LPCM audio to CFHD
quality 7 (high+), AAC audio (default) to stereo (-ac 2) and Metadata
(some)
ffmpeg -hide_banner -i hd01.mov -map_metadata 0 -c:v cfhd -quality 7
-ac 2 cfhd01.mov
I tried CinGG rendering with three different set of Video av1_aom.web
parameters
g=30, keyint_min=30 (Phyllis tested and suggested)
g=25, keyint_min=25 (as Andrew suggested for 25 fps video)
These rendered fine both video and audio at the same time for
Alt. 2) hd02.mov and Alt. 2) cfhd01.mov above without seek errors.
Additional I tried the suggestion according to the FFmpeg AV1 Video
Encoding Guide - Keyframe placement (libaom)
https://trac.ffmpeg.org/wiki/Encode/AV1#Keyframeplacement
The -g option can be used to set the maximum keyframe interval.
Anything up to 10 seconds is considered reasonable for most content,
so for 30 frames per second content one would use -g 300, for 60 fps
content -g 600, etc.
That is for my 25 fps video:
g=250, keyint_min=250
I got also this to work some faster, but for some or another reason
sometime for Alt. 3) cfhd01.mov above
with some minor seek fails as follows:
Render::render_single: Session finished.
** rendered 1782 frames in 239.273 secs, 7.448 fps
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_aom_yuv422p10le+opus.webm
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_aom_yuv422p10le+opus.webm
audio0 pad 16 -335 (351)
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_aom_yuv422p10le+opus.webm
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/Cineform/av1_aom_yuv422p10le+opus.webm
** seek fail 1175, 47000
** seek fail 1400, 56000
** seek fail 1650, 66000
Total excess of backups: -50
Session time: 0:05:24
Cpu time: user: 0:24:33.035 sys: 0:00:06.072
Olympic handball now :)
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin