<div dir="ltr"><div class="gmail_default" style="font-size:small">I had already removed the Windows ^M line ends when testing.  Not sure what I did wrong, but the attached one here works so it will be checked in next time I boot the desktop.<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, May 6, 2025 at 2:26 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">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"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 6 мая 2025 г., 23:15 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>>:<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 dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 6 мая 2025 г., 23:10 Phyllis Smith via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<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 dir="ltr"><div class="gmail_default" style="font-size:small">Although the attached render file AVC_Intra_100.mp4 was checked in awhile ago, I have NOT been able to get AVC_Intra_100.mov to work on Fedora 32.  Error I get is:</div><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">[libx264 @ 0x7f9b9c0b1040]  8-bit AVC-Intra is not widely compatible<br>[libx264 @ 0x7f9b9c0b1040] 10-bit x264 is required to encode AVC-Intra<br>FFMPEG::open_encoder  err: Generic error in an external library<br>int FFMPEG::open_encoder(const char*, const char*):<br>open failed libx264:/tmp/hdrnmm.mov<br></div></blockquote><div><span class="gmail_default" style="font-size:small">If I delete the input line of "avcintra-class=100" which is perfectly legal per "view" it works, but then there is no point!</span></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think our ffmpeg accidently get headers from system's x264, probably compiled without 10bit support?  (this is strange, but Fedora! they cut codec support due to *patent* reasons because they operate in USA)</div><div dir="auto"><br></div><div dir="auto">try to remove x264-devel from system and recompile cingg?</div><div dir="auto"><br></div><div dir="auto">Or just check that Pixels set to yuv422p10le .... (may he i missed _that_ back in time )....</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">oh, I tried it on Termux and it was failing to set Pixels, so I discovered it had Windows line ends (^M in midnight commander's mcedit).</div><div dir="auto"><br></div><div dir="auto">I deleted those and now profile works!</div><div dir="auto"><br></div><div dir="auto">Attaching anew ..</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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 20, 2020 at 3:11 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer" target="_blank">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">But not sure if I did this correctly.<br>
<br>
<a href="https://en.wikipedia.org/wiki/AVC-Intra" rel="noreferrer noreferrer noreferrer" target="_blank">https://en.wikipedia.org/wiki/AVC-Intra</a><br>
says for AVC-Intra 100:<br>
<br>
AVC-Intra 100: <br>
nominally 100 Mbit/s, size of each frame is fixed<br>
CAVLC entropy coding only.<br>
All formats are High 4:2:2 Intra Profile, Level 4.1<br>
4:2:2 chrominance sampling<br>
frames are not scaled<br>
<br>
and yeah, this French-language pdf actually says the same:<br>
<a href="https://web.archive.org/web/20110720215759/http://www.ficam.fr/upload/documents/AVCIntra.pdf" rel="noreferrer noreferrer noreferrer" target="_blank">https://web.archive.org/web/20110720215759/http://www.ficam.fr/upload/documents/AVCIntra.pdf</a><br>
<br>
                        50M                           100M<br>
Standard                     MPEG-4 part10 AVC/H.264<br>
Profile             High 10 Intra                 High 4:2:2 Intra<br>
Level               Level 3.2/4.0                    Level 4.1<br>
Resolution       1440x1080 / 960x720           1920x1080 / 1280x720<br>
Sampling                4:2:0                          4:2:2<br>
Bit rate               54Mbps                        111Mbps<br>
Block size                         Y: 8x8, C: 4x4<br>
Intra Prediction                Y: 9mode, C: 4mode<br>
MBAFF                                   Yes<br>
De-block filter                         No<br>
Slice/frame                             10<br>
Entropy coding        CABAC                          CAVLC<br>
<br>
so, I looked up ffmpeg cmd line<br>
<a href="https://trac.ffmpeg.org/ticket/3597" rel="noreferrer noreferrer noreferrer" target="_blank">https://trac.ffmpeg.org/ticket/3597</a><br>
<br>
ffmpeg -v info -i /mnt-data/backup4/vol0/export/CUHK\ 2014-1/V017b.mov <br>
-vcodec libx264 -intra -pix_fmt yuv422p10le -vb 100M -x264opts avcintra-class=100 <br>
-x264opts colorprim=bt709 -x264opts transfer=bt709 -x264opts colormatrix=bt709<br>
-threads 4 -acodec copy V017b-ffmpeg-git-avcintra100.mov<br>
<br>
Huh, said I and entered those params in opts file, actually in two files (mp4 and mov containers)<br>
<br>
mov libx264<br>
cin_pix_fmt=yuv422p10le<br>
flags -global_header<br>
keyint_min=0<br>
x264-params=keyint=0:colorprim=bt709:transfer=bt709:colormatrix=bt709<br>
avcintra-class=100<br>
bufsize=100000000<br>
level=4.1<br>
<br>
mp4 libx264<br>
cin_pix_fmt=yuv422p10le<br>
flags -global_header<br>
keyint_min=0<br>
x264-params=keyint=0:colorprim=bt709:transfer=bt709:colormatrix=bt709<br>
avcintra-class=100<br>
bufsize=100000000<br>
level=4.1<br>
<br>
both for progressive content, for interlace you must add some more flags:<br>
<a href="https://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-January/035049.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-January/035049.html</a><br>
<br>
-flags +ildct+ilme<br>
-x264opts interlaced=1<br>
<br>
Also, there is still lack of (GUI) user notification if file writing failed due to <br>
NO SPACE on device :}<br>
<br>
FFStream::write_packet: write packet failed.<br>
file:/dev/shm/avci_new.mp4<br>
  err: На устройстве не осталось свободного места<br>
FFStream::encode_frame: encode failed.<br>
file: /dev/shm/avci_new.mp4<br>
  err: На устройстве не осталось свободного места<br>
FFStream::flush failed<br>
:file:/dev/shm/avci_new.mp4<br>
  err: Операция не позволена<br>
Render::render_single: Session finished.<br>
** rendered 273 frames in 85.585 secs, 3.190 fps<br>
Render::render_single: Session finished.<br>
** rendered 273 frames in 85.485 secs, 3.194 fps<br>
Render::render_single: Session finished.<br>
** rendered 273 frames in 82.176 secs, 3.322 fps<br>
<br>
Profile sort of assumes you set project to some supported resolution, framerate, etc,<br>
otherwise libx264 will fail with console error message.....<br>
<br>
I found some talk about AVC-Ultra, there even was patch for x264, but it was not merged:<br>
<a href="https://mailman.videolan.org/pipermail/x264-devel/2015-September/011412.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://mailman.videolan.org/pipermail/x264-devel/2015-September/011412.html</a><br>
<br>
<br>
Also, I think sound must be uncompressed, but I'm not sure.<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>
</blockquote></div></div></div>
</blockquote></div>