[FFmpeg-trac] #6757(undetermined:new): Copying pgs sub stream(s) results in non incrementing dts error
FFmpeg
trac at avcodec.org
Wed Oct 18 22:14:47 EEST 2017
#6757: Copying pgs sub stream(s) results in non incrementing dts error
-------------------------------------+-------------------------------------
Reporter: FFmpegUser9 | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: pgssub | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Attempting to mux a h265 mkv(Video.mkv) that contains hdmv_pgs_subtitles
with an mkv(TrueHD.mkv) containing only TrueHD 7.1 audio results in this
error.
[matroska @ 0000024dcd75c1a0] Application provided invalid, non
monotonically increasing dts to muxer in stream 5: 12554 >= 12552
av_interleaved_write_frame(): Invalid argument
size= 2kB time=00:00:12.55 bitrate= 1.2kbits/s speed=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 5425.714355%
Conversion failed!
If I don't map the subtitles no errors occur and the files mux normally.
These tickets seem to have the same error or very similar
https://trac.ffmpeg.org/ticket/4450
https://trac.ffmpeg.org/ticket/5472
How to reproduce:
{{{
>ffmpeg -i Video.mkv -i TrueHD.mkv -c:v copy -c:a copy -map 0:s? -c:s copy
out.mkv
ffmpeg version N-87871-g7480f232d2 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-
libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-
libmfx
libavutil 55. 79.100 / 55. 79.100
libavcodec 57.108.100 / 57.108.100
libavformat 57. 84.100 / 57. 84.100
libavdevice 57. 11.100 / 57. 11.100
libavfilter 6.108.100 / 6.108.100
libswscale 4. 9.100 / 4. 9.100
libswresample 2. 10.100 / 2. 10.100
libpostproc 54. 8.100 / 54. 8.100
}}}
Extra Details
{{{
The video file was originally AVC from a blu-ray converted to h265
ffmpeg -i file.m2ts -map 0:0 -c:v hevc_nvenc -b:v 6M Video.mkv
The audio was copied from the blu-ray
ffmpeg -i file.m2ts -map 0:2 -c:a copy TrueHD.mkv
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6757>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list