jocover / jetson-ffmpeg

ffmpeg support on jetson nano
Other
623 stars 200 forks source link

git apply ffmpeg_nvmpi.patch error #109

Open fhkong opened 2 years ago

fhkong commented 2 years ago

When I use the command: git apply ffmpeg_nvmpi.patch in my jetson tx2, the following error occurs!

error: patch failed: configure:340
error: configure: patch does not apply
error: patch failed: libavcodec/Makefile:354
error: libavcodec/Makefile: patch does not apply
error: patch failed: libavcodec/allcodecs.c:143
error: libavcodec/allcodecs.c: patch does not apply
error: libavcodec/nvmpi_dec.c: already exists in working directory
error: libavcodec/nvmpi_enc.c: already exists in working directory
anonymity1 commented 2 years ago

I have the same question when I used the command: git apply ffmpeg_nvmpi.patch in my jetson nano :(

gaojulong commented 2 years ago

Jetson Nano :

error: patch failed: configure:340 error: configure: patch does not apply error: patch failed: libavcodec/Makefile:354 error: libavcodec/Makefile: patch does not apply error: patch failed: libavcodec/allcodecs.c:143 error: libavcodec/allcodecs.c: patch does not apply error: libavcodec/nvmpi_dec.c: already exists in working directory error: libavcodec/nvmpi_enc.c: already exists in working directory

eusoubrasileiro commented 1 year ago

You are applying the patch twice! If you check the patch and the files you will see it was applied already.