php - file size increasing when while uploading and converting video to flv with ffmpeg -


i need upload , convert video format flv. i'm doing ffmpeg , using ffmpeg command

ffmpeg -i input.mp4 -vcodec flv -sameq -ar 22050  -f flv output.flv 

this command running fine problem file size of output file 5 times grater original input file , if reduce it reduces quality also, need help.

your command reveals this

 option 'sameq' removed. if looking option preserve quality (which not -sameq for), use -qscale 0 or equivalent quality factor option. 

this worked me instead

ffmpeg -i input.mp4 -vcodec flv -q:a 0 -q:v 0 -ar 22050 -f flv output.flv 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -