[FFmpeg-trac] #3339(undetermined:open): Remuxing m2ts to mkv, Can't write packet with unknown timestamp
FFmpeg
trac at avcodec.org
Wed Jan 22 12:01:16 CET 2014
#3339: Remuxing m2ts to mkv, Can't write packet with unknown timestamp
-------------------------------------+-------------------------------------
Reporter: Selur | Owner:
Type: defect | Status: open
Priority: important | Component:
Version: git-master | undetermined
Keywords: | Resolution:
av_interleaved_write_frame h264 | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: => av_interleaved_write_frame h264 regression
* priority: normal => important
* status: new => open
* reproduced: 0 => 1
Comment:
Regression since 4eb49fdd
{{{
$ ffmpeg -i sample_cut.m2ts -an -vcodec copy out.mkv
ffmpeg version N-60087-g94a5241 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 22 2014 11:53:59 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 63.100 / 52. 63.100
libavcodec 55. 48.102 / 55. 48.102
libavformat 55. 25.101 / 55. 25.101
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpegts, from 'sample_cut.m2ts':
Duration: 00:00:02.17, start: 600.000000, bitrate: 9442 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn,
47.95 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 640 kb/s
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf55.25.101
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x1c63920] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame= 25 fps=0.0 q=-1.0 Lsize= 4kB time=00:00:00.91 bitrate=
35.8kbits/s
video:234kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-98.282415%
}}}
{{{
$ ffmpeg -fflags +genpts -i sample_cut.m2ts -an -vcodec copy out.mkv
ffmpeg version N-60087-g94a5241 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jan 22 2014 11:53:59 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 63.100 / 52. 63.100
libavcodec 55. 48.102 / 55. 48.102
libavformat 55. 25.101 / 55. 25.101
libavdevice 55. 5.102 / 55. 5.102
libavfilter 4. 1.100 / 4. 1.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpegts, from 'sample_cut.m2ts':
Duration: 00:00:02.17, start: 600.000000, bitrate: 9442 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn,
47.95 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 640 kb/s
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf55.25.101
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x1c891e0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
frame= 25 fps=0.0 q=-1.0 Lsize= 4kB time=00:00:00.91 bitrate=
35.8kbits/s
video:234kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-98.282415%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3339#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list