[FFmpeg-user] slice-max-size command is not working with ffmpeg

Hardik Sharma hardik.sharma22 at yahoo.com
Sat Jun 18 01:14:52 CEST 2011


Hi guys,

I tried slice-max-size command with x264 and it's working fine but it's not working with ffmpeg. I am getting following error-

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'

Please suggest me what to do. Really appreciate any help. Thanks.

Regards,
Hardik Sharma     


More information about the ffmpeg-user mailing list