Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th March 2012, 13:25   #21  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by dukey View Post
Substreams on EVR can be any frame rate you want. Even variable frame rate is fine. The catch is, the substream will only update if the picture on pin1 is updating, so the substream is locked to the references streams frame rate.

Start and stop times on substreams are not a problem. Just fake something. If the video is 25fps, just send the stop time to be +40ms of the start time.

The other catch is, the video one pin0 will stop if there is no substream picture. So either send an end of stream notification or just send blank frames to keep the renderer happy.
the video is decode by another filter, and u do not know how it times its out sample an send to renderer, so don't know how to times substream. This is the biggest isseue when I try to using VMR9.
cb2000 is offline   Reply With Quote
Old 4th March 2012, 13:36   #22  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Just start pushing samples at 40ms apart as soon as the graph is run, starting from time 0. If there is no subpic, just send empty frames. That's basically how my subtitle renderer works. You just gotta watch out when the user seeks in the graph as it resets the times. You don't even need to time it manually, GetDeliveryBuffer will block until its ready to receive again.
dukey is offline   Reply With Quote
Old 4th March 2012, 14:18   #23  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by cb2000 View Post
www.mediafire.com is blocked by country firewall...
Tell me where you want me to upload but the problem with "Animated Button" has been fixed in
Quote:
Revision 27 - Directory Listing
Modified Fri Mar 2 05:58:51 2012 UTC (2 days, 7 hours ago) by cb2000

update libbluray: Fixed displaying of single-loop animated buttons when not using animations
Also can you please add Demo_Player project to the solution so we can build it ourselves ? ( and if necessary a guide / batch file of how to build it )
This way you will not have to post a build for testing every time you change something and also maybe someone else can help
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 4th March 2012, 15:44   #24  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by Mercury_22 View Post
Tell me where you want me to upload but the problem with "Animated Button" has been fixed in
Also can you please add Demo_Player project to the solution so we can build it ourselves ? ( and if necessary a guide / batch file of how to build it )
This way you will not have to post a build for testing every time you change something and also maybe someone else can help
I don't know if u can fetch http://www.rayfile.com/en/ ?
I want to show the animate but not only the last image.

The demo_player is copy from MS's DShow sample code "dshowplayer", I'm afraid it has copyright isseue, so I do not put it on SVN.
Ok I will upload it soon.
cb2000 is offline   Reply With Quote
Old 4th March 2012, 16:22   #25  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by dukey View Post
Just start pushing samples at 40ms apart as soon as the graph is run, starting from time 0. If there is no subpic, just send empty frames. That's basically how my subtitle renderer works. You just gotta watch out when the user seeks in the graph as it resets the times. You don't even need to time it manually, GetDeliveryBuffer will block until its ready to receive again.
But the main video maybe gaps between video segment(playlist change control by bdj or hdmv, it may only display substream as ui but no video) and then VMR9 will block waiting main video if u deliver substream.
cb2000 is offline   Reply With Quote
Old 4th March 2012, 20:54   #26  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
You could just get your worker thread to keep sending frames to the renderer, that way blocking wouldn't be an issue.
dukey is offline   Reply With Quote
Old 4th March 2012, 21:15   #27  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by cb2000 View Post
I don't know if u can fetch http://www.rayfile.com/en/ ?
I want to show the animate but not only the last image.

