[FFmpeg-devel] Some parameters are not included while encoding

Michael Niedermayer michaelni at gmx.at
Fri Jun 24 03:18:19 CEST 2011

On Wed, Jun 22, 2011 at 11:53:13AM -0700, Hardik Sharma wrote:
> Hi guys,
> I selected some parameters like slice-size-max, bframes/bf but they are not coming right in vstats and passlog files. Please let me know if I am doing anything wrong. Following are the commands i m using for encoding-
> ffmpeg -y -s 720x480 -b 256k -r 30 -pix_fmt yuv420p -f rawvideo -i akiyo_720x480.yuv -pass 1 -vcodec libx264 -y -b 256k -r 30 -preset fast -s 720x480 -flags +loop -cmp +chroma -flags2 -fastpskip -partitions +parti4x4+partp8x8+partb8x8+parti8x8+partp4x4 -chromaoffset 0 -b_qfactor 0.45 -flags2 +wpred -subq 8 -flags2 +mixed_refs -flags2 +dct8x8 -me_range 32 -me_method umh -sc_threshold 40 -trellis 2 -vstats -i_qfactor 0.71 -qcomp 0.5 -rc_eq 'blurCplx^(1-qComp)' -level 40 -flags2 +bpyramid -bidir_refine 1 -refs 6 -qmin 5 -qmax 35 -bf 1 -x264opts bframes=1 -x264opts slice-max-size=800 -deinterlace -f h264 -mbd 1 -psnr -x264opts intra-refresh=20 -bf 1 -tune psnr -x264opts keyint=20 -deblockalpha 0 -deblockbeta 0 -threads 0 /dev/null

wrong:   -x264opts bframes=1 -x264opts slice-max-size=800
correct: -x264opts bframes=1:slice-max-size=800


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110624/1dd0b6b6/attachment.asc>

More information about the ffmpeg-devel mailing list