<div dir="ltr"><div class="gmail_default" style="font-size:small">I hope to find time tomorrow to test this -- looks like fun !<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 2, 2022 at 4:19 AM 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">so, using this page<div><br></div><div><a href="https://blog.fearcat.in/a?ID=01700-325c95d6-306d-4c1a-b3bf-07ab14a4bd8c" target="_blank">https://blog.fearcat.in/a?ID=01700-325c95d6-306d-4c1a-b3bf-07ab14a4bd8c</a></div><div><br></div><div>i tried to fix obvious errors (attached) , now it compiles, but linker (lld from llvm) fails <our fault somewhere + android's threading> so I can't test</div><div><br></div><div><br><br>On Friday, April 1, 2022, Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com" target="_blank">phylsmith2017@gmail.com</a>> wrote:<br><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">This news is very worrisome. The Freelance who "fixed" bluray for ffmpeg 4.4 got Covid and never heard back from him which is unfortunate because he had some experience with ffmpeg.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 1, 2022 at 2:02 PM Andrew Randrianasulu via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</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">Hello!<div><br></div><div>I try to make our software (Cinelerra-gg, non-linear video editor [0]) compile-able with latest ffmpeg, right now I down to 7 errors:</div><div><br></div><div>ffmpeg.C:726:11: error: no member named 'nb_index_entries' in 'AVStream' if( st->nb_index_entries > 0 ) tstmp = st->index_entries[0].timestamp; ~~ ^ ffmpeg.C:726:46: error: no member named 'index_entries' in 'AVStream' if( st->nb_index_entries > 0 ) tstmp = st->index_entries[0].timestamp; ~~ ^ ffmpeg.C:728:16: error: no member named 'first_dts' in 'AVStream' else if( st->first_dts != AV_NOPTS_VALUE ) tstmp = st->first_dts; ~~ ^ ffmpeg.C:728:58: error: no member named 'first_dts' in 'AVStream' else if( st->first_dts != AV_NOPTS_VALUE ) tstmp = st->first_dts; ~~ ^</div><div><br></div><div>ffmpeg.C:3030:35: error: no member named 'codec' in 'AVStream' ret = avcodec_copy_context(st->codec, ctx); ~~ ^</div><div><br></div><div>ffmpeg.C:4092:19: error: no member named 'nb_index_entries' in 'AVStream' int nb_ent = st->nb_index_entries; ~~ ^ ffmpeg.C:4095:27: error: no member named 'index_entries' in 'AVStream' AVIndexEntry *ep = &st->index_entries[nb_ent-1]; ~~ ^ </div><div> 18 warnings and 7 errors generated. </div><div> make[2]: *** [Makefile:570: armv8l/ffmpeg.o] Error 1</div><div><br></div><div><br></div><div>sorry for formatting, copy/pasting from termux ( linux-on-android terminal emulator + distribution) </div><div><br></div><div>so i guess those errs caused by</div><div><br></div><div><a href="https://github.com/FFmpeg/FFmpeg/commit/557953a397dfdd9c7a3d8c2f60d1204599e3d3ac" target="_blank">https://github.com/FFmpeg/FFmpeg/commit/557953a397dfdd9c7a3d8c2f60d1204599e3d3ac</a></div><div><br></div><div>(adds specific av_ functions for manipulating those index entries) </div><div><br></div><div><a href="https://github.com/FFmpeg/FFmpeg/commit/3749eede66c3774799766b1f246afae8a6ffc9bb" target="_blank">https://github.com/FFmpeg/FFmpeg/commit/3749eede66c3774799766b1f246afae8a6ffc9bb</a></div><div><br></div><div>(remove deprecated AVStream.codec - how to use replacement? ) </div><div><br></div><div>and</div><div><br></div><div><a href="https://github.com/FFmpeg/FFmpeg/commit/591b88e6787c4e678237f02a50421d101abd25c2" target="_blank">https://github.com/FFmpeg/FFmpeg/commit/591b88e6787c4e678237f02a50421d101abd25c2</a></div><div>"avformat: move AVStream.{first,cur}_dts to AVStreamInternal</div><div>They are private fields, no reason to have them exposed in a public header.</div><div><br></div><div>Signed-off-by: James Almer <<a href="mailto:jamrial@gmail.com" target="_blank">jamrial@gmail.com</a>>" </div><div><br></div><div>while I hope to learn how to use new functions - I do not think I can replace whole seeking logic with something new? can those fields added back, or at least can you add some new functions to get them? </div><div><br></div><div>I try to compile with dynamic ffmpeg, so my configure line for cinelerra-gg is</div><div><br></div><div>$ ./configure --with-single-user --without-thirdparty --without-dvb --without-video4linux2 --without-dv --without-firewire --without-libzmpeg --without-vdpau --without-vaapi --without-lv2 --without-openexr</div><div><br></div><div>our default is static linking, but at some point we hope to get new ffmpeg (and experimental bsd support I work on requires dynamic linking, so as soon as pkgsrc moves to new ffmpeg we are broken) </div><div><br></div><div><br></div><div>[0] <a href="https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=blob;f=cinelerra-5.1/cinelerra/fileffmpeg.C;h=a6437242ddd633973252b2fcac7a9f9f4bab9e84;hb=HEAD" target="_blank">https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=blob;f=cinelerra-5.1/cinelerra/fileffmpeg.C;h=a6437242ddd633973252b2fcac7a9f9f4bab9e84;hb=HEAD</a></div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>