<!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 13.10.2024 14:04, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky5RuOH4Pu4KG3CrPSpZ6QiBfDst=TZFVGQ67_rVPdxCvA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2024 at
2:43 PM Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@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">
<div> <br>
<br>
<br>
<div>Den 13.10.2024 03:04, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">[snip]</div>
<div class="gmail_quote" dir="auto">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<blockquote type="cite">
<blockquote type="cite">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto"><br>
<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">
<div dir="auto">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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>
</font></div>
</blockquote>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">so, it works for ffmpeg but not for
us.</div>
<div dir="auto"><br>
</div>
<div dir="auto">can you test those two attached files
(profile for av1_qsv.webm and default file for
av1_qsv, put both in bin/ffmpeg/video) ?</div>
<div dir="auto"><br>
</div>
<br>
</div>
</blockquote>
I should hope I could report progress, but sorry - it's
the same immediately error with av1_qsv.webm<br>
<br>
localhost:/home/cinelerra/cinelerra-5.1 <br>
# ls bin/ffmpeg/video/av1_qsv*<br>
bin/ffmpeg/video/av1_qsv.dfl
bin/ffmpeg/video/av1_qsv.mp4
bin/ffmpeg/video/av1_qsv.webm<br>
<br>
# bin/cin<br>
Render to: /Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
FFMPEG/webm<br>
Audio Preset: webm.webm (tried also opus.webm and
opus.ffmpeg.webm)<br>
Video compression: av1_qsv.webm<br>
Pixels: yuv420<br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>should be: Pixels: nv12 (due to QSV accepting it only
this way)<br>
</div>
</div>
</div>
</blockquote>
<br>
Here show to be something strange;<br>
Some times entering the Video preset and compression av1_qsv.webm:
pixels has shifted between yuv420p and nv12, and no other option to
select each time!?<br>
It looks like when I write 'nv12' directly in the widget it remember
it next time.<br>
But it doesn't help on the render error<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky5RuOH4Pu4KG3CrPSpZ6QiBfDst=TZFVGQ67_rVPdxCvA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> webm av1_qsv<br>
# cin_pix_fmt=nv12<br>
(+)<br>
Overwrite: /Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
(+)<br>
Cin error; Couldn't open /Videoklipp/QSV/dv01 07 av1
qsv.webm<br>
(+)<br>
Error rendering data<br>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div>strange, Overwrite: /Videoklipp/QSV/dv01_07_av1_qsv.webm</div>
</div>
</div>
</blockquote>
<br>
Have to confirm (+) or (-) when the file name exists from before<br>
<blockquote type="cite"
cite="mid:CA+rFky5RuOH4Pu4KG3CrPSpZ6QiBfDst=TZFVGQ67_rVPdxCvA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
</div>
<div>yet Couldn't open /Videoklipp/QSV/dv01 07 av1 qsv.webm
(with spaces, not underscores)<br>
</div>
</div>
</div>
</blockquote>
<br>
Yeah, it seemed as the underscores were stripped away, a graphical
issue here?<br>
<blockquote type="cite"
cite="mid:CA+rFky5RuOH4Pu4KG3CrPSpZ6QiBfDst=TZFVGQ67_rVPdxCvA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> -------------<br>
Message log:<br>
int FFMPEG::init_encoder(const char*):<br>
mismatch audio/video file format:
/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
Render::render_single: Session finished.<br>
-----------<br>
<br>
Another question I wondered about from yesterday:<br>
"you can change loglevel to debug in
bin/ffmpeg/encode.opts too, it will produce bugger log,
hopefully with more detailed error msg."<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>
As I understood this, the loglevel=debug is setup in
Cingg's internal ffmpeg, to "trigger" debug error messages
from the external system ffmpeg(?)<br>
How does communication work, and did it report more
detailed error msg." <br>
</div>
</blockquote>
<div><br>
</div>
<div>Yeah, but we are not even at encoding entrypoint, so this
line had no chance to show anything.<br>
</div>
</div>
</div>
</blockquote>
<br>
That's also my impression, the encoding really never starts and
breaks immediately <br>
So there is no ffmpeg log file to inspect<br>
<br>
<blockquote type="cite"
cite="mid:CA+rFky5RuOH4Pu4KG3CrPSpZ6QiBfDst=TZFVGQ67_rVPdxCvA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <br>
<br>
<br>
====================================<br>
<br>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>