[FFmpeg-devel] error while decoding- "Too many slices"

Hardik Sharma hardik.sharma22 at yahoo.com
Mon Jun 20 20:47:59 CEST 2011


Thanks Michael for your help but now after decoding, I am not getting expected correct decoded yuv file. Is it because of some error in my command line or because of some change. Please let me know, my code for decoding is-     

ffmpeg -i out1.h264 -vcodec rawvideo -f yuv4mpegpipe -y -psnr out.y4mffmpeg
version git-N-30860-g83f9bc8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 18 2011 19:49:17 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.  9. 0 / 51.  9. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  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 @ 0xa0d5360] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0xa0d5360] 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.h264':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 720x480, 30 fps, 30 tbr, 1200k tbn, 60 tbc
[buffer @ 0xa0dd8a0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, yuv4mpegpipe, to 'out.y4m':
  Metadata:
    encoder         : Lavf53.4.0
    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
frame=  126 fps=  0 q=0.0 PSNR=Y:inf U:inf V:inf *:inf size=   63788kB time=00:0frame=  243 fps=239 q=0.0 PSNR=Y:inf U:inf V:inf *:inf size=  123020kB time=00:0frame=  300 fps=236 q=0.0 LPSNR=Y:inf U:inf V:inf *:inf size=  151877kB time=00:00:10.00 bitrate=124417.5kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead inf%

Thanks, 

Hardik Sharma 


More information about the ffmpeg-devel mailing list