[FFmpeg-trac] #5472(undetermined:new): ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles
FFmpeg
trac at avcodec.org
Mon Apr 25 02:14:26 CEST 2016
#5472: ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles
-------------------------------------+-------------------------------------
Reporter: susnux | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I have muxed a bluray into a mkv using ffmpeg.
But now ffmpeg is unable to work with that mkv because of the included pgs
subtitle.
(Subtitles are working, checked it with mpv).
ffmpeg error:
{{{
[matroska @ 0x1f4af20] Application provided invalid, non monotonically
increasing dts to muxer in stream 4: 14875 >= 14874
av_interleaved_write_frame(): Invalid argument
}}}
ffprobe gives:
{{{
[matroska,webm @ 0x1e60cc0] Could not find codec parameters for stream 4
(Subtitle: hdmv_pgs_subtitle): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
}}}
How to reproduce:
(even -fix_sub_duration does not help)
{{{
% ffmpeg -i in.mkv -map 0 -c copy a.mkv
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
...
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1
DAR 16:9], q=2-31, 24 fps, 24 tbr, 1k tbn, 1k tbc (default)
Stream #0:1(ger): Audio: dts (DTS-HD HRA) ([1] [0][0] / 0x2001), 48000
Hz, 5.1(side) (24 bit) (default)
Metadata:
title : 5.1 DTS-HRA
Stream #0:2(eng): Audio: dts (DTS-HD HRA) ([1] [0][0] / 0x2001), 48000
Hz, 5.1(side) (24 bit)
Metadata:
title : 5.1 DTS-HRA
Stream #0:3(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
224 kb/s
Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle ([255][255][255][255] /
0xFFFFFFFF) (default)
Metadata:
title : Vollständig
}}}
Attached some subtitle packages from ffprobe -show_packets.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5472>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list