hardik.sharma22 at yahoo.com
Sat Oct 15 22:26:42 CEST 2011
Thanks Michael, but I have question that my parser is showing that I still have SEI, SPS and PPS slices remain untouched of that gop while I dropped one slice of P/B frame from that gop. As I am not very clear regarding this so can you please elaborate it a little bit that how come this frame is not getting information.
From: Hardik Sharma <hardik.sharma22 at yahoo.com>
To: ffmpeg dev <ffmpeg-devel at ffmpeg.org>
Sent: Saturday, 15 October 2011 11:56 AM
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