FFmpeg code that is working on Windows but not wor

2019-10-18 21:04发布

问题:

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!

标签: php ffmpeg