A user provided a 2.9 G DVD rip that shows a duration of "00:00:01.06" and a bitrate of "-2147483 kb/s" with ffmpeg -i. The reason is a timestamp discontinuity approximately 1 sec before the end of the stream. I cut the sample to only contain the last seconds, and the duration is also wrong, the bitrate is shown as 0kb/s.
$ ffmpeg -i negative-bitrate-sample.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --enable-avresample
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.102 / 3. 30.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpeg @ 0x1ed7540] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'negative-bitrate-sample.mpg':
Duration: 00:00:01.06, start: 0.287267, bitrate: -2147483 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2[0x23]: Subtitle: dvd_subtitle
At least one output file must be specified
$ ffmpeg -probesize 2147483647 -analyzeduration 2147483647 -i ../MPlayer/negative-bitrate-sample.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --enable-avresample
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.102 / 3. 30.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpeg @ 0x17c0720] max_analyze_duration 2147483647 reached at 2147520000
Input #0, mpeg, from '../MPlayer/negative-bitrate-sample.mpg':
Duration: 00:00:01.06, start: 0.287267, bitrate: -2147483 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:2[0x23]: Subtitle: dvd_subtitle
Stream #0:3[0x21]: Subtitle: dvd_subtitle
Stream #0:4[0x20]: Subtitle: dvd_subtitle
Stream #0:5[0x22]: Subtitle: dvd_subtitle
At least one output file must be specified
$ ffmpeg -i negative-bitrate-sample_cut.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --enable-avresample
libavutil 52. 13.100 / 52. 13.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.102 / 3. 30.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mpeg2video @ 0x2b72f80] mpeg_decode_postinit() failure
Last message repeated 4 times
[mpeg @ 0x2b6c540] DTS discontinuity in stream 1: packet 76 with DTS 343638654, packet 77 with DTS 8589956846
[mpeg @ 0x2b6c540] DTS discontinuity in stream 0: packet 104 with DTS 343641534, packet 105 with DTS 8589960446
Input #0, mpeg, from 'negative-bitrate-sample_cut.mpg':
Duration: 25:27:10.12, start: 3814.943267, bitrate: 0 kb/s
Stream #0:0[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x20]: Subtitle: dvd_subtitle
Stream #0:3[0x21]: Subtitle: dvd_subtitle
Stream #0:4[0x22]: Subtitle: dvd_subtitle
Stream #0:5[0x23]: Subtitle: dvd_subtitle
At least one output file must be specified
The negative bitrate is not shown anymore, the duration is still incorrect, ticket #2894 probably describes the same issue.