<!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">Den 12.10.2024 22:48, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:0cea8930-4561-4f3a-8111-a7bea324c749@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 12.10.2024 21:48, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky4vdjqdNwxRWv-OHpTP9d92VrY-5TmOEwH68p3Mwi0nNA@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">сб, 12 окт. 2024 г.,
22:45 Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 12 окт. 2024
г., 22:36 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<br>
<div>Den 12.10.2024 21:26, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб,
12 окт. 2024 г., 22:19 Terje J.
Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<br>
<div>Den 12.10.2024 19:56, skrev
Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr"
class="gmail_attr">сб,
12 окт. 2024 г., 20:45
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<br>
<div>Den 12.10.2024
18:43, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote
type="cite">
<div dir="auto">
<div><br>
<br>
<div
class="gmail_quote">
<div dir="ltr"
class="gmail_attr">сб, 12 окт. 2024 г., 16:59 Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den
12.10.2024
15:09, skrev
Terje J.
Hanssen:<br>
</div>
<blockquote
type="cite"> <br>
<br>
<div>Den
12.10.2024
14:39, skrev
Andrew
Randrianasulu:<br>
</div>
<blockquote
type="cite">
<div
dir="auto">
<div><br>
<br>
<div
class="gmail_quote">
<div dir="ltr"
class="gmail_attr">сб, 12 окт. 2024 г., 13:23 Terje J. Hanssen via Cin
<<a
href="mailto:cin@lists.cinelerra-gg.org"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den
12.10.2024
12:08, skrev
Terje J.
Hanssen:<br>
</div>
<blockquote
type="cite">
An overview
over the
system FFmpeg
7.x supported
QSV pixel
formats and
profiles:<br>
<br>
<br>
<font
face="Courier New, Courier, monospace">ffmpeg -hide_banner -h
encoder=hevc_qsv
| egrep
'Supported|profile|main'<br>
Supported
hardware
devices: qsv
qsv qsv<br>
Supported
pixel formats:
nv12 p010le
p012le yuyv422
y210le qsv
bgra x2rgb10le
vuyx xv30le<br>
-profile
<int> E..V....... (from 0 to INT_MAX) (default unknown)<br>
main
1
E..V.......<br>
main10
2
E..V.......<br>
mainsp
3
E..V.......<br>
main
0
E..V.......<br>
<br>
<br>
ffmpeg
-hide_banner
-h
encoder=h264_qsv
| egrep
'Supported|profile|main'<br>
Supported
hardware
devices: qsv
qsv qsv<br>
Supported
pixel formats:
nv12 qsv<br>
-profile
<int> E..V....... (from 0 to INT_MAX) (default unknown)<br>
main
77
E..V.......<br>
</font></blockquote>
</div>
</blockquote>
</div>
</div>
<div
dir="auto"><br>
</div>
<div
dir="auto">I
think we can
concentrate on
av1 for now.</div>
<div
dir="auto"><br>
</div>
<div
dir="auto">does
it fail if you
add "-profile
main" to
ffmpeg command
line for dv
av1 encode?</div>
<div
dir="auto"><br>
</div>
<div
dir="auto">dv
due to it
being software
codec, so
ffmpeg forced
to push and
convert frames
from system
memory, as
opposed to hdv
(hw) = >
av1 on-gpu
transcode)</div>
<div
dir="auto"><br>
</div>
</div>
</blockquote>
<br>
No, it doesn't
fail:<br>
</blockquote>
<br>
but claims:<br>
"Please use
-profile:a or
-profile:v,
-profile is
ambiguous"</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">ah,
I think it
mostly relevant
to ffmpeg as cli
application.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Now,
moving to cingg,
does adding </div>
<div dir="auto"><br>
</div>
<div dir="auto">preset
4</div>
<div dir="auto">b
1570k</div>
<div dir="auto"><br>
</div>
<div dir="auto">into
profile file</div>
<div dir="auto"><br>
</div>
<div dir="auto">fix
anything?</div>
<div dir="auto"><br>
</div>
<div dir="auto">you
can change
loglevel to
debug in
bin/ffmpeg/encode.opts
too, it will
produce bugger
log, hopefully
with more
detailed error
msg.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
Sorry, the same error
as before:<br>
<br>
localhost:/home/cinelerra/cinelerra-5.1/bin/ffmpeg # cat encode.opts<br>
# apply at init encode<br>
#loglevel=error<br>
loglevel=debug<br>
threads=auto<br>
side_data_only_packets=1<br>
<br>
# cd
/home/cinelerra/cinelerra-5.1<br>
<br>
bin/cin<br>
<br>
Load recent:
dv01_07.dv<br>
Render to:
/Videoklipp/QSV/dv01_07_av1_qsv.mp4<br>
FFMPEG mp4<br>
Video wrench: Video
Preset<br>
compression:
av1_qsv.mp4<br>
Pixels: nv12<br>
preset 4<br>
b 1570k<br>
<br>
Cinelerra Message log:<br>
int
FFMPEG::init_encoder(const
char*):<br>
mismatch audio/video
file format:
/Videoklipp/QSV/dv01_07_av1_qsv.mp4<br>
Cinelerra Error
(widgets)<br>
Couldn't open
/Videoklipp/QSV/dv01
07 av1 qsv.mp4<br>
Error rendering data<br>
<br>
Render::render_single:
Session finished.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">what kind of
audio compression you use?</div>
</div>
</blockquote>
<br>
Audio preset was set to h264.mp4<br>
tried also h265.mp4 without any
change<br>
there is no aac available for
av1_qsv<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">may be set
video profile to something
else, then set in gui both
av1_qsv.mp4 and relevant
audio like aac?</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
Ok, I misunderstood when I tried something
quite else below, software av1_svt.webm below.<br>
Should aac audio be available for av1_qsv.mp4,
I couldn't see it?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">it hides behind h264.mp4 audio profile
....</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">but can you check two more things with
cmd line ffmpeg?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">first change .webm part of working
command line to .mp4</div>
<div dir="auto"><br>
</div>
<div dir="auto">try it and report if and how it fail</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:CA+rFky4vdjqdNwxRWv-OHpTP9d92VrY-5TmOEwH68p3Mwi0nNA@mail.gmail.com">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div dir="auto">and then to mkv</div>
<div dir="auto"><br>
</div>
<div dir="auto">also report if it work or not.</div>
<div dir="auto"><br>
</div>
<div dir="auto">so we will try more common (for now )
container formats for av1, may be 7.0 simply can't
make AV1 IN mp4 container ....?</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
mp4 and mkv works like webm from ffmpeg command line:<br>
<br>
<font face="Courier New, Courier, monospace">du -sh
dv01_07_av1_qsv_pr4_bv1570k.*<br>
24M dv01_07_av1_qsv_pr4_bv1570k.mkv<br>
24M dv01_07_av1_qsv_pr4_bv1570k.mp4<br>
24M dv01_07_av1_qsv_pr4_bv1570k.webm</font><br>
<br>
<br>
</blockquote>
Verified video and audio used with ffprobe :<br>
<br>
<font face="Courier New, Courier, monospace">ffprobe -hide_banner
dv01_07_av1_qsv_pr4_bv1570k.mkv<br>
Input #0, matroska,webm, from 'dv01_07_av1_qsv_pr4_bv1570k.mkv':<br>
Metadata:<br>
TIMECODE : 01:09:35:09<br>
ENCODER : Lavf61.1.100<br>
Duration: 00:01:53.29, start: -0.007000, bitrate: 1724 kb/s<br>
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv, bottom
coded first (swapped)), 720x576, SAR 16:15 DAR 4:3, 25 fps, 25
tbr, 1k tbn<br>
Metadata:<br>
ENCODER : Lavc61.3.100 av1_qsv<br>
DURATION : 00:01:53.280000000<br>
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp<br>
Metadata:<br>
ENCODER : Lavc61.3.100 libopus<br>
DURATION : 00:01:53.288000000<br>
---------<br>
<br>
ffprobe -hide_banner dv01_07_av1_qsv_pr4_bv1570k.mp4<br>
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'dv01_07_av1_qsv_pr4_bv1570k.mp4':<br>
Metadata:<br>
major_brand : isom<br>
minor_version : 512<br>
compatible_brands: isomav01iso2mp41<br>
encoder : Lavf61.1.100<br>
Duration: 00:01:53.28, start: 0.000000, bitrate: 1768 kb/s<br>
Stream #0:0[0x1](und): Video: av1 (libdav1d) (Main) (av01 /
0x31307661), yuv420p(tv, bottom coded first (swapped)), 720x576,
1634 kb/s, SAR 16:15 DAR 4:3, 25 fps, 25 tbr, 12800 tbn (default)<br>
Metadata:<br>
handler_name : VideoHandler<br>
vendor_id : [0][0][0][0]<br>
encoder : Lavc61.3.100 av1_qsv<br>
timecode : 01:09:35:09<br>
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D),
48000 Hz, stereo, fltp, 128 kb/s (default)<br>
Metadata:<br>
handler_name : SoundHandler<br>
vendor_id : [0][0][0][0]<br>
Stream #0:2[0x3](eng): Data: none (tmcd / 0x64636D74)<br>
Metadata:<br>
handler_name : TimeCodeHandler<br>
timecode : 01:09:35:09<br>
Unsupported codec with id 0 for input stream 2<br>
---------<br>
<br>
ffprobe -hide_banner dv01_07_av1_qsv_pr4_bv1570k.webm<br>
Input #0, matroska,webm, from 'dv01_07_av1_qsv_pr4_bv1570k.webm':<br>
Metadata:<br>
TIMECODE : 01:09:35:09<br>
ENCODER : Lavf61.1.100<br>
Duration: 00:01:53.29, start: -0.007000, bitrate: 1724 kb/s<br>
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv), 720x576,
SAR 16:15 DAR 4:3, 25 fps, 25 tbr, 1k tbn<br>
Metadata:<br>
ENCODER : Lavc61.3.100 av1_qsv<br>
DURATION : 00:01:53.280000000<br>
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp<br>
Metadata:<br>
ENCODER : Lavc61.3.100 libopus<br>
DURATION : 00:01:53.288000000<br>
<br>
<br>
</font><br>
<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:0cea8930-4561-4f3a-8111-a7bea324c749@gmail.com"> <br>
<blockquote type="cite"
cite="mid:CA+rFky4vdjqdNwxRWv-OHpTP9d92VrY-5TmOEwH68p3Mwi0nNA@mail.gmail.com">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div dir="auto">sorry for such long road ...</div>
<div dir="auto"><br>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</blockquote>
</body>
</html>