Ffmpeg options?

0 like 0 dislike
3 views
Hello.


Convert video to flv using ffmpeg.


Trying to pick the options closest to those that are used by Vkontakte(already partly purely sporting and educational process).


Now click through settings

ffmpeg.exe -i input.avi -threads 24 -vcodec libx264 -b 450k -bt 450k -ab 128k -ar 44100 -ac 2 -vol 256-skip_frame none-coder 0 -async 1 -flags +loop+mv4 -maxrate 10000-bufsize 10000-me_method tesa-nr 0-wpredp 0 -g 250-qcomp 0.60-qmin 10 -qmax 50 -bf 16-sc_threshold 40 -qdiff 4-keyint_min 25 -deblockalpha 0-deblockbeta 0-b_strategy 2-coder 1 -cmp chroma-me_range 24 -flags2 +wpred+dct8x8+mixed_refs+mbtree -trellis 0-partitions +parti8x8+parti4x4+partp8x8+partb8x8 -i_qfactor 1.41-psnr -y output.mp4



Mediainfo for my file displays the following results:
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=tesa / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=2 / weightb=1 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=25 / of scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=cbr / mbtree=1 / bitrate=450 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=50 / qpstep=4 / vbv_maxrate=450 / vbv_bufsize=18 / ip_ratio=0.71 / aq=1:1.00 / nal_hrd=none



But when you start to compare the data of the video file obtained using the program mediainfo can not understand:

1. For audio gives bit rate Bit rate: 153 Kbps, but I clearly ordered-ab 128k

2. How to change the settings:

— cabac

— bframes

— ratetol

— ip_ratio (despite the fact that ffmpeg prescribed ip_ratio=0.71 in the file all the same it turns out

— i_qfactor 1.41)


Interested in how these parameters can affect the final quality/size of the file?


Thank you
by | 3 views

1 Answer

0 like 0 dislike
And you -acodec libfaac tried to point out?
PS Do you code not flv, and h.264. A good example h264.code-shop.com/trac/wiki/Encoding
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
32,848 users