[FFmpeg-trac] #3820(undetermined:new): pgs subtitle inside mkv not found
FFmpeg
trac at avcodec.org
Thu Jul 31 16:17:20 CEST 2014
#3820: pgs subtitle inside mkv not found
-------------------------------------+-------------------------------------
Reporter: Selur | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: mkv pgs | Blocked By:
subtitle missing | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
on:
https://drive.google.com/file/d/0B_WxUS1XGCPAUUZOUGc1Q0FJbnc/edit?usp=sharing
{{{
ffmpeg -y -i "H:\Output\mpeg2 interlaced_pgs subtitle.mkv"
}}}
produces:
{{{
ffmpeg version git-2014-07-30-ff9a154 Copyright (c) 2000-2014 the FFmpeg
developers
built on Jul 30 2014 13:45:30 with gcc 4.9.1 (Rev1, Built by MSYS2
project)
configuration: --arch=x86_64 --disable-debug --disable-shared --disable-
doc --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-
avfilter --enable-bzlib --enable-zlib --enable-librtmp --enable-gnutls
--enable-avisynth --enable-frei0r --enable-filter=frei0r --enable-
libbluray --enable-libcaca --enable-libopenjpeg --enable-fontconfig
--enable-libfreetype --enable-libass --enable-libgsm --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libvo-amrwbenc --enable-libschroedinger --enable-libsoxr
--enable-libtwolame --enable-libutvideo --enable-libspeex --enable-
libtheora --enable-libvorbis --enable-libvo-aacenc --enable-openal
--enable-libopus --enable-libvidstab --enable-libvpx --enable-libwavpack
--enable-libxavs --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libzvbi
libavutil 52. 93.100 / 52. 93.100
libavcodec 55. 71.100 / 55. 71.100
libavformat 55. 50.100 / 55. 50.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, matroska,webm, from 'H:\Output\mpeg2 interlaced_pgs
subtitle.mkv':
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.1
creation_time : 2014-07-31 13:55:55
Duration: 00:00:20.28, start: 0.080000, bitrate: 3893 kb/s
Stream #0:0: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45
DAR 16:9], max. 9000 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
(forced)
Metadata:
BPS : 3883580
BPS-eng : 3883580
DURATION : 00:00:20.280000000
DURATION-eng : 00:00:20.280000000
NUMBER_OF_FRAMES: 507
NUMBER_OF_FRAMES-eng: 507
NUMBER_OF_BYTES : 9844876
NUMBER_OF_BYTES-eng: 9844876
_STATISTICS_WRITING_APP: mkvmerge v7.1.0 ('Good Love') 64bit built
on Jul 27 2014 13:06:55
_STATISTICS_WRITING_APP-eng: mkvmerge v7.1.0 ('Good Love') 64bit
built on Jul 27 2014 13:06:55
_STATISTICS_WRITING_DATE_UTC: 2014-07-31 13:55:55
_STATISTICS_WRITING_DATE_UTC-eng: 2014-07-31 13:55:55
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1: Subtitle: hdmv_pgs_subtitle, 720x576
Metadata:
BPS : 5755
BPS-eng : 5755
DURATION : 00:00:17.600000000
DURATION-eng : 00:00:17.600000000
NUMBER_OF_FRAMES: 6
NUMBER_OF_FRAMES-eng: 6
NUMBER_OF_BYTES : 12662
NUMBER_OF_BYTES-eng: 12662
_STATISTICS_WRITING_APP: mkvmerge v7.1.0 ('Good Love') 64bit built
on Jul 27 2014 13:06:55
_STATISTICS_WRITING_APP-eng: mkvmerge v7.1.0 ('Good Love') 64bit
built on Jul 27 2014 13:06:55
_STATISTICS_WRITING_DATE_UTC: 2014-07-31 13:55:55
_STATISTICS_WRITING_DATE_UTC-eng: 2014-07-31 13:55:55
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
At least one output file must be specified
}}}
but the file clearly contains a subtitle stream:
{{{
mkvinfo "h:\Output\mpeg2 interlaced_pgs subtitle.mkv"
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: matroska
|+ Doc type version: 4
|+ Doc type read version: 2
+ Segment, size 9869129
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4029)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v1.3.0 + libmatroska v1.4.1
| + Writing application: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul
27 201
4 13:06:55
| + Duration: 20.280s (00:00:20.280)
| + Date: Thu Jul 31 13:55:55 2014 UTC
| + Segment UID: 0x8c 0xb3 0x53 0x90 0xac 0xa0 0x53 0x4d 0xa7 0xcd 0x18
0x71 0xf
6 0x87 0x53 0x6f
|+ Segment tracks
| + A track
| + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
| + Track UID: 4004092043
| + Track type: video
| + Forced flag: 1
| + Lacing flag: 0
| + MinCache: 1
| + Codec ID: V_MPEG2
| + CodecPrivate, length 96
| + Default duration: 40.000ms (25.000 frames/fields per second for a
video tra
ck)
| + Language: und
| + Video track
| + Pixel width: 720
| + Pixel height: 576
| + Display width: 1024
| + Display height: 576
| + A track
| + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
| + Track UID: 2865169068
| + Track type: subtitles
| + Default flag: 0
| + Lacing flag: 0
| + Codec ID: S_HDMV/PGS
| + Language: und
| + Content encodings
| + Content encoding
| + Content compression
|+ EbmlVoid (size: 1098)
|+ Cluster
}}}
{{{
General
Count : 290
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Unique ID :
187023035449843704704068160171473851247
Unique ID :
187023035449843704704068160171473851247
(0x8CB35390ACA0534DA7CD1871F687536F)
Count of video streams : 1
Count of text streams : 1
Video_Format_List : MPEG Video
Video_Format_WithHint_List : MPEG Video
Codecs Video : MPEG-2 Video
Video_Language_List : English
Text_Format_List : PGS
Text_Format_WithHint_List : PGS
Text codecs : S_HDMV/PGS
Text_Language_List : English
Complete name : h:\Output\mpeg2 interlaced_pgs
subtitle.mkv
Folder name : h:\Output
File name : mpeg2 interlaced_pgs subtitle
File extension : mkv
Format : Matroska
Format : Matroska
Format/Url : http://packs.matroska.org/
Format/Extensions usually used : mkv mk3d mka mks
Commercial name : Matroska
Format version : Version 4 / Version 2
Codec : Matroska
Codec : Matroska
Codec/Url : http://packs.matroska.org/
Codec/Extensions usually used : mkv mk3d mka mks
File size : 9869181
File size : 9.41 MiB
File size : 9 MiB
File size : 9.4 MiB
File size : 9.41 MiB
File size : 9.412 MiB
Duration : 20280
Duration : 20s 280ms
Duration : 20s 280ms
Duration : 20s 280ms
Duration : 00:00:20.280
Overall bit rate mode : VBR
Overall bit rate mode : Variable
Overall bit rate : 3893168
Overall bit rate : 3 893 Kbps
Stream size : 196397
Stream size : 192 KiB (2%)
Stream size : 192 KiB
Stream size : 192 KiB
Stream size : 192 KiB
Stream size : 191.8 KiB
Stream size : 192 KiB (2%)
Proportion of this stream : 0.01990
Encoded date : UTC 2014-07-31 13:55:55
File creation date : UTC 2014-07-31 13:55:56.110
File creation date (local) : 2014-07-31 15:55:56.110
File last modification date : UTC 2014-07-31 13:55:56.297
File last modification date (local) : 2014-07-31 15:55:56.297
Writing application : mkvmerge v7.1.0 ('Good Love')
64bit built on Jul 27 2014 13:06:55
Writing library : libebml v1.3.0 + libmatroska
v1.4.1
Writing library : libebml v1.3.0 + libmatroska
v1.4.1
DURATION : 00:00:17.600000000
NUMBER_OF_FRAMES : 6
NUMBER_OF_BYTES : 12662
_STATISTICS_WRITING_APP : mkvmerge v7.1.0 ('Good Love')
64bit built on Jul 27 2014 13:06:55
_STATISTICS_WRITING_DATE_UTC : 2014-07-31 13:55:55
_STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES
NUMBER_OF_BYTES
Video
Count : 278
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 1
ID : 1
Unique ID : 4004092043
Format : MPEG Video
Commercial name : MPEG-2 Video
Format version : Version 2
Format profile : Main at Main
Format settings : CustomMatrix
Format settings, BVOP : No
Format settings, BVOP : No
Format settings, Matrix : Custom
Format settings, Matrix : Custom
Format_Settings_Matrix_Data :
10111112121213131313141414141415151515151516161616161616171717171717171718181819181818191A1A1A1A191B1B1B1B1B1C1C1C1C1E1E1E1F1F21
Internet media type : video/MPV
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Codec ID/Url : http://ffdshow-
tryout.sourceforge.net/
Codec : V_MPEG2
Codec : MPEG-2 Video
Codec/Family : MPEG-V
Codec/Info : MPEG 1 or 2 Video
Codec/Url : http://ffdshow-
tryout.sourceforge.net/
Codec profile : Main at Main
Codec settings : CustomMatrix
Codec settings, Matrix : Custom
Duration : 20280
Duration : 20s 280ms
Duration : 20s 280ms
Duration : 20s 280ms
Duration : 00:00:20.280
Bit rate mode : VBR
Bit rate mode : Variable
Bit rate : 3815694
Bit rate : 3 816 Kbps
Maximum bit rate : 9000000
Maximum bit rate : 9 000 Kbps
Width : 720
Width : 720 pixels
Height : 576
Height : 576 pixels
Pixel aspect ratio : 1.422
Display aspect ratio : 1.778
Display aspect ratio : 16:9
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 25.000
Frame rate : 25.000 fps
Frame count : 507
Standard : PAL
Resolution : 8
Resolution : 8 bits
Colorimetry : 4:2:0
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Interlaced
Scan type : Interlaced
Scan order : TFF
Scan order : Top Field First
Interlacement : TFF
Interlacement : Top Field First
Compression mode : Lossy
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.368
Delay : 80
Delay : 80ms
Delay : 80ms
Delay : 80ms
Delay : 00:00:00.080
Delay, origin : Container
Delay, origin : Container
Delay_Original : 36060560
Delay_Original : 10h 1mn
Delay_Original : 10h 1mn 0s 560ms
Delay_Original : 10h 1mn
Delay_Original : 10:01:00.560
Delay_Original_Settings : drop_frame_flag=0 /
closed_gop=1 / broken_link=0
Delay_Original_DropFrame : No
Delay_Original_Source : Stream
Time code of first frame : 10:01:00:12
Time code source : Group of pictures header
Stream size : 9672784
Stream size : 9.22 MiB (98%)
Stream size : 9 MiB
Stream size : 9.2 MiB
Stream size : 9.22 MiB
Stream size : 9.225 MiB
Stream size : 9.22 MiB (98%)
Proportion of this stream : 0.98010
Default : Yes
Default : Yes
Forced : Yes
Forced : Yes
Buffer size : 229376
intra_dc_precision : 10
Text
Count : 195
Count of stream of this kind : 1
Kind of stream : Text
Kind of stream : Text
Stream identifier : 0
StreamOrder : 1
ID : 2
ID : 2
Unique ID : 2865169068
Format : PGS
Commercial name : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : The same subtitle format used
on BDs/HD-DVDs
Codec : S_HDMV/PGS
Codec : S_HDMV/PGS
Default : No
Default : No
Forced : No
Forced : No
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3820>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list