ffmpeg -y -framerate 0.3 -pattern_type glob -i *.jpg -c:v libx264 -r 30 -pix_fmt yuv420p road_6.mp4
what problem?
[image2 @ 0x55eefe95e7c0] Could not open file : *.jpg
[image2 @ 0x55eefe95e7c0] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, image2, from '*.jpg':