[FFmpeg-devel] Bug

Hardik Sharma hardik.sharma22 at yahoo.com
Sat Oct 15 20:56:19 CEST 2011


Following is my command line to encode-
ffmpeg -y -s 352x288 -r 30 -pix_fmt yuv420p -f rawvideo -i foreman_cif.yuv -vcodec libx264 -y -b 512k -r 30 -preset fast -s 352x288 -flags +loop -cmp +chroma -flags2 -fastpskip -partitions +parti4x4+partp8x8+partb8x8+parti8x8+partp4x4 -chromaoffset 0 -b_qfactor 0.45 -flags2 +wpred -subq 9 -flags2 +mixed_refs -flags2 +dct8x8 -me_range 32 -me_method umh -strict 1 -sc_threshold 40 -vstats -i_qfactor 0.71 -qcomp 0.5 -rc_eq 'blurCplx^(1-qComp)' -level 40 -flags2 -bpyramid -coder 1 -refs 6 -x264opts slice-max-size=300:bframes=1:keyint=20:no-interlaced=1:trellis=2:subme=10 -f h264 -mbd 1 -profile high -deblockalpha 0 -deblockbeta 0 -threads 0 out1.264

Then I started dropping every slice one by one. For many slices the concealment is not working (my guess) because as I drop that slice, decoder dropped the whole frame. I am decoding this sequence back to yuv format as I encoded the raw yuv format to 264 initially.

Decoding command line-
ffmpeg -b 512k -s 352x288 -r 30 -i out1.264 -b 512k -s 352x288 -r 30 -y out1.yuv
Let me know if you want to know any other detail.

More information about the ffmpeg-devel mailing list