[FFmpeg-devel] SLICE-MAX-SIZE and error resiliency

Hardik Sharma hardik.sharma22 at yahoo.com
Sat Jun 18 02:43:21 CEST 2011


Thanks Michael, but this command is not working with ffmpeg. I used this command already with x264 encoder separately and it's working fine with that. Let me know if I am doing anything wrong. I am using following command-ffmpeg/x264$ ffmpeg -y -s 720x480 -b 256k -r 30 -pix_fmt yuv420p -f rawvideo -i akiyo_720x480.yuv -vcodec libx264 -y -b 256k -r 30 -preset fast -g 10 -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 16 -me_method umh -keyint_min 10 -sc_threshold 40 -trellis 2 -i_qfactor 0.71 -qcomp 0.5 -rc_eq 'blurCplx^(1-qComp)' -level 40 -bf 16 -b_strategy 1 -flags2 +bpyramid -bidir_refine 1 -refs 6 -cqp 28 -qmin 8 -qmax 48 -slice-max-size 100 -deinterlace -f h264 -deblockalpha 0 -deblockbeta 0 -threads 0 out.264
ffmpeg version git-N-30805-g7a02527, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 16 2011 10:06:03 with gcc 4.4.5
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 1 / 53.  3. 1
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 18. 0 /  2. 18. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[rawvideo @ 0x906c5e0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'akiyo_720x480.yuv':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 720x480, 30 tbr, 30 tbn, 30 tbc
Unrecognized option 'slice-max-size' 

On Thu, Jun 16, 2011 at 09:40:46AM -0700, Hardik Sharma wrote:
>Hi, >>I have two quick questions, please help me. Slice-max-size feature is just for I frame or it control slice size for P and B frame too?  Thats a question for a x264 specific ML or channel
but it should work for P & B frames too >Do ffmpeg provide support for any error resiliency features like FMO as I want to use FMO for some experiments with ffmpeg. I will appreciate your help. Thanks.  There is no support for FMO.
for h264 encoding we support all that libx264 can do
for h264 decoding slices are supported, partitioning & FMO is not
for mpeg4 slices & partitioning is supported on both encoder and
decoder side. RVLC is decoder only [...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB


More information about the ffmpeg-devel mailing list