[FFmpeg-trac] #2084(undetermined:new): Wrong duration and negative bitrate in mpeg stream with timestamp discontinuity
FFmpeg
trac at avcodec.org
Sat Aug 24 00:59:18 CEST 2013
#2084: Wrong duration and negative bitrate in mpeg stream with timestamp
discontinuity
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: mpegps | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
The negative bitrate is not shown anymore, the duration is still
incorrect, ticket #2894 probably describes the same issue.
{{{
$ ffmpeg -i negative-bitrate-sample.mpg -f null -
ffmpeg version N-55734-g9e477a3 Copyright (c) 2000-2013 the FFmpeg
developers
built on Aug 23 2013 19:36:08 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 42.100 / 52. 42.100
libavcodec 55. 29.100 / 55. 29.100
libavformat 55. 14.102 / 55. 14.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 82.102 / 3. 82.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from 'negative-bitrate-sample.mpg':
Duration: 00:00:01.06, start: 0.287267, bitrate: N/A
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR
64:45 DAR 16:9], max. 8400 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Stream #0:3[0x23]: Subtitle: dvd_subtitle
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf55.14.102
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x576
[SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (mpeg2video -> rawvideo)
Stream #0:2 -> #0:1 (ac3 -> pcm_s16le)
Press [q] to stop, [?] for help
[mpeg2video @ 0x3142ee0] warning: first frame is no keyframe
[null @ 0x3142340] Encoder did not produce proper pts, making some up.
[mpeg2video @ 0x3142ee0] warning: first frame is no keyframe
[mpeg @ 0x3140880] New subtitle stream 0:4 at pos:20676622 and
DTS:27.2873s
[mpeg @ 0x3140880] New subtitle stream 0:5 at pos:82606094 and
DTS:106.967s
[mpeg @ 0x3140880] New subtitle stream 0:6 at pos:82792462 and
DTS:107.127s
frame=95478 fps=1922 q=0.0 Lsize=N/A time=01:03:39.12 bitrate=N/A
video:8951kB audio:2148228kB subtitle:0 global headers:0kB muxing overhead
-100.000001%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2084#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list