Kodi Community Forum
[WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: [WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] (/showthread.php?tid=61355)



- blinkseb - 2010-09-03

liquidskin76 Wrote:Hi Seb,

Here's the .sup samples...

http://www.mediafire.com/?ucagguu7ntuu675

There's 2... 'Avatar' and 'Lord Of The Rings - The Fellowship Of The Ring'. Both are forced subs. The first Avatar sub appears around the 11min 8sec mark, and the first Fellowship sub appears around the 7min 30sec mark.

Regarding the first sub that appear for Fellowship, it should read 'The Shire', then about 2 secs later '...60 years later' should fade in. The trunk and Dharma beta 1 only read the 'The Shire' however its position is wrong and it is way to large!

Thanks

Thanks!

Does the subtitles play in mpc-hc? And you're talking about dsplayer right, not xbmc? Because there is no Dharma release of dsplayer, so I'm a little lost here Smile


- gav1577 - 2010-09-03

Hi guys been a member here for years but havnt posted for a long time lol nice to be back Big Grin Ok i have a problem i have just compiled a dspayer build with c++2010 for the first time ever and the resulting xbmc.exe is only 14.9mb in size. What am i doing wrong ?? could use some help please


- liquidskin76 - 2010-09-03

blinkseb Wrote:Thanks!

Does the subtitles play in mpc-hc? And you're talking about dsplayer right, not xbmc? Because there is no Dharma release of dsplayer, so I'm a little lost here Smile

Yep, i'm talking about dsplayer. Nod Wink Just mentioned Dharma beta 1 as an example that won't play the subs ok. Ignore that part!

MPC-HC wouldn't see .sup subs using it's internal filters, however if you use ffdshow/ffdshow dxva you'll get them.

Thanks


- blinkseb - 2010-09-03

gav1577 Wrote:Hi guys been a member here for years but havnt posted for a long time lol nice to be back Big Grin Ok i have a problem i have just compiled a dspayer build with c++2010 for the first time ever and the resulting xbmc.exe is only 14.9mb in size. What am i doing wrong ?? could use some help please

Nothing, that's the expected size of xbmc.exe. Don't forget that it's not an install exe, and the one you download from xbmc.org contains skins, libs, ... Build your own setup package and you will have a ~45 Mo exe.

liquidskin76 Wrote:Yep, i'm talking about dsplayer. Nod Wink Just mentioned Dharma beta 1 as an example that won't play the subs ok. Ignore that part!

MPC-HC wouldn't see .sup subs using it's internal filters, however if you use ffdshow/ffdshow dxva you'll get them.

Thanks

Hm ok, so I guess it won't be easy to add support for it Smile

Using ffdshow, decoding & renderng of the subtitle is done by ffdshow : we have no control over it. Correct me if I'm wrong, but it seems like .sup file are the same as embeded pgs subtitles, no?


- gav1577 - 2010-09-03

blinkseb Wrote:Nothing, that's the expected size of xbmc.exe. Don't forget that it's not an install exe, and the one you download from xbmc.org contains skins, libs, ... Build your own setup package and you will have a ~45 Mo exe.

Thanks for the reply its good to know i have done that part rite Laugh is there any guides how to build the installer package seb? im eager to learn how.
btw great job so far mate your doing a gr8 job Big Grin


- liquidskin76 - 2010-09-03

blinkseb Wrote:Correct me if I'm wrong, but it seems like .sup file are the same as embeded pgs subtitles, no?

That's right, they are the same thing. If you demux the pgs subs from a blu-ray disc you get .sup subs.

I'll give mpc-hc another go. Perhaps i was using an old version. I'd be surprised if they were not supported. I'll let you know.

Thanks


- gav1577 - 2010-09-03

Media Player Classic Home Cinema v1.2.908.0 / 29 November 2008

* New features :

support Multi-Monitor configuration, select Monitor for full-screen playback

creation of minidump when mpc crash

Simplified Chinese & Traditional Chinese translations

Pixel shader to convert BT601 -> BT701 (request #1911511)

YV12 Chroma Upsampling pixel shader added (http://forum.doom9.org/showthread.php?p=1184975#post1184975)

Recursively adding directories to the Playlist (feature request #2013805), add as New Menu item

Support for M2TS presentation graphics streams (only for EVR Custom and VMR9 Renderless)

Command lines "/startpos hh:mmConfuseds.ff", "/dvdpos title#chapter" and "/dvdpos title#hh:mmConfuseds.ff" to start playback to position

Differents icons for each format associated with mpc
support H264 and AAC in FLV splitter

support H264 and AAC in FLV splitter

Btw: I know it supports PGS subtitles in MKV not sure about m2ts

You can get daily builds here http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/


- blinkseb - 2010-09-03

gav1577 Wrote:Thanks for the reply its good to know i have done that part rite Laugh is there any guides how to build the installer package seb? im eager to learn how.
btw great job so far mate your doing a gr8 job Big Grin

Have a look here : http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Windows_from_source_code
Everything is well explained Smile

liquidskin76 Wrote:I'm still seeing this with the new lavf dshow splitter (http://forum.doom9.org/showthread.php?t=156191).

It seems to be a bug in LAVF Splitter. I've created an issue on their website. mpc is not affected as it used an other method to retrieve the current chapter. I guess I can use a similar way, or rely on the splitter informations.


- liquidskin76 - 2010-09-03

blinkseb Wrote:It seems to be a bug in LAVF Splitter. I've created an issue on their website. mpc is not affected as it used an other method to retrieve the current chapter. I guess I can use a similar way, or rely on the splitter informations.

Great, thanks!


- gav1577 - 2010-09-03

blinkseb Wrote:Have a look here : http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Windows_from_source_code
Everything is well explained Smile

Ok thanks seb Smile


- liquidskin76 - 2010-09-03

Ok, just tested PGS (.sup) subs in MPC-HC and they are supported. Must have been some setting causing them to not display last time i tested!

The Avatar subs appear ok. I'll test the Fellowship subs and see how the fade is handled.


- blinkseb - 2010-09-03

liquidskin76 Wrote:Ok, just tested PGS (.sup) subs in MPC-HC and they are supported. Must have been some setting causing them to not display last time i tested!

The Avatar subs appear ok. I'll test the Fellowship subs and see how the fade is handled.

How do you load the subs in mpc? I'm trying with the latest build, and the subtitles (.sup) are not loaded in the "subtitles" entry ... Any hints?

EDIT: Must be doing something wrong, even using ffdshow the subtitles are not shown. That is weird!


- djonline - 2010-09-03

blinkseb Wrote:Make sure the option on settings "Extract thumb and video informations" is turned on as dsplayer rely on it for filters selection.
"Extract thumb.." enabled by default. But 'videocodec' is ignored in my case.
Can you test it with dsplayer and your own .ts|mts ?


Dsplayer ffw - gav1577 - 2010-09-03

.


- blinkseb - 2010-09-04

liquidskin76 Wrote:Ok, just tested PGS (.sup) subs in MPC-HC and they are supported. Must have been some setting causing them to not display last time i tested!

The Avatar subs appear ok. I'll test the Fellowship subs and see how the fade is handled.

I've made some great progress in reading .sup subtitles. Since I can't read them anywhere, was it supposed to look like that ?
Image

There is still an issue when seeking, but I guess it's promising Smile