--log--

guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch1 | patch -p1                                                                                 patching file fftools/cmdutils.c                                                                   guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch2 | patch -p1                                                                                 patching file libavformat/mpegtsenc.c                                                              Hunk #16 succeeded at 1893 with fuzz 1.                                                            Hunk #17 succeeded at 1912 (offset -2 lines).                                                      Hunk #18 succeeded at 2381 (offset -2 lines).                                                      Hunk #19 succeeded at 2410 (offset -2 lines).                                                      patching file libavformat/mpegts.h                                                                 patching file libavformat/bluray.c                                                                 Hunk #1 succeeded at 28 (offset 1 line).                                                           patching file doc/muxers.texi                                                                      Hunk #1 succeeded at 3174 (offset 20 lines).                                                       guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch3 | patch -p1                                                                                 patching file libavformat/avformat.h                                                               Hunk #1 FAILED at 495.                                                                             Hunk #2 FAILED at 558.                                                                             2 out of 2 hunks FAILED -- saving rejects to file libavformat/avformat.h.rej                       patching file libavformat/dv.c                                                                     patching file libavformat/matroskadec.c                                                            Hunk #1 succeeded at 5024 (offset 174 lines).                                                      Hunk #2 succeeded at 5037 (offset 174 lines).                                                      patching file libavformat/seek.c                                                                   guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch4 | patch -p1                                                                                 patching file libavformat/avidec.c                                                                 Hunk #1 succeeded at 2039 (offset 8 lines).                                                        guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch | patch -p1                                                                                  ffmpeg-8.1.patch1   ffmpeg-8.1.patch14  ffmpeg-8.1.patch5   ffmpeg-8.1.patchC                      ffmpeg-8.1.patch10  ffmpeg-8.1.patch2   ffmpeg-8.1.patch7   ffmpeg-8.1.patchD                      ffmpeg-8.1.patch11  ffmpeg-8.1.patch3   ffmpeg-8.1.patch9   ffmpeg-8.1.patchZ1                     ffmpeg-8.1.patch12  ffmpeg-8.1.patch4   ffmpeg-8.1.patchB   ffmpeg-8.1.patchZ2                  

   guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch | patch -p1                                                                                  ffmpeg-8.1.patch1   ffmpeg-8.1.patch14  ffmpeg-8.1.patch5   ffmpeg-8.1.patchC                      ffmpeg-8.1.patch10  ffmpeg-8.1.patch2   ffmpeg-8.1.patch7   ffmpeg-8.1.patchD                      ffmpeg-8.1.patch11  ffmpeg-8.1.patch3   ffmpeg-8.1.patch9   ffmpeg-8.1.patchZ1                     ffmpeg-8.1.patch12  ffmpeg-8.1.patch4   ffmpeg-8.1.patchB   ffmpeg-8.1.patchZ2                     

guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch5 | patch -p1                                                                                 patching file libavfilter/formats.c                                                                Hunk #1 succeeded at 112 (offset 1 line).                                                          Hunk #2 succeeded at 127 (offset 1 line).                                                         
 guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch7 | patch -p1                                                                                 patching file libavcodec/vdpau_mpeg12.c                                                            guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch8 | patch -p1                                                                                 cat: ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch8: No such file or directoryguest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch9 | patch -p1                                                                                 patching file libavformat/mpegenc.c                                                                Hunk #1 succeeded at 1000 (offset 11 lines).                                                       guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch10 | patch -p1                                                                                patching file libavutil/hwcontext_cuda.c                                                           Hunk #1 succeeded at 374 (offset 2 lines).                                                         guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch11 | patch -p1                                                                                patching file libavcodec/hevc/hevcdec.c                                                            Hunk #1 succeeded at 698 (offset -14 lines).                                                       guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch12 | patch -p1                                                                                patching file libavcodec/hevc/ps.c                                                                 Reversed (or previously applied) patch detected!  Assume -R? [n] n                                 Apply anyway? [n] n                                                                                Skipping patch.                                                                                    3 out of 3 hunks ignored -- saving rejects to file libavcodec/hevc/ps.c.rej                        
guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch1 | patch -p1                                                                                 ffmpeg-8.1.patch1   ffmpeg-8.1.patch11  ffmpeg-8.1.patch14                                         ffmpeg-8.1.patch10  ffmpeg-8.1.patch12                                                            
 guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch14 | patch -p1                                                                                patching file libavcodec/hevc/refs.c                                                               Hunk #1 succeeded at 191 (offset 2 lines).                                                         Hunk #2 FAILED at 463.                                                                             1 out of 2 hunks FAILED -- saving rejects to file libavcodec/hevc/refs.c.rej                       

guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch | patch -p1                                                                                  ffmpeg-8.1.patch1   ffmpeg-8.1.patch14  ffmpeg-8.1.patch5   ffmpeg-8.1.patchC                      ffmpeg-8.1.patch10  ffmpeg-8.1.patch2   ffmpeg-8.1.patch7   ffmpeg-8.1.patchD                      ffmpeg-8.1.patch11  ffmpeg-8.1.patch3   ffmpeg-8.1.patch9   ffmpeg-8.1.patchZ1                     ffmpeg-8.1.patch12  ffmpeg-8.1.patch4   ffmpeg-8.1.patchB   ffmpeg-8.1.patchZ2                     
guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patch | patch -p1                                                                                
  ffmpeg-8.1.patch1   ffmpeg-8.1.patch14  ffmpeg-8.1.patch5   ffmpeg-8.1.patchC                      ffmpeg-8.1.patch10  ffmpeg-8.1.patch2   ffmpeg-8.1.patch7   ffmpeg-8.1.patchD                      ffmpeg-8.1.patch11  ffmpeg-8.1.patch3   ffmpeg-8.1.patch9   ffmpeg-8.1.patchZ1                     ffmpeg-8.1.patch12  ffmpeg-8.1.patch4   ffmpeg-8.1.patchB   ffmpeg-8.1.patchZ2                   

  guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patchB | patch -p1                                                                                 patching file libavutil/hwcontext_vdpau.c                                                          guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patchC | patch -p1                                                                                 patching file libavcodec/encode.c                                                                  Hunk #1 succeeded at 357 (offset 52 lines).                                                        Hunk #2 succeeded at 377 (offset 52 lines).                                                        Hunk #3 succeeded at 554 (offset 53 lines).                                                        guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patchD | patch -p1                                                                                 patching file libavcodec/pcm-dvdenc.c                                                              Hunk #2 succeeded at 187 (offset -1 lines).                                                        guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patchZ1 | patch -p1                                                                                patching file libavcodec/wrapped_avframe.c                                                         guest@slax:/dev/shm/ffmpeg-9.0.2$ cat ../new-git/cinelerra/cinelerra-5.1/thirdparty/src/ffmpeg-8.1.patchZ2 | patch -p1                                                                                patching file libavformat/yuv4mpegenc.c                                                            

so basically only patch3, patches 12 and 14 failed.

Everything else seems to be applicable.