[FFmpeg-trac] #3369(undetermined:new): Copying from MPEG TS to MKV fails with "Can't write packet with unknown timestamp"
FFmpeg
trac at avcodec.org
Fri Feb 21 09:14:23 CET 2014
#3369: Copying from MPEG TS to MKV fails with "Can't write packet with unknown
timestamp"
--------------------------------+----------------------------------------
Reporter: gerph | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 2.1.3 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------------
Comment (by cehoyos):
Not a duplicate of ticket #3339, maybe related to tickets #1150 and #1598
The sample is ~12 seconds long, ~346 frames.
{{{
$ ffmpeg -i BBC3HD_Sherlock_Cut.mpg -vcodec copy -map 0:0 out.mkv
ffmpeg version N-60799-g20fa3fb Copyright (c) 2000-2014 the FFmpeg
developers
built on Feb 21 2014 09:05:35 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[h264 @ 0x2b80a60] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x2b80a60] decode_slice_header error
[h264 @ 0x2b80a60] no frame!
[mpegts @ 0x2b7c900] Stream #3: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #4: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #5: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #6: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #7: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #8: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #9: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #10: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #11: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #12: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #13: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #14: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #16: not enough frames to estimate rate;
consider increasing probesize
[mpegts @ 0x2b7c900] Stream #17: not enough frames to estimate rate;
consider increasing probesize
[NULL @ 0x2b82980] start time is not set in estimate_timings_from_pts
[NULL @ 0x2b833e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2b83e80] start time is not set in estimate_timings_from_pts
[NULL @ 0x2b9f580] start time is not set in estimate_timings_from_pts
[NULL @ 0x2b9ff00] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba0960] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba13c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba1e20] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba2880] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba32e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba3d40] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba5240] start time is not set in estimate_timings_from_pts
[NULL @ 0x2ba5ca0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x2b7c900] PES packet size mismatch
Last message repeated 1 times
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 3
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 4
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 5
(Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 7
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 8
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 9
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 10
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 11
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 12
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 13
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 14
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 16
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 0x2b7c900] Could not find codec parameters for stream 17
(Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from 'BBC3HD_Sherlock_Cut.mpg':
Duration: 00:00:14.26, start: 39086.002622, bitrate: 11765 kb/s
Program 1
Stream #0:0[0x15e0]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn,
50 tbc
Stream #0:1[0x15e2](NAR): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, s16p, 254 kb/s
Stream #0:2[0x15e3](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] /
0x0006)
Stream #0:3[0xf06]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:4[0xf07]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:5[0xf09]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:6[0x15e4](eng): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
Stream #0:7[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:8[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:9[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:10[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:11[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:12[0x911]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:13[0x912]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:14[0x913]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:15[0x15e1](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000
Hz, stereo, fltp, 192 kb/s
Stream #0:16[0x15e5]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:17[0x15e6]: Unknown: none ([5][0][0][0] / 0x0005)
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x2ba77c0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame= 147 fps=0.0 q=-1.0 Lsize= 6054kB time=00:00:06.26
bitrate=7922.0kbits/s
video:6070kB audio:0kB subtitle:0 data:0 global headers:0kB muxing
overhead -0.269782%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3369#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list