[FFmpeg-trac] #2834(undetermined:new): framemd5: Assertion p <= end failed at libavcodec/utils.c:3249 + core dumped

FFmpeg trac at avcodec.org
Sun Aug 4 23:19:19 CEST 2013


#2834: framemd5: Assertion p <= end failed at libavcodec/utils.c:3249 + core
dumped
-------------------------------------+-------------------------------------
             Reporter:  peter_b      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  core dumped  |               Blocked By:
  framemd5                           |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I'm getting the following error message when trying to calculate the
 framemd5 of a MPEG-TS video:

   '''"Assertion p <= end failed at libavcodec/utils.c:3249
   Aborted (core dumped)"'''


 How to reproduce:
 {{{
 % ffmpeg -i input.m2t -an -f framemd5 output.framemd5

 ffmpeg version N-55222-g18d7074 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug  4 2013 22:47:14 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
 --enable-version3 --enable-postproc --enable-swscale --enable-avfilter
 --enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
 --enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
 --enable-encoder=png --enable-libfreetype --enable-libschroedinger
 --enable-libvpx --enable-libvorbis --enable-libx264 --enable-libfaac
   libavutil      52. 40.100 / 52. 40.100
   libavcodec     55. 20.100 / 55. 20.100
   libavformat    55. 13.101 / 55. 13.101
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.100 /  3. 82.100
   libswscale      2.  4.100 /  2.  4.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mpegts, from 'input.m2t':
   Duration: 01:00:40.36, start: 1.400000, bitrate: 27381 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], max. 25000 kb/s, 25 fps, 25 tbr,
 90k tbn, 50 tbc
     Stream #0:1[0x101]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 384 kb/s
 Output #0, framemd5, to 'output.framemd5':
   Metadata:
     encoder         : Lavf55.13.101
     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1440x1080
 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video -> rawvideo)
 Press [q] to stop, [?] for help
 Assertion p <= end failed at libavcodec/utils.c:3249
 Aborted (core dumped)
 }}}

 Normally I wouldn't report this, because this only happens with one
 particular file. However, the exact same commandline works perfectly fine
 on that file using ffmpeg v0.8.5 (ubuntu binary):

 {{{
 % ffmpeg -i input.m2t -an -f framemd5 output.framemd5

 ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the
 Libav developers
   built on Jan 24 2013 18:01:36 with gcc 4.6.3
 *** THIS PROGRAM IS DEPRECATED ***
 This program is only provided for compatibility and will be removed in a
 future release. Please use avconv instead.
 Input #0, mpegts, from 'input.m2t':
   Duration: 01:00:40.36, start: 1.400000, bitrate: 27381 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0.0[0x100]: Video: mpeg2video (Main), yuv420p, 1440x1080 [PAR
 4:3 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0.1[0x101]: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
 File 'output.framemd5' already exists. Overwrite ? [y/N] y
 [buffer @ 0x20775a0] w:1440 h:1080 pixfmt:yuv420p
 Output #0, framemd5, to 'output.framemd5':
   Metadata:
     encoder         : Lavf53.21.1
     Stream #0.0: Video: rawvideo, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Press ctrl-c to stop encoding
 [mpeg2video @ 0x20791c0] qscale == 0
 [mpeg2video @ 0x20791c0] Warning MVs not available
 [mpeg2video @ 0x20791c0] concealing 1800 DC, 1800 AC, 1800 MV errors
 frame=  610 fps= 77 q=0.0 Lsize=      32kB time=24.40 bitrate=
 10.7kbits/s
 video:1389656kB audio:0kB global headers:0kB muxing overhead -99.997707%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2834>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list