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. |
23rd March 2007, 05:18 | #801 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
I swear this thread generates more side threads than anything else in the forum. New hardware discussion.
KZ, so there actually is a DXVA colorprimary flag? Is it part of VideoInfoHeader2? Both RFEs have been filed: Use stream information with: ffdshow conversion to RGB and passing YUV along to video card. Last edited by foxyshadis; 23rd March 2007 at 06:24. |
23rd March 2007, 13:32 | #803 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
"make 64BIT=yes" should select the appropriate blocks of assembly code. Note that I haven't been able to test it, but unless I forgot something or screwed up somewhere it should work.
The makefile should also be modified with different GCC parameters to set the correct target architecture. That hasn't been done yet.
__________________
MPC-HC 2.2.1 |
23rd March 2007, 13:44 | #804 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
Could you upload the sample? What is the OS and version of the directShow? What is the video card? Last edited by haruhiko_yamagata; 23rd March 2007 at 14:13. |
|
23rd March 2007, 14:51 | #806 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
I don't think onFlush is necessary as long as DVD can be handled properly. Last edited by haruhiko_yamagata; 23rd March 2007 at 14:57. |
|
23rd March 2007, 15:15 | #807 | Link |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
So by "handled properly" you mean onSeek being fired on the next incoming sample when the pin gets a BeginFlush? At least that would be my idea of working around this.
__________________
now playing: [artist] - [track] ([album]) |
23rd March 2007, 15:41 | #808 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
We have to study the code of MPC or DScaler. I'm not willing to implement full DVD decoding feature. |
|
23rd March 2007, 15:48 | #809 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Sorry for the compilation errors : I messed up with the merge (modifications have been made on the files I have been working on, and the merge tool made some weird things...)
It is repaired now : revision 1064 Just one precision : those modifications imply that you have the last version of Windows SDK : v6.0, that includes headers for Vista. Maybe it will still compile with older SDKs though... |
23rd March 2007, 16:31 | #810 | Link |
Curious BetaTester
Join Date: Oct 2005
Posts: 430
|
with rev1064
the baseclasses are un-compilable with gcc tried updating to vista's sdk and converting the libs ... to many errors like d:/msys/1.0/dx/Include/objbase.h:1003: error: '__in' was not declared in this scope d:/msys/1.0/dx/Include/objbase.h:1004: error: '__in' was not declared in this scope d:/msys/1.0/dx/Include/objbase.h:1005: error: '__in' was not declared in this scope d:/msys/1.0/dx/Include/objbase.h:1006: error: '__deref_out' was not declared in this scope d:/msys/1.0/dx/Include/objbase.h:1006: error: initializer expression list treated as compound expression its beyond me, any clues anyone?
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT Tools: ProcessExplorer & ProcessMonitor - BatchCompressor Guide: MinGW Compiling GCC |
23rd March 2007, 16:36 | #811 | Link | |
Registered User
Join Date: Dec 2005
Posts: 26
|
[QUOTE=foxyshadis;974086]
obviously yes. Quote:
1) ffdshow always use Rec601 when does SW RGB conversion. 2) more important than DXVA_VideoPrimaries (which set color of RGB values) is DXVA_VideoTransferMatrix (which set which matrix should be used for YV12-->RGB conversion) Both these values should be set. |
|
23rd March 2007, 16:43 | #812 | Link |
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
@Devs: Can I suggest a separate branch for a Vista so as not to break compilation, so to speak? Vista's screwy already without helping to break other operating systems.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
23rd March 2007, 17:09 | #813 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
I am using the base classes from ffdshow with the last windows sdk and I didn't have this problem (using MSVC) I didn't try with gcc : gcc does not work in Vista for now Concerning the idea of opening a separate branch for Vista, I hope that this could be avoided, because it will split the work of developers. Things can be done to avoid compilation problems, by using preprocessor macros basing on the OS version. However the last SDK (the one for Vista) should be working under XP Last edited by albain; 23rd March 2007 at 17:11. |
|
23rd March 2007, 19:13 | #814 | Link |
Curious BetaTester
Join Date: Oct 2005
Posts: 430
|
@albain
i don't use MSVC or vista, before i tried updating the mingw headers & libs it did'nt work either as mingw as its own win32 headers it clashes/or is incompatible with new the windows sdk v6 - mingw headers might get updated later not sure what to do now - as it a bit over my head is it possible to alter your edits to keep gcc compatiblity? or maybe edit it to work with latest dx sdk(feb 2007) but not platform sdk as its that whats breaking gcc - the latest dx sdk is ok with gcc as i used it rev1058 no problem cheers
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT Tools: ProcessExplorer & ProcessMonitor - BatchCompressor Guide: MinGW Compiling GCC |
23rd March 2007, 19:32 | #815 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
OK I will try to think about a workaround : maybe by copying the needed content of those headers into a dedicated ffdshow header file.
Maybe your solution is to put your mingw headers directories before windows sdk ones. Before doing anything, could you try this : copy functiondiscoverykeys.h and Mmdeviceapi.h to your mingw include directory and remove any references to Windows SDK and compile ffdshow ? If it does not work, my bet is to extract the used interfaces in my modifications Last edited by albain; 23rd March 2007 at 19:37. |
23rd March 2007, 19:46 | #816 | Link | |
Curious BetaTester
Join Date: Oct 2005
Posts: 430
|
just tried include them 2 headers but it errors with
Quote:
cheers
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT Tools: ProcessExplorer & ProcessMonitor - BatchCompressor Guide: MinGW Compiling GCC |
|
23rd March 2007, 19:58 | #818 | Link |
Curious BetaTester
Join Date: Oct 2005
Posts: 430
|
would there be copyright issues distributing ms headers - if remember milan_cutka told me something about it on sourceforge somewhere
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT Tools: ProcessExplorer & ProcessMonitor - BatchCompressor Guide: MinGW Compiling GCC |
23rd March 2007, 20:12 | #819 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
The baseclasses in ffdshow are also Microsoft code. So it shouldn't be a problem.
Albain, please create the custom header. Then I could postpone my hardware upgrade a little while till after the Intel price drops
__________________
MPC-HC 2.2.1 |
23rd March 2007, 20:39 | #820 | Link | |
Curious BetaTester
Join Date: Oct 2005
Posts: 430
|
i think i got the baseclasses compiled by compiling it on its own but when try build the rest
i get this error Quote:
__________________
Asrock N68-S AMD Athlon(tm) II X4 620 Processor (2.6GHz) - Crucial 2GB PC6400 800MHz DDR2 - Nvidia 9600GT Tools: ProcessExplorer & ProcessMonitor - BatchCompressor Guide: MinGW Compiling GCC Last edited by cc979; 23rd March 2007 at 20:43. |
|
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|