[FFmpeg-user] error while decoding- "Too many slices"
Hardik Sharma
hardik.sharma22 at yahoo.com
Sat Jun 18 23:32:19 CEST 2011
Hi guys,
While doing decoding I am getting this error of "too many slices". Even after increasing MAX_SLICE defined value in h264.h file in libavcodec of FFMPEG to 4096, it's giving the same error. I tried slice-max-size from 100 to 1000 but it is giving me same error for all. Please suggest me for what I should do. I used the following command-
ffmpeg -i out1.264 -vcodec rawvideo -f yuv4mpegpipe -y out.y4m
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
[h264 @ 0xa72f1e0] Too many slices, increase MAX_SLICES and recompile
Last message repeated 44 times
[h264 @ 0xa72d360] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0xa72d360] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2)
Input #0, h264, from 'out1.264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264 (High), yuv420p, 720x480, 30 fps, 30 tbr, 1200k tbn, 60 tbc
[buffer @ 0xa7358a0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, yuv4mpegpipe, to 'out.y4m':
Metadata:
encoder : Lavf53.3.1
Stream #0.0: Video: rawvideo, yuv420p, 720x480, q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
[h264 @ 0xa72f1e0] Too many slices, increase MAX_SLICES and recompile
frame= 103 fps= 0 q=0.0 size= 52144kB time=00:00:03.43 bitrate=124417.6kbitsframe= 203 fps=199 q=0.0 size= 102770kB time=00:00:06.76 bitrate=124417.5kbits Last message repeated 95 times
frame= 299 fps=197 q=0.0 Lsize= 151371kB time=00:00:09.96 bitrate=124417.5kbits/s dup=0 drop=1
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Will appreciate any suggestion or help. Thanks.
Regards,
Hardik Sharma
More information about the ffmpeg-user
mailing list