jetson-ffmpeg
jetson-ffmpeg copied to clipboard
Scaling with non-integer multiple/divisor seg faults
When scaling to a non-integer multiple of the input dimensions, or to a non-integer division of the input dimensions, nvmpi seg faults. Error message gives location 'line 9: 2566616 Segmentation fault'.
Is probably related to #8 posted by @jacobgorm in https://github.com/jocover/jetson-ffmpeg/issues/8#issuecomment-548319369_
Examples: (note the webcam /dev/video0 delivers 640x480 as indicated by ffmpeg on startup): ffmpeg -i /dev/video0 -vf scale=800x600 -c:v h264_nvmpi wcout.mkv -> seg fault ffmpeg -i /dev/video0 -vf scale=600x450 -c:v h264_nvmpi wcout.mkv -> seg fault However these scales work fine: 160x120, 320x240, 640x480, 1280x960, 1920x1440 .
I'm not sure whether I've seen a remark somewhere that this is a currently existing limitation of nvmpi. Anyway I wanted to document it as an issue.