[confirm] MP won't display any subtitles when an MKV has a PGS sub (1 Viewer)

jasonwc

Portal Pro
July 4, 2009
83
4
Home Country
United States of America United States of America
MediaPortal Version: 1.1.0 RC6
MediaPortal Skin: StreamedMP
Windows Version: Windows 7 Professional x86
CPU Type: Core i7 860 @ 2.8 Ghz
HDD: Intel X-25M Gen2 160 GB SSD
Memory: 4 GB DDR3 1333
Motherboard: Asus P755D-E PRO
Video Card: ATI 5850
Video Card Driver: Catalyst 10.5
Sound Card: Onboard
Sound Card AC3: ffdshow rev 3488
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec: ffdshow rev 3488
Satelite/CableTV Provider:
HTPC Case: Antec Illusion 300
Cooling:
Power Supply: Corsair 650W 650TX
Remote: Niveus RF Remote
TV: Sharp Aquos 46" LCD 1080p
TV - HTPC Connection: HDMI

Sorry, I didn't include logs in the last post:

Steps to reproduce:

1. Create an MKV with PGS subtitles (from a Blu-Ray) as well as any other format of supplied subtitles (SRT, ASS, SUB/IDX) using MKVMerge 4.1.0.
2. Attempt to playback MKV in MP
3. Attempt to load subtitles (MP will not display subtitle menu; logs will say that there are no subtitles available)
4. Now, create an MKV with all the same streams except for the PGS subs, and the remaining subtitles will work.

Description of Issue:
PGS subs are the image-based sub format on Blu-Ray disks and are superior to SUB/IDX because the conversion process done by BDSup2Sub causes noticeable aliasing.

The latest build of MKVMerge (4.1.0) supports merging PGS subs into an MKV. eac3to has supported extracting PGS subs from MKV for a while. Recent MPC-HC builds also support decoding PGS subs within MKV. However, PGS subs do not appear in the subtitle list for selection in Mediaportal. In addition, if a PGS subtitle is included in an MKV, no other subtitles regardless of format will appear. MP will report that there are no subtitles and fail to show the subtitle menu.

Example:

I have attached logs to confirm the issue. The file I played back has the following attributes-

General
Complete name : L:\Movies\Cars 2006 1080p BluRay AVC FLAC-Remux\Cars 2006 1080p BluRay AVC FLAC-Remux.mkv
Format : Matroska
File size : 19.2 GiB
Duration : 1h 56mn
Overall bit rate : 23.6 Mbps
Encoded date : UTC 2010-07-08 16:08:20
Writing application : mkvmerge v4.1.0 ('Boiling Point') built on Jul 1 2010 14:37:28
Writing library : libebml v1.0.0 + libmatroska v1.0.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 56mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Title : AVC 1080p24 @ 21.6 Mbps

Audio #1
ID : 2
Format : FLAC
Format/Info : Free Lossless Audio Codec
Codec ID : A_FLAC
Duration : 1h 56mn
Bit rate mode : Variable
Channel(s) : 6 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Title : FLAC 5.1 @ 1587 Kbps
Writing library : libFLAC 1.2.1 (UTC 2007-09-17)

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 56mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 160 MiB (1%)
Title : Commentary #1 (Director)

Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 56mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Stream size : 160 MiB (1%)
Title : Commentary #2 (Artistic Direction)

Text #1
ID : 5
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
Title : English

Text #2
ID : 6
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Title : English

Text #3
ID : 7
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : English

. . .

Mediaportal can see the subtitles in the stream:

It shows subtitles in the Media attributes field-

2010-07-09 11:47:47.041520 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : True
2010-07-09 11:47:47.047520 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 3

It also shows subtitles in the list of streams:

2010-07-09 11:47:47.595552 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=A: FLAC 5.1 @ 1587 Kbps [English], Filter=ffdshow Video Decoder, Id=0, PDWGroup=1
2010-07-09 11:47:47.602552 [Debug][(3)]: PlaneScene: PresentImage() dispose surfaces
2010-07-09 11:47:47.609553 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=A: Commentary #1 (Director) [English], Filter=ffdshow Video Decoder, Id=1, PDWGroup=1
2010-07-09 11:47:47.617553 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=A: Commentary #2 (Artistic Direction) [English], Filter=ffdshow Video Decoder, Id=2, PDWGroup=1
2010-07-09 11:47:47.627554 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=S: English [English], Filter=ffdshow Video Decoder, Id=3, PDWGroup=2
2010-07-09 11:47:47.640554 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=S: English [English], Filter=ffdshow Video Decoder, Id=4, PDWGroup=2
2010-07-09 11:47:47.650555 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Unknown; Name=S: English [English], Filter=ffdshow Video Decoder, Id=5, PDWGroup=2

However, Mediaportal still says there are no subtitles to display:

2010-07-09 11:47:51.814793 [Info.][MPMain(1)]: GUIVideoFullscreen toggle subtitle: no subtitle streams available!
 

jasonwc

Portal Pro
July 4, 2009
83
4
Home Country
United States of America United States of America

Users who are viewing this thread

Top Bottom