Opened 13 years ago

Closed 13 years ago

#1200 closed defect (fixed)

mpeg2video encoding regression

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: undetermined
Version: git-master Keywords: av_interleaved_write_frame regression mpeg2video
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://thread.gmane.org/gmane.comp.video.ffmpeg.user/36411/focus=36576
Regression since 445a7d4

$ ffmpeg -loop 1 -i tests/lena.pnm -maxrate:v 4000k -bufsize 1000k -bf 1 -an out.ts
ffmpeg version N-39759-ge9dc616 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 13 2012 19:49:03 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 69.101 /  2. 69.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 256x256, 25 fps, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'mpeg2video', auto-selecting format 'yuv420p'
[buffer @ 0x8e83980] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x8e8b460] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x8e80700] w:256 h:256 fmt:rgb24 sar:0/1 -> w:256 h:256 fmt:yuv420p sar:0/1 flags:0x4
[mpegts @ 0x8e8a2c0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: mpeg2video, yuv420p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ppm -> mpeg2video)
Press [q] to stop, [?] for help
[mpegts @ 0x8e8a2c0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 10800 >= 10800
av_interleaved_write_frame(): Invalid argument

Change History (1)

comment:1 by Michael Niedermayer, 13 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.