The demo_player is copy from MS's DShow sample code "dshowplayer", I'm afraid it has copyright isseue, so I do not put it on SVN.
Ok I will upload it soon.
Try http://www.rayfile.com/files/d24ab04...-0015c55db73d/
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 5th March 2012, 03:25   #28  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by Mercury_22 View Post
Thanks a lot.
cb2000 is offline   Reply With Quote
Old 5th March 2012, 09:54   #29  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by cb2000 View Post
Thanks a lot.
You're welcome
Can you add to svn a text file with a guide of how to build ? ( cause I'm missing some dll after building the solution and the jar )

P.S. any chance for a x64 version too ?
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 5th March 2012, 10:13   #30  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by Mercury_22 View Post
You're welcome
Can you add to svn a text file with a guide of how to build ? ( cause I'm missing some dll after building the solution and the jar )

P.S. any chance for a x64 version too ?
what is missing? cvmi? It is from phoneme.
copy the cvmi.dll, jdwp.dll, dt_socket.dll and the lib dir. to your binary dir. Phoneme is hard to build, just use it.
libbluray.jar is the bdj lib, copy it unless you want to rebuild it from java source in libbluray\src\libbluray\bdj\java
donot foget to register the ax and dll you build.
x64 not available now because phoneme have not be port to x64.

Last edited by cb2000; 5th March 2012 at 11:21.
cb2000 is offline   Reply With Quote
Old 5th March 2012, 10:23   #31  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by dukey View Post
You could just get your worker thread to keep sending frames to the renderer, that way blocking wouldn't be an issue.
I had try empty frame then, but because u don't decode the stream, u don not know when it stop and when empty frame should start, none successful. And I had a conclusion that only if the decoder is included in the source filter, the custom mixer is not needed.
cb2000 is offline   Reply With Quote
Old 5th March 2012, 10:44   #32  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by cb2000 View Post
what is missing? cvmi? It is from phoneme.
x64 not available now because phoneme have not be port to x64.
Yes cvmi and dt_socket.dll, jdwp.dll, libbluray.jar

Also on a first build I'm getting 1 failed
Code:
 LINK : fatal error LNK1181: cannot open input file 'BaseClasses.lib'
but after second build there is no more failed

EDIT I see you've edit your post about the rest of the dll so OK I'll copy them but what about libbluray.jar should I copy that too?
__________________
Intel UHD Graphics 750; Win 10 22H2

Last edited by Mercury_22; 5th March 2012 at 10:49.
Mercury_22 is offline   Reply With Quote
Old 6th March 2012, 00:31   #33  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
cb2000, I tried using your filter in my video player. It works with EVR, but I can't get it to work using EVR and my custom presenter. I see in my logs it asks for MR_VIDEO_RENDER_SERVICE, about 100 times. For which I
*ppv = m_pDeviceManager;
m_pDeviceManager->AddRef();

then return S_OK
any ideas ?
dukey is offline   Reply With Quote
Old 6th March 2012, 02:15   #34  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by dukey View Post
cb2000, I tried using your filter in my video player. It works with EVR, but I can't get it to work using EVR and my custom presenter. I see in my logs it asks for MR_VIDEO_RENDER_SERVICE, about 100 times. For which I
*ppv = m_pDeviceManager;
m_pDeviceManager->AddRef();

then return S_OK
any ideas ?
mixer need DXVA2 and D3DDevice from D3DDeviceManager before it can accept input connection, check if u have provide D3DDevice to D3DDeviceManager by ResetDevice before return m_pDeviceManager.
cb2000 is offline   Reply With Quote
Old 6th March 2012, 11:56   #35  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
It does
When the class is create it creates the D3D device and does

// Reset the D3DDeviceManager with the new device
hr = m_pDeviceManager->ResetDevice(pDevice, m_DeviceResetToken);

It also does it again when the user sets
SetVideoWindow(HWND)
dukey is offline   Reply With Quote
Old 8th March 2012, 03:52   #36  |  Link
IanD
Registered User
 
Join Date: Jun 2003
Location: Australia
Posts: 190
Now that Slysoft have added a simple HDMV based menu option to AnyDVD HD (Speed Menu), it would be great if there was a navigator filter available to permit a PC to become a functional player.

I'm not sure if your navigator filter supports this, but it would have to be easier to implement than Java as a first step.
IanD is offline   Reply With Quote
Old 12th March 2012, 13:04   #37  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Quote:
Originally Posted by Mercury_22 View Post
EDIT: Use this Test_Animated_Button and let me know if you need me to add to it
any other java.lang.Error: Not implemented?
I think i should implement most common used funtion of BDJ first.
cb2000 is offline   Reply With Quote
Old 12th March 2012, 16:18   #38  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by cb2000 View Post
any other java.lang.Error: Not implemented?
I think i should implement most common used funtion of BDJ first.
Won't start playing:
Case 1
Code:
c:\dslibbluray\libbluray\src\libbluray\bluray.c:848: libbluray version 0.2.2
c:\dslibbluray\libbluray\src\libbluray\bluray.c:564: AACS/Unit_Key_RO.inf not fo
und. No AACS protection (052235C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:690: BDSVM/00000.svm not found.
No BD+ protection (052235C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:871: BLURAY initialized! (052235
C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR16   (
AUDIO_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR17   (
PG_AND_SUB_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR18   (
PSR_MENU_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr3 = 1 (0522
35C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr4 = 65535 (
052235C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr0 = 1 (0522
35C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr1 = 255 (05
2235C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr2 = 2683740
15 (052235C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr14 = 65535
(052235C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(4, 65535): n
o change in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr4 = 65535 (0
52235C8)
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(4, 65535): n
o change in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr4 = 65535 (0
52235C8)
800
java.lang.VerifyError: (class: title.AfricanCatsXletUSA, method: h(Lbj;)Lig;)Wro
ng return type in function
        at java.lang.Class.getConstructor0(Native Method)
        at org.videolan.BDJAppProxy.doLoad(Compiled Method)(BDJAppProxy.java:132
)
        at org.videolan.BDJAppProxy.doInit(Compiled Method)(BDJAppProxy.java:144
)
        at org.videolan.BDJAppProxy.doStart(Compiled Method)(BDJAppProxy.java:16
4)
        at org.videolan.BDJAppProxy.run(Compiled Method)(BDJAppProxy.java:279)
        at java.lang.Thread.run(Compiled Method)(Thread.java:714)
        at java.lang.Thread.startup(Compiled Method)(Thread.java:785)
java.lang.Error: Not implemented
        at org.bluray.storage.StorageManager.getInstance(Compiled Method)(Storag
eManager.java:25)
        at net.rcdb.bdlive.client.BDLiveClientXlet.u(Compiled Method)(SourceFile
:2874)
        at net.rcdb.bdlive.client.BDLiveClientXlet.onThreadInit(Compiled Method)
(SourceFile:273)
        at com.javelindvd.bluray.xlet.BDJXlet.run(Compiled Method)(SourceFile:18
5)
        at java.lang.Thread.run(Compiled Method)(Thread.java:714)
        at java.lang.Thread.startup(Compiled Method)(Thread.java:785)
Case 2
Code:
c:\dslibbluray\libbluray\src\libbluray\bluray.c:848: libbluray version 0.2.2
c:\dslibbluray\libbluray\src\libbluray\bluray.c:564: AACS/Unit_Key_RO.inf not fo
und. No AACS protection (069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:690: BDSVM/00000.svm not found.
No BD+ protection (069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:871: BLURAY initialized! (069835
C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR16   (
AUDIO_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR17   (
PG_AND_SUB_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR18   (
PSR_MENU_LANG) 0xffffff -> 0x656e67
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr3 = 1 (0698
35C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr4 = 65535 (
069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr0 = 1 (0698
35C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr1 = 255 (06
9835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr2 = 2683740
15 (069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr14 = 65535
(069835C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(4, 65535): n
o change in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr4 = 65535 (0
69835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2346: HDMV event: 7 0
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2346: HDMV event: 3 17
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR4    (
TITLE_NUMBER) 0xffff -> 0x11
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr4 = 17 (069
835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2346: HDMV event: 7 0
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2346: HDMV event: 4 97
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR6    (
PLAYLIST) 0x0 -> 0x61
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr6 = 97 (069
835C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(3, 1): no ch
ange in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr3 = 1 (06983
5C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR5    (
CHAPTER) 0xffff -> 0x1
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr5 = 1 (0698
35C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(7, 0): no ch
ange in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr7 = 0 (06983
5C8)
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR8    (
TIME) 0x0 -> 0x7fff8
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr8 = 524280
(069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:190: Selected stream 0
c:\dslibbluray\libbluray\src\libbluray\register.c:391: bd_psr_write(): PSR1    (
PRIMARY_AUDIO_ID) 0xff -> 0x1
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2074: PSR change: psr1 = 1 (0698
35C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:190: Selected stream 0
c:\dslibbluray\libbluray\src\libbluray\register.c:389: bd_psr_write(2, 268374015
): no change in value
c:\dslibbluray\libbluray\src\libbluray\bluray.c:2043: PSR write: psr2 = 26837401
5 (069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:1590: Title 00097.mpls selected!
 (069835C8)
c:\dslibbluray\libbluray\src\libbluray\bluray.c:1524: Playback rate change to 1.
000000 ! (069835C8)
Using SVN rev 41
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 12th March 2012, 16:39   #39  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
What files u trying to play Mercury_22 ? Upload some samples
dukey is offline   Reply With Quote
Old 12th March 2012, 16:51   #40  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by dukey View Post
What files u trying to play Mercury_22 ? Upload some samples
What server do you want ? and what files are enough ?


@ cb2000 can you "fetch" jumbofiles.com ?
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.