encode video into three different formats using ffmpeg on one button click -
i facing problem in converting/encoding video 3 formats i-e; webm, mp4 , flv on video upload @ 1 button click. problem videos converting , or not. example when trying convert mp4 flv mp4 videos converting , not. using command convert it. tried other commands 1 working few mp4 files other 1 not working file. here command
ffmpeg -i input.mp4 -c:v libx264 -crf 28 output.flv
which put php code
passthru("ffmpeg -i input.mp4 -c:v libx264 -crf 28 output.flv")
i facing issues converting avi , ogg files mp4, webm , flv. strange. please help.
thanks
you have not specified acodec parameter
ffmpeg -i input.mp4 -acodec libvo_aacenc -vcodec libx264 -crf 28 output.flv
even if, doesn't check error, give clue add.
Comments
Post a Comment