Bummer outcome of ffmpg_flush_tmp.diff as stated below:
The difference between appimage and build is that the former uses
ffmpeg-4.3 and the latter ffmpeg-4.4. There is a small difference
between the 2 renders, see mediainfo test-1.txt (appimage) and
test-2.txt (build). It seems that ffmpeg-4.3 is more accurate. The
real video source has 7500 frame (5min 0sec at 25 fps)!


yeah, it seems last or 1 or 2 sec of stream is lost (

bad... 

i'll look into ffmpeg's mail list and other projects to see if there anything easy enough to fix. 


I tried to slightly alter condition in FFStream::encode_frame

now it does not display flush errors at the end of encoding... if encode was much faster than timeline fps (still with 4.4)

problem is, for me encoded avi/mov actually have correct number of frames, i checked with mediainfo and internal cingg info window.. but i am on 32-bit arm machine...
 

for now it seems upgrade to 4.4 still not good idea... 
4.4 is dropping something on the end even with the ffmpeg_flush_tnp.diff patch installed.  Unfortunately this patch had no effect in resolving issue so not putting it in.   Need more eyes to look around the web to see if anyone else is reporting "it seems last or 1 or 2 sec of stream is lost" as Andrew quote stated.