<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 13 окт. 2024 г., 17:55 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<br>
<div>Den 13.10.2024 16: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">вс, 13 окт. 2024 г., 17:29
Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">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 13.10.2024 14:49, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вс, 13 окт.
2024 г., 15:44 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer" target="_blank">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 13.10.2024 14:04, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<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" rel="noreferrer noreferrer noreferrer" target="_blank">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>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think this mean selected codec
does not exist.</div>
<div dir="auto"><br>
</div>
<div dir="auto">be sure to launch self-compiled
against system's ffmpeg version of cin (you can
check libraries it links to by using ldd
path_to_executable )</div>
</div>
</blockquote>
<br>
Please, specify the command steps with paths<br>
<br>
My system ffmpeg is <br>
<blockquote><font face="Courier New, Courier, monospace">which
ffmpeg</font><br>
<font face="Courier New, Courier, monospace">/usr/bin/ffmpeg<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">My
Cinelerra "home" installation is<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">/home/cinelerra/cinelerra-5.1</font></blockquote>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">ldd <span style="font-family:"courier new",courier,monospace">/home/cinelerra/cinelerra-5.1/bin/cin</span></div>
<div dir="auto"><span style="font-family:"courier new",courier,monospace"><br>
</span></div>
<div dir="auto"><span style="font-family:"courier new",courier,monospace">but I
think it does not matter because yeah full output below
shows that"home" build of cinelerra started</span></div>
<div dir="auto"><span style="font-family:"courier new",courier,monospace"><br>
</span></div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<blockquote><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
</font>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> 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>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeah, strange.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Can you</div>
<div dir="auto">a) launch cin like LANG=C bin/cin</div>
<div dir="auto"><br>
</div>
<div dir="auto">b) try to save video to somesimple
location like /dev/shm/1.mp4 <br>
</div>
</div>
</blockquote>
<br>
Then the initial PluginFilter errors arised again, see
terminal output below <br>
By the way, the same render error as previously<br>
<br>
localhost:/home/cinelerra/cinelerra-5.1 # LANG=C bin/cin<br>
Cinelerra Infinity - built: Sep 23 2024 10:31:07<br>
git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" rel="noreferrer noreferrer" target="_blank">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams<br>
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka
goodguy<br>
2003-2017 mods for Cinelerra-CV by CinelerraCV team<br>
2015-2024 mods for Cinelerra-GG by Cinelerra-GG team<br>
<br>
Libav version: Lavc61.3.100 <br>
<br>
Cinelerra is free software, covered by the GNU General
Public License,<br>
and you are welcome to change it and/or distribute
copies of it under<br>
certain conditions. There is absolutely no warranty for
Cinelerra.<br>
<br>
lang changed from 'POSIX' to 'C'<br>
build plugin index for:
/home/cinelerra/cinelerra-5.1/bin/plugins<br>
PluginFFilter::new_ffilter(lv2)<br>
err: Operation not permitted<br>
[sofalizer_205 @ 0x33de0780] Valid SOFA filename must be
set.<br>
PluginFFilter::new_ffilter(sofalizer)<br>
err: Invalid argument<br>
PluginFFilter::new_ffilter(blend_vulkan)<br>
err: Input/output error<br>
PluginFFilter::new_ffilter(libplacebo)<br>
err: Operation not permitted<br>
PluginFFilter::new_ffilter(overlay_qsv)<br>
err: Input/output error<br>
PluginFFilter::new_ffilter(overlay_vulkan)<br>
err: Input/output error<br>
PluginFFilter::new_ffilter(xfade_vulkan)<br>
err: Input/output error<br>
PluginFFilter::new_ffilter(hstack_qsv)<br>
err: Operation not permitted<br>
PluginFFilter::new_ffilter(vstack_qsv)<br>
err: Operation not permitted<br>
PluginFFilter::new_ffilter(xstack_qsv)<br>
err: Operation not permitted<br>
build lv2 index for: $CIN_PATH/lv2<br>
int FFMPEG::init_encoder(const char*):<br>
mismatch audio/video file format: /dev/shm/1.mp4<br>
Render::render_single: Session finished.<br>
Total excess of backups: -50 <br>
Session time: 0:03:28<br>
Cpu time: user: 0:00:05.252 sys: 0:00:02.696<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am about to give up :(</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
It is understandable, if not any new ideas popup.<br>
We have already tried a lot.<br>
<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">I have no idea WHY it shows this error.</div>
<div dir="auto"><br>
</div>
<div dir="auto">from "home" cin directory can you</div>
<div dir="auto"><br>
</div>
<div dir="auto">cat bin/ffmpeg/video/av1_qsv.webm<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">cat bin/ffmpeg/video/av1_qsv.mp4<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">?</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
localhost:/home/cinelerra/cinelerra-5.1 # cat
bin/ffmpeg/video/av1_qsv.webm<br>
# only usable with ext. ffmpeg<br>
webm av1_qsv<br>
# cin_pix_fmt=nv12<br>
<br>
localhost:/home/cinelerra/cinelerra-5.1 # cat
bin/ffmpeg/video/av1_qsv.mp4<br>
# only usable with ext. ffmpeg<br>
mp4 av1_qsv<br>
cin_pix_fmt=nv12<br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"></div></div></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">looks fine.</div><div dir="auto"><br></div><div dir="auto">I am afraid we better to try and rebuild our cingg BUT before you run make clean note params we passed to configure, put them into note somewhere.</div><div dir="auto"><br></div><div dir="auto">head config.log</div><div dir="auto"><br></div><div dir="auto">I think it should show ./configure --without-thirdparty --without-libdpx --with-single-user</div><div dir="auto"><br></div><div dir="auto">double-check to where installed ffmpeg-devel package installs libavcodec.h and other headers (may be there is gui for that?)</div><div dir="auto"><br></div><div dir="auto">also do not forgot to set to that directory</div><div dir="auto"><br></div><div dir="auto">CFLAGS=-I/usr/include/ffmpeg as example from previous attempt.</div><div dir="auto"><br></div><div dir="auto">Next, what prevent you from copying lines from git log output? Try selecting and pasting with shift key ... put shift down, move mouse cursor to line you want to copy, without unpressing shift put left mouse button down, move it to the right selecting line. Unpress mouse button first, then shift. I sometimes forgot to do this and selection/paste into midnight commander messes up :/</div><div dir="auto"><br></div><div dir="auto">you can simply redownload fresh git copy, and configure it anew in another folder, then copy over profile files to its bin subfolder and use this unpatched build for tests. </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><blockquote type="cite"><div dir="auto"><div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<blockquote type="cite">
<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">
<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">
<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">
<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>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>