[FFmpeg-trac] #3197(avformat:new): Assertion nus->keyframe_pts[k] > last_pts failed when using "-f segment"
FFmpeg
trac at avcodec.org
Fri Dec 6 23:13:51 CET 2013
#3197: Assertion nus->keyframe_pts[k] > last_pts failed when using "-f segment"
-------------------------------------+-------------------------------------
Reporter: ob | Owner:
Type: defect | Status: new
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: nut crash | Blocked By:
abort | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by ob):
{{{~/git/ffmpeg/ffmpeg -i new_bad.vob -map 0:1 -map 0:13 -codec copy -f
segment output-%08d.nut}}} seems to reproduce the problem consistently.
It's crafted from the 298 first blocks of both VTS_01_0.VOB and
VTS_01_1.VOB (each block being 2048 bytes). Hopefully this doesn't
reproduce the problem for completely different reasons.
{{{new_bad.vob}}} attached.
{{{
$ ~/git/ffmpeg/ffmpeg -i new_bad.vob -map 0:1 -map 0:13 -codec copy -f
segment output-%08d.nut
ffmpeg version N-58754-ge2bf00c Copyright (c) 2000-2013 the FFmpeg
developers
built on Dec 5 2013 18:55:53 with gcc 4.8 (Ubuntu/Linaro
4.8.1-10ubuntu9)
configuration: --disable-stripping
libavutil 52. 56.100 / 52. 56.100
libavcodec 55. 45.100 / 55. 45.100
libavformat 55. 22.100 / 55. 22.100
libavdevice 55. 5.102 / 55. 5.102
libavfilter 3. 91.100 / 3. 91.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
Input #0, mpeg, from 'new_bad.vob':
Duration: 00:00:02.01, start: 0.053622, bitrate: 3033 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg),
720x576 [SAR 64:45 DAR 16:9], max. 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:2[0x21]: Subtitle: dvd_subtitle
Stream #0:3[0x20]: Subtitle: dvd_subtitle
Stream #0:4[0x2a]: Subtitle: dvd_subtitle
Stream #0:5[0x29]: Subtitle: dvd_subtitle
Stream #0:6[0x28]: Subtitle: dvd_subtitle
Stream #0:7[0x27]: Subtitle: dvd_subtitle
Stream #0:8[0x26]: Subtitle: dvd_subtitle
Stream #0:9[0x25]: Subtitle: dvd_subtitle
Stream #0:10[0x24]: Subtitle: dvd_subtitle
Stream #0:11[0x23]: Subtitle: dvd_subtitle
Stream #0:12[0x22]: Subtitle: dvd_subtitle
Stream #0:13[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Output #0, segment, to 'output-%08d.nut':
Metadata:
encoder : Lavf55.22.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9],
q=2-31, max. 7500 kb/s, 25 fps, 90k tbn, 25 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:13 -> #0:1 (copy)
Press [q] to stop, [?] for help
[segment @ 0x9703540] Non-monotonous DTS in output stream 0:0; previous:
-3600, current: -3600; changing to -3599. This may result in incorrect
timestamps in the output file.
Assertion nus->keyframe_pts[k] > last_pts failed at
libavformat/nutenc.c:598
Aborted
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3197#comment:14>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list