I was working on FFmpeg module using Windows OS and code was working fine but when I uploaded on Linux hosting I got issue.
"ffmpeg -ss 3 -t 3 -i $video_file -filter_complex \"[0:v] fps=12,\"scale=320:180:force_original_aspect_ratio=decrease,pad=320:180:(ow-iw)/2:(oh-ih)/2\",split [a][b];[a] palettegen [p];[b][p] paletteuse\" $output"
Kinldy help me to fix this issue, I shall be very thankful to you!