try to replace mpegtsenc.c in libavformat with 4.3 version:

https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/refs/heads/release/4.3:/libavformat/mpegtsenc.c

then patch this with ffmpeg-4.3.patch2 patch..... 

and see if resulting cin can mux BD correctly... such frankenstain ffmpeg compiles for me, but i can't say if this improves situation or not... 

On Saturday, May 29, 2021, Phyllis Smith <phylsmith2017@gmail.com> wrote:
Andrew,
Update on bluray creation with ffmpeg 4.4; I have more things to try yet but it will not make it by May 31 (which is OK because
the Alt/h hotkey is dynamite and deserves its own release !!

1) vanilla ffmpeg does not create a bluray and has the error: "[MPEGTS muxer @ 0x7ffed40957c0] Value -1.000000 for parameter 'sdt_period' out of range [0 - 9.22337e+12]"
2) my patch does not even compile; I took original ffmpeg-4.3.patch2 and hand rolled it in with the only change to the code being
get_pcr routine in new version has only 1 parameter instead of 2 which I eliminated the second 1
3) ffmpeg-4.4.patch2 provided compiles nicely but does not create a bluray dvd that works in the player; error is "Cannot play this disc"

Andrea, there are several new ffmpeg plugins that are available in 4.4 so when we get patch2 working, they will need documentation
and expanders.txt changes and blacklist.  The ones I know about are (some video / some audio):

chromanr, afreqshift, aphaseshift, adenorm, speechnorm, asupercut, asubcut, asuperpass, asuperstop,

shufflepixels, tmidequalizer, estdif, epx, shear, kirsch, colortemperature, colorcontrast, colorcorrect,

colorize, aexciter, exposure, monochrome

NOT FOUND = setts bitstream

NOT WORKING = vif, identity, msad


All, I realize that having creation of bluray is not important to most people, but I use it and it is important to me.



On Thu, May 27, 2021 at 6:30 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
also try ffmpeg-4.4.patch2 (blu-ray / mpegts muxing) on your TV/BluRay player? (be prepared for failure - I just copied parts from one patch to another, without any understanding of muxing process itself) 



On Wednesday, May 26, 2021, Phyllis Smith via Cin <cin@lists.cinelerra-gg.org> wrote:
Andrew,
I am testing your ffmpeg 4.4 patches starting again now -- one thing at a time. ...Phyllis

On Tue, May 25, 2021 at 3:33 PM Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org> wrote:
i tried to guess aarch64 objdir for Cinelerra (output of uname -m) and also dropped in libjpeg-turbo 2.1.0 (a bit faster encoding according to their changelog). Patch only updates configure.ac, you need to get tarball from official sourceforge page or from 



On Tuesday, May 25, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
two more patches, should fix interpreter in configure automagically, add termux conditionals in configure.ac, and mjpegtools patches should be buildable again on standard Linux (added ifdef for bthread.h include) 

On Sunday, May 23, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
updated series a bit more, hopefully now it has both my configure params and launch params as shell scripts, added dv ifdefs to livevideo plugin (so it can be compiled with - - without-dv) 



On Sunday, May 23, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
fixed (hopefully) 0001 patch, added mjpegtools and ffmpeg 4.4 termux-specific patches... also added libbthread source and simple Makefile (might be useful if i manage to include resulted library in libzmpeg-related files) 



On Wednesday, May 19, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
probably not very complete (mjpegtools had their own problems) but should give you some idea where I am

patch 0001 still not fixed.. (as in, it reintroduced ff->video_probe and this one still leaks..) 

configured with

 $ ./configure  --without-lv2 --without-vdpau --without-vaapi --without-firewire --without-nv --without-shuttle --without-shuttle_usb --with-single-user --without-libzmpeg --with-clang --with-booby --without-dv --without-dvb --without-video4linux2 --disable-dav1d


--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin