View Full Version : ffdshow tryouts project: Discussion & Development
swordsman
27th October 2009, 12:00
while trying rev. 3117:
1. \n or \\n doesn't work
http://pic.ipicture.ru/uploads/091027/57434/dEDUk4rtlN.jpg
2. I mean I call shortosdmessageabsolute faster than the delay value,
cause I can't always know did it played the delay frames already or not (e.g. while FFWD or Rev)
http://pic.ipicture.ru/uploads/091027/57434/SIF39XWwL3.jpg
tal.aloni
27th October 2009, 14:38
swordsman,
Regarding 1: thanks for letting me know, I made a stupid mistake, it's fixed in rev. 3118. (sorry)
Edit: swordsman has updated that the issue is solved with rev. 3118
Regarding 2: for such scenarios, shortOSDmessage is recommended, that way messages will be shown in list.
jimwhite
27th October 2009, 15:51
Dont know anything about this but would this app be of interest for playing around with protected processes?:
http://www.alex-ionescu.com/?p=35
Here's the app that the broken link pointed to... I have no idea if it will help or not...
Skinleech
27th October 2009, 16:07
Interesting.
"the page can not be found"
It works fine for me.
Basically the article notes what has been said above - you can't run traces against proctected processes. However, the author of that page has created a tool to unprotect the protected processes, and specifically mentions audiodg.exe
I'll have a shot of this within the next few hours, using albain's tool and see if anything happens.
swordsman
27th October 2009, 16:17
thanx, will try it
albain
27th October 2009, 18:37
Great, also can you try it on TMT like this :
1/ Launch the tool and launch TMT with it
2/ Unprotect the tmt process
Maybe the process needs to be unprotected before putting the hook in it, I am not sure of that
Skinleech
27th October 2009, 19:24
Great, also can you try it on TMT like this :
1/ Launch the tool and launch TMT with it
2/ Unprotect the tmt process
Maybe the process needs to be unprotected before putting the hook in it, I am not sure of that
I will do, but am currently getting some errors on the unprotecter file. Though I am trying on Win7, and not my HTPC as it's in use just now. Maybe it will work better on the Vista SP1 install.
I will keep working on it.
http://matureasskickers.net/wbb2/thread.php?threadid=11763&threadview=0&hilight=&hilightuser=0&sid=d3f34068f4d7db6f8e0e5ee113ee6661&page=3
You can get it from the 3rd post above.
rica
27th October 2009, 20:36
Still can't open the download link.
Any mirror?
albain
27th October 2009, 21:46
Still can't open the download link.
Any mirror?
Here it is :
http://matureasskickers.net/wbb2/attachment.php?attachmentid=4840&sid=92542fbf64e682a0f99d76016f932c21
Skinleech
27th October 2009, 22:39
It didn't work on my HTPC - the software I mean. I keep getting an error message. It seems if you add a reg key via regedit it works, but the regkey is already there on my system and no joy.
Anyone else with any luck?
rica
27th October 2009, 22:41
Here it is :
http://matureasskickers.net/wbb2/attachment.php?attachmentid=4840&sid=92542fbf64e682a0f99d76016f932c21
Thx albain but i get this message:
Forbidden
You don't have permission to access /wbb2/attachment.php on this server.
Skinleech
27th October 2009, 23:04
Thx albain but i get this message:
Forbidden
You don't have permission to access /wbb2/attachment.php on this server.
PM me your email and I can send it to you or try my link in post 8907, 3rd down.
Albain's link doesn't work for me either.
rica
27th October 2009, 23:32
PM me your email and I can send it to you or try my link in post 8907, 3rd down.
Albain's link doesn't work for me either.
Nor your link works for me in post 8907.
Better to PM you, thanks.
Skinleech
27th October 2009, 23:45
Replied - hope you have better luck than me.
FYI, if you get an error as I have been, this is allegedly the way round it:
[code]I got the same error, until I created [HKLM\SYSTEM\CurrentControlSet\Services\drmkaud] and added a REG_DWORD named “Type”.[code]
BUt I already have that REG_DWORD on both my Win7 pc and my HTPC yet still get the internal error reported.
rica
27th October 2009, 23:52
Gonna give it a go tomorrow.
At least i have a working link now :thanks:
rica
28th October 2009, 00:06
I keep getting an error message.
When i run the program i get no reaction?
What kind of error message you get?
BTW, my OS is Vista 32 Premium SP2.
Edit: It was already there:
http://img5.imageshack.us/img5/7845/regi.th.png (http://img5.imageshack.us/i/regi.png/)
_ _ _ _
whurlston
28th October 2009, 06:20
Replied - hope you have better luck than me.
FYI, if you get an error as I have been, this is allegedly the way round it:
[code]I got the same error, until I created [HKLM\SYSTEM\CurrentControlSet\Services\drmkaud] and added a REG_DWORD named “Type”.[code]
BUt I already have that REG_DWORD on both my Win7 pc and my HTPC yet still get the internal error reported.
If it has a "Type=1", it means that it is a device driver and not a service. Run the following from a command prompt:
DEVMGR_SHOW_NONPRESENT_DEVICES=1
devmgmt.msc
Select "View" -> "Show hidden devices"
It should then show up under "Sound, Video and game controllers" and will be listed as "Microsoft Trusted Audio Drivers".
With my Xonar removed, it has the following error: "Currently, this hardware device is not connected to the computer. (Code 45)". I'm not sure if it was different when the Xonar was installed as I didn't check it then.
Skinleech
28th October 2009, 09:16
When i run the program i get no reaction?
What kind of error message you get?
BTW, my OS is Vista 32 Premium SP2.
Edit: It was already there:
You need to run it from a command prompt, specifiying the PID of the service you want to unprotect.
If it has a "Type=1", it means that it is a device driver and not a service. Run the following from a command prompt:
DEVMGR_SHOW_NONPRESENT_DEVICES=1
devmgmt.msc
Select "View" -> "Show hidden devices"
It should then show up under "Sound, Video and game controllers" and will be listed as "Microsoft Trusted Audio Drivers".
With my Xonar removed, it has the following error: "Currently, this hardware device is not connected to the computer. (Code 45)". I'm not sure if it was different when the Xonar was installed as I didn't check it then.
I will try and get a look at this tonight, just started work...
Sebastiii
28th October 2009, 09:34
Hi,
I have try this :
I launch TMT via hook tools :
I unprotect TMT and also audiodg.exe with command line :
tasklist to find PID and dpinpurr.exe PID with ou without /P
And i launch BD and idem in the log :( of debugview and bitstream.txt.
After that if i close TMT, My computer crash.
I have test 3 times and also crash (3x).
Seb.
Ps : i'm on Win7 32bit.
Skinleech
28th October 2009, 12:49
I unprotect TMT and also audiodg.exe with command line :
tasklist to find PID and dpinpurr.exe PID with ou without /P
What's the exact command line you run to unprotect them?
If I run "dpinpurr 1234" from a command prompt I get an error message each time. I'm using process explorer to get the PIDs of each service.
Sebastiii
28th October 2009, 13:24
Hi, i'm not at home now but from memory :
This exactly that i have when i use :
tasklist or procexp.exe to read PID of program like 2488
In command line with right administrative :
dpinpurr 2488 or dpinpurr 2488 /P i have the same reply :
[C0000156] - STATUS_TOO_MANY_SECRETS:
Process modified successfully!
I hope that i can help you.
Seb.
Ps : On Win7 X64, i have a message error and also drmkaud service that can be start. (i look that in event viewer -> system).
Sebastiii
28th October 2009, 14:45
Hi,
I have not made other test for now, but i think i understand that /P is for protect process.
So i must use the cmd without this :)
Seb.
tetsuo55
28th October 2009, 15:07
Has anyone tried compiling FFdshow with VS2010 Beta 2 yet?
More info here:
http://forum.doom9.org/showthread.php?p=1338820#post1338820
XhmikosR
28th October 2009, 15:09
@tetsuo55: What are the advantages between VS2010 and 2008SP1? Because Microsoft might claim that everything is fine, but this might not be the case.
tetsuo55
28th October 2009, 15:12
@tetsuo55: What are the advantages between VS2010 and 2008SP1? Because Microsoft might claim that everything is fine, but this might not be the case.Well here is what ms says : http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx
Most important from my point of view is the faster compiler, and the more secure and better optimised .exe.
It also has a much better static and dynamic code analyser that even works realtime on the snippet code you select.
EDIT:
Improved multithreading support and C++0x is nice too
XhmikosR
28th October 2009, 15:14
Can 2010 and 2008 coexist in the same machine? Or do I have to remove 2008 completely in order to try 2010?
tetsuo55
28th October 2009, 15:15
I believe they can co-exist
XhmikosR
28th October 2009, 15:18
I'' set up a new virtual machine and try to compile ffdshow with VS 2010 beta2. But it will take a few time until I download Beta2. I'll let you know how it goes.
tetsuo55
28th October 2009, 15:59
I'' set up a new virtual machine and try to compile ffdshow with VS 2010 beta2. But it will take a few time until I download Beta2. I'll let you know how it goes.thanks!
XhmikosR
28th October 2009, 21:22
Tried MSVS 2010 Beta2, but I get too many errors. Here is the build log.
Error 9 error c10100b1: Failed to load file "C:\Users\xmr\Desktop\ffdshow\src\codecs\libmpeg2\ReleaseWin32\libmpeg2_ff.dll". The system cannot find the file specified. mt.exe libmpeg2_ff
Error 39 error C2953: 'std::tr1::remove_const' : class template has already been defined c:\users\xmr\desktop\ffdshow\src\tuple.h 92 1 ffdshow
Error 40 error C2953: 'std::tr1::remove_const' : class template has already been defined c:\users\xmr\desktop\ffdshow\src\tuple.h 93 1 ffdshow
Error 41 error C3855: 'std::tr1::tuple_element': template parameter '_Idx' is incompatible with the declaration c:\users\xmr\desktop\ffdshow\src\tuple.h 286 1 ffdshow
Error 42 error C2976: 'std::tr1::tuple_element' : too few template arguments c:\users\xmr\desktop\ffdshow\src\tuple.h 286 1 ffdshow
Error 43 error C2913: explicit specialization; 'std::tr1::tuple_element' is not a specialization of a class template c:\users\xmr\desktop\ffdshow\src\tuple.h 300 1 ffdshow
Error 44 error C2874: using-declaration causes a multiple declaration of 'std::tr1::reference_wrapper' C:\Program Files\Microsoft Visual Studio 10.0\VC\include\functional 489 1 ffdshow
Error 48 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z) libboost_thread-vc90-mt-s-1_39_52655.lib(thread.obj) ff_vfw
Error 49 error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAE_NI_N@Z) libboost_thread-vc90-mt-s-1_39_52655.lib(thread.obj) ff_vfw
Error 50 error LNK1120: 2 unresolved externals ../bin/ff_vfw.dll ff_vfw
tetsuo55
28th October 2009, 21:45
Tried MSVS 2010 Beta2, but I get too many errors. Here is the build log.
That's the new security code at work.
A lot of those errors are pretty bad.(makes you wonder how that particular function was even working at all)
Those will have to be fixed by correcting the code.
XhmikosR
28th October 2009, 21:48
I don't have any programming knowledge except for DOS:p (if it can be considered a programming language) I don't see any active developer, so this will take some time, unfortunately.
tetsuo55
28th October 2009, 21:51
I don't have any programming knowledge except for DOS:p (if it can be considered a programming language) I don't see any active developer, so this will take some time, unfortunately.i have the same problem :P
This one is especially bad : C2874
It basically means:
int foo
int foo
You cannot int foo twice!
SamuriHL
28th October 2009, 21:52
Yea, those are some pretty brutal errors. That will definitely have to be looked at by someone who knows the code. So nice of VS2010 to point that out for you. :D I remember being able to install VS on my machine. Then, I started using TMT3. :(
XhmikosR
28th October 2009, 21:56
About the first error, it must be something that can be configured, since libmpeg2_ff.dll is in the bin folder. Anyway, I'll keep the virtual machine which has MSVS 2010 Beta2 installed, just in case someone fixes the errors.
Also, the ICL project files should be updated for ICL 11 since ICL 10 cannot be downloaded anymore from Intel's website. So the official Intel C++ Compiler is v11.1.048.
tetsuo55
28th October 2009, 22:02
About the first error, it must be something that can be configured, since libmpeg2_ff.dll is in the bin folder. Anyway, I'll keep the virtual machine which has MSVS 2010 Beta2 installed, just in case someone fixes the errors.
Also, the ICL project files should be updated for ICL 11 since ICL 10 cannot be downloaded anymore from Intel's website. So the official Intel C++ Compiler is v11.1.048.Even if you don't really know how to program, a lot of the warnings and errors can be fixed with some googling.
And i agree about the ICL11 thing, alexins probably already has this and could include it in the svn.
XhmikosR
28th October 2009, 22:08
Project files are automatically upgraded when you open them. But there is a problem (http://forum.doom9.org/showpost.php?p=1322542&postcount=7957) with ICL 11 which I found to be solved by disabling vectorization, i.e. adding Qvec- in the Custom Commandline.
rica
28th October 2009, 23:03
You need to run it from a command prompt, specifiying the PID of the service you want to unprotect.
Sorry, i missed to read some posts above, thanks.
Anyway i got this finally:
C:\dpinpurr>dpinpurr 5512
[C0000156] - STATUS_TOO_MANY_SECRETS:
Process modified successfully.
Any readme file from the author?
Don't understand what modified successfully? (without /P)
From wiki:
In January 2007 the developer Alex Ionescu announced that he had found a method that allows end users to bypass Vista’s Protected Media Path. This would allow digital content to be played on equipment that does not implement DRM restriction measures (like rescaling of video resolutions and disabling analog audio outputs). However, he did not release any sourcecode in fear of a Microsoft lawsuit regarding possible violation of the DMCA.[4] On 6 March 2007, Microsoft responded after internal testing, that the described method would not work.[5]
_ _ _ _
Skinleech
28th October 2009, 23:10
Sorry, i missed to read some posts above, thanks.
Anyway i got this finally:
C:\dpinpurr>dpinpurr 5512
[C0000156] - STATUS_TOO_MANY_SECRETS:
Process modified successfully.
Any readme file from the author?
Don't understand what modified successfully? (without /P)
_ _ _ _
/P protects a process, anything else unprotects.
So, if you run dpinpurr xxxx twice - once where xxxx is the PID for audiodg.exe and again where xxxx is the PID for TMT3 laucnhed via albain's hook launcher, you can truy the bitstream tests again & see if the c:\temp\bitstream.txt file gets any traces - mind and create the folder and file first.
rica
28th October 2009, 23:17
/P protects a process, anything else unprotects.
So, if you run dpinpurr xxxx twice - once where xxxx is the PID for audiodg.exe and again where xxxx is the PID for TMT3 laucnhed via albain's hook launcher, you can truy the bitstream tests again & see if the c:\temp\bitstream.txt file gets any traces - mind and create the folder and file first.
Thx,
Before giving it a go how about your trials?
EDIT: BTW, with or without /P, i wanted to point out that the resulting error message doesn't change: [C0000156] - STATUS_TOO_MANY_SECRETS:
Skinleech
28th October 2009, 23:21
Thx,
Before giving it a go how about your trials?
I've not had time as yet I'm afraid - not to work out why dpinpurr doesn't unprotect for me and gives me an error.
rica
28th October 2009, 23:59
So, if you run dpinpurr xxxx twice - once where xxxx is the PID for audiodg.exe and again where xxxx is the PID for TMT3 laucnhed via albain's hook launcher, you can truy the bitstream tests again & see if the c:\temp\bitstream.txt file gets any traces - mind and create the folder and file first.
Step one:
Getting PID of audiodg.exe via ProcessExplorer and writing this command:
C:\dpinpurr>dpinpurr 1264
[C0000156] - STATUS_TOO_MANY_SECRETS:
Process modified successfully.
Step two:
Trying to get the PID of "uDigital theatre.exe" and this is what i get:
http://img689.imageshack.us/img689/3744/65458062.th.png (http://img689.imageshack.us/i/65458062.png/)
(btw, i was getting the PID of TMT with the same program when it was just one step.)
EDIT:
(btw, i was getting the PID of TMT with the same program when it was just one step.)
Nope, i can't get the PID of TMT now, dunno what happened?
rica
29th October 2009, 00:40
Guys,
i wanna give it a go with albain's hook launcher as well but i can't find it out?
JarrettH
29th October 2009, 02:24
Is there going to be a new beta this year? I'm actually curious what all this development is culminating as
madshi
29th October 2009, 08:15
Can you guys still start a new bitstreaming playback after you unprotected TMT and audiodg?
THX-UltraII
29th October 2009, 08:49
Albain, can you give an update on where you are in the project right now? Are things looking good?
Skinleech
29th October 2009, 10:39
Guys,
i wanna give it a go with albain's hook launcher as well but i can't find it out?
PM albain if you don't have it already, he'll send you the link.
I'll hopefully get time to try this again tonight and see if I can unlock the processes.
With regards to the TMT crash, it could be the same error as Sebastii got, he noted that TMT crashes.
It eitehr doesn't like being unprotected/that audiodg.exe is unprotected, or it could be the Themidia protection perhaps?
albain
29th October 2009, 19:42
Albain, can you give an update on where you are in the project right now? Are things looking good?
Well, rather ask clsid for that, he is the project leader
From my point of view, the current revisions are rather stable, and some features (such as HD bitstream and WMA Pro decoding) are on their way, we just lack of developers.
Any good will is welcome, of course I am willing to take some time to explain things and how it work
rica
29th October 2009, 20:12
Nope, i can't get the PID of TMT now, dunno what happened?
I don't know what happened but i got awared that i can't start TMT by alone as well.
And i reinstalled it.
Today was my free day and i made some trials btw.
I will share my experience with the testers; preparing a small guide for them :)
albain
29th October 2009, 22:15
Hi, I will be out for about a week. I'll come back to HD bitstream after that
I hope that one will able to get those dump traces :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.