jetson-ffmpeg
jetson-ffmpeg copied to clipboard
Segmentation fault with encode_example.c
Hello, first of all, congratulations for your work!
I was able to succesfully run
ffmpeg -i test.avi -c:v h264_nvmpi result.mp4
but I am having problems when running h264_nvmpi with "encode_example.c" from FFMPEG 4.2. The example is in the official ffmpeg folder and runs with other encoders, but when using with h264_nvmpi I got the following error:
./encode_video result.mp4 h264_nvmpi
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
842091865
H264: Profile = 77, Level = 51
Send frame 0
Send frame 1
Send frame 2
Send frame 3
Send frame 4
Send frame 5
Write packet 0 (size= 5823)
Segmentation fault (core dumped)
Have you succeed to encode video with h264_nvmpi in a C/C++ project?
Thanks in advance
I can confirm the problem for the Jetson Nano. Is there any solution available?