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

FFmpeg trac at avcodec.org
Wed Aug 14 14:15:22 CEST 2013


#2834: mpeg2video: Assertion p <= end failed at libavcodec/utils.c:3249 + core
dumped
-------------------------------------+-------------------------------------
             Reporter:  peter_b      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:  fixed
             Keywords:  mpeg2video   |               Blocked By:
  regression crash abort             |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by peter_b):

 Thanks.
 I've just checked with "broken.m2t" and it works now.

 ''Just for the sake of completeness'', I might note that the same
 commandline used above now returns a "slice too small" error, while ffmpeg
 v0.8.6 does not. The testfile "broken.m2t" however, only has 11 frames -
 so it ''is'' insanely short ;)

 The initial problem however is solved. Thank you very much!

 {{{
 $ ffmpeg_git -i broken.m2t -an -f framemd5 output.framemd5

 ffmpeg version N-55539-g2090451 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug 14 2013 13:46:48 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. 42.100 / 52. 42.100
   libavcodec     55. 27.100 / 55. 27.100
   libavformat    55. 13.102 / 55. 13.102
   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 'broken.m2t':
   Duration: 00:00:00.58, start: 1.416000, bitrate: 27411 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.102
     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
 [mpeg2video @ 0x3517ba0] slice too small
 Error while decoding stream #0:0: Invalid data found when processing input
 frame=   11 fps=0.0 q=0.0 Lsize=       1kB time=00:00:00.52 bitrate=
 13.7kbits/s
 video:25059kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -99.996524%
 }}}

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


More information about the FFmpeg-trac mailing list