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 > Video Encoding > New and alternative video codecs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th December 2009, 21:28   #9961  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
I think clsid wants this separate filter because if not he'll get loads of complaints in this and other forums where he's helping joe's out. I can understand his positon but this is just stupid: you already have what you want, and it's included in the MPC standalone filters. What's the logic behing making another MPC Video Decoder with just DXVA and "with a couple of checkboxes and value fields"? Because I can't find any. You can just add these to the MPC Video Decoder dialog box (something a lot of people including me have been suggesting for a long time with no response from the devs), it'll be MUCH simpler and would do everything you want.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.

Last edited by STaRGaZeR; 28th December 2009 at 21:31.
STaRGaZeR is offline   Reply With Quote
Old 28th December 2009, 21:38   #9962  |  Link
khagaroth
Registered User
 
khagaroth's Avatar
 
Join Date: Feb 2006
Posts: 103
A fix for the installer, as it now displays garbage instead of all the custom messages after you switched to (Unicode) Inno 5.3.x - sourceforge tracker
khagaroth is offline   Reply With Quote
Old 28th December 2009, 22:12   #9963  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by STaRGaZeR View Post
I think clsid wants this separate filter because if not he'll get loads of complaints in this and other forums where he's helping joe's out. I can understand his positon but this is just stupid: you already have what you want, and it's included in the MPC standalone filters. What's the logic behing making another MPC Video Decoder with just DXVA and "with a couple of checkboxes and value fields"? Because I can't find any. You can just add these to the MPC Video Decoder dialog box (something a lot of people including me have been suggesting for a long time with no response from the devs), it'll be MUCH simpler and would do everything you want.
The basic idea here is to make ffdshow feature complete as a codec, and then use it instead of the mpc video decoder, that way we only have to maintain one codec-tree instead of 2
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 28th December 2009, 22:18   #9964  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Quote:
Originally Posted by STaRGaZeR View Post
I think clsid wants this separate filter because if not he'll get loads of complaints in this and other forums where he's helping joe's out. I can understand his positon but this is just stupid: you already have what you want, and it's included in the MPC standalone filters. What's the logic behing making another MPC Video Decoder with just DXVA and "with a couple of checkboxes and value fields"? Because I can't find any. You can just add these to the MPC Video Decoder dialog box (something a lot of people including me have been suggesting for a long time with no response from the devs), it'll be MUCH simpler and would do everything you want.
We are not talking about the interest of bringing DXVA support to ffdshow versus MPC standalone filters but rather implement it inside a separate filter or not.
I understand clsid's position and I will follow his request at the end of the discussion which is not closed in my opinion

About MPC standalone filters, few people use them in standalone release.
Lastly, this support is also a benefit for MPC team but I will let them give more details about it

EDIT : okay, parallel posting
albain is offline   Reply With Quote
Old 28th December 2009, 22:48   #9965  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by albain View Post
EDIT : okay, parallel posting
Sometimes it is needed even posted involuntary or accidentally

Last edited by rica; 28th December 2009 at 22:51.
rica is offline   Reply With Quote
Old 28th December 2009, 23:14   #9966  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by albain View Post
We are not talking about the interest of bringing DXVA support to ffdshow versus MPC standalone filters but rather implement it inside a separate filter or not.
I understand clsid's position and I will follow his request at the end of the discussion which is not closed in my opinion

About MPC standalone filters, few people use them in standalone release.
Lastly, this support is also a benefit for MPC team but I will let them give more details about it

EDIT : okay, parallel posting
Neither am I, I want DXVA in ffdshow. Inside ffdshow. I'm just saying what's the logic behind a separate filter, since we already have a separate DXVA filter that does the same thing you want accomplish. Or am I missing something?
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 28th December 2009, 23:26   #9967  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by STaRGaZeR View Post
Or am I missing something?
DXVA is the only "unique" thing in MPC-HC codecs set. Everything else is the same as in ffdshow (however some ffdshow filters is faster for me). As I understand from what tetsuo55 said, they will port DXVA to FFDShow and then drop support for all MPC-HC's filters.

EDIT: By the way, what about splitters? Maybe they will be fine in ffdshow as separate filter set (or how should I call this...)? Then it will be truly complete ^_^

Last edited by Keiyakusha; 28th December 2009 at 23:36.
Keiyakusha is offline   Reply With Quote
Old 29th December 2009, 00:02   #9968  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Even when the DXVA filter is separated from the ffdshow filter, it should still be possible to re-use code from ffdshow, since most functionality is divided in their own source files. For example font rendering and subtitle stuff. Just the GUI needs to be redone. But considering that most GUI elements in ffdshow do not apply to DXVA, that will result in a small and simple GUI for the DXVA filter. Plus we don't need to disable stuff in the GUI when DXVA is active. For example, suppose the DXVA decoder will eventually be compatible with subtitles, then we can't just blindly re-use all the current subtitle options available in ffdshow. Things like letterboxing are obviously not possible with DXVA.

@STaRGaZeR
Making the filter separate will not in any way reduce functionality. I do not understand why people always insist on getting things integrated when it holds no benefits at all. The ffdshow filter suite will replace the (internal) decoders of MPC. Then the MPC devs can focus on the core of the player, like making it more stable and secure.

@dann23
Many here on this forum even do not fully understand the limitations that DXVA has or what all the options in ffdshow do. I have years of experience helping people with video playback, so I have a very good understanding of what is best for the people that use ffdshow.
__________________
MPC-HC 2.2.1

Last edited by clsid; 29th December 2009 at 00:05.
clsid is offline   Reply With Quote
Old 29th December 2009, 00:12   #9969  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
No, FFDShow is not (and will never be) a splitter

It has been a long time one said that ffdshow is too messy and should be splitted up into smaller parts.

Also another thing that should be done is direct media foundation support, but another layer to the code.

About different filters, one should also ask the question about the future : which DXVA filters could be added apart subtitles.
If may be smart to have only the list of available internal filters wether you are in DXVA or not.

For me this is more work to do so I am gonna think about the right implementation to do if we decide to go on that way

EDIT : parallel posting again
albain is offline   Reply With Quote
Old 29th December 2009, 00:56   #9970  |  Link
STaRGaZeR
4:2:0 hater
 
Join Date: Apr 2008
Posts: 1,302
Quote:
Originally Posted by clsid View Post
@STaRGaZeR
Making the filter separate will not in any way reduce functionality. I do not understand why people always insist on getting things integrated when it holds no benefits at all. The ffdshow filter suite will replace the (internal) decoders of MPC. Then the MPC devs can focus on the core of the player, like making it more stable and secure.
So THAT's your final intention, replace MPC's internal decoders with ffdshow. You didn't say this in any of your previous post (or did I miss it?). Now everything is clear. I fully support this movement, I've always wondered why, being the same thing and ffdshow having a lot more options, they were separated.
__________________
Specs, GTX970 - PLS 1440p@96Hz
Quote:
Originally Posted by Manao View Post
That way, you have xxxx[p|i]yyy, where xxxx is the vertical resolution, yyy is the temporal resolution, and 'i' says the image has been irremediably destroyed.
STaRGaZeR is offline   Reply With Quote
Old 29th December 2009, 08:10   #9971  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by albain View Post
No, FFDShow is not (and will never be) a splitter
Indeed.

Quote:
Originally Posted by albain View Post
It has been a long time one said that ffdshow is too messy and should be splitted up into smaller parts.
i have not looked at the code myself, but its probably just as bad as mpc-hc

Quote:
Originally Posted by albain View Post
Also another thing that should be done is direct media foundation support, but another layer to the code.
I agree, adding this shouldnt be too difficult if you turn ffdshow into a mediafoundation codec with directshow fallback (each codec registering 2 filters)

Quote:
Originally Posted by albain View Post
About different filters, one should also ask the question about the future : which DXVA filters could be added apart subtitles.
If may be smart to have only the list of available internal filters wether you are in DXVA or not.
Filters that will surely work with DXVA are: OSD, Subtitles and bitmap overlay.
If you update the dxva decoder to a DXVA2 implementation (casimir has a POC for this), all filters would work, but it would completely stop working on xp.

Quote:
Originally Posted by albain View Post
For me this is more work to do so I am gonna think about the right implementation to do if we decide to go on that way
cannot wait to hear what you come up with
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 29th December 2009, 10:20   #9972  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
I think that splitting ffdshow's video, audio, processing and subtitles, DXVA support in standalone filters is a good solution.
Quote:
If you update the dxva decoder to a DXVA2 implementation (casimir has a POC for this), all filters would work, but it would completely stop working on xp.
Supporting Win7 is more important than XP.
_xxl is offline   Reply With Quote
Old 29th December 2009, 14:36   #9973  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
Windows XP still has a 50%+ market share. But compared to Vista/7 it will more often be running on systems without DXVA support. So one day we could decide to drop DXVA support for XP. But I don't think now is the right time yet. We must also consider the fact that XP users are more likely to depend on DXVA from a performance perspective. For example many netbooks use XP.

It would be cool if we could transform the filters in ffdshow into a plugin based system. But I am not sure how difficult that will be considering that it is not unlikely that there are many nasty workarounds and hacks in the current filter chain.
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 29th December 2009, 19:33   #9974  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
VLC 1.1 supports hardware decoding using DXVA2.
moreover it uses directly the hardware decoding architecture of ffmpeg (which supports VDPAU/VA-API on linux and DXVA2 with this patch). it would be good to use it to avoid hacking of ffmpeg like in the MPC decoder.

I think it would be OK to just support DXVA2 with ffdshow, since people using XP could still use the "legacy" MPC DXVA standalone decoder.

here is the source code for the VLC decoder :
http://git.videolan.org/?p=vlc.git;a...vcodec/dxva2.c
MatMaul is offline   Reply With Quote
Old 29th December 2009, 19:49   #9975  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
How about adding to video profiles the choice of which h264 renderer & VC1 renderer to use. DXVA2 can be shown as unavailable on XP. VC1 can include the option to use MS. Also it would contain a list of compatible filter types, e.g. subtitles, all, overlay_only, etc.
73ChargerFan is offline   Reply With Quote
Old 29th December 2009, 19:49   #9976  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by MatMaul View Post
VLC 1.1 supports hardware decoding using DXVA2.
moreover it uses directly the hardware decoding architecture of ffmpeg (which supports VDPAU/VA-API on linux and DXVA2 with this patch). it would be good to use it to avoid hacking of ffmpeg like in the MPC decoder.

I think it would be OK to just support DXVA2 with ffdshow, since people using XP could still use the "legacy" MPC DXVA standalone decoder.

here is the source code for the VLC decoder :
http://git.videolan.org/?p=vlc.git;a...vcodec/dxva2.c
Woah, i was not expecting that to happen so quickly, that code was only finished a few weeks ago
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline   Reply With Quote
Old 29th December 2009, 20:36   #9977  |  Link
albain
Media Control author
 
Join Date: Dec 2006
Location: Paris
Posts: 1,014
Very interesting indeed, this could autosolve my green picture issue by the way

However, is this DXVA2 support only (vista/7) ?

We have to think about it : I'd rather take the ffmpeg over the MPC patching solution but we may have to drop DXVA1 support

@clsid : do you think you could update libavcodec with those latest APIs ?

Last edited by albain; 29th December 2009 at 20:39.
albain is offline   Reply With Quote
Old 29th December 2009, 20:50   #9978  |  Link
dann23
Registered User
 
Join Date: Apr 2009
Posts: 89
Quote:
Originally Posted by albain View Post

However, is this DXVA2 support only (vista/7) ?
http://msdn.microsoft.com/en-us/libr...41(VS.85).aspx
dann23 is offline   Reply With Quote
Old 29th December 2009, 20:50   #9979  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
Quote:
Originally Posted by albain View Post
Very interesting indeed, this could autosolve my green picture issue by the way

However, is this DXVA2 support only (vista/7) ?
Yes, and I think the main reason is that DXVA2 seems to support the retrieving of picture from GPU memory to the main memory (so no need for a specific renderer) which is needed to work with VLC because it doesn't support any standard directshow renderer.

Last edited by MatMaul; 29th December 2009 at 20:52.
MatMaul is offline   Reply With Quote
Old 29th December 2009, 21:05   #9980  |  Link
MatMaul
Registered User
 
Join Date: Apr 2004
Posts: 402
I should add that I think there are some hacks needed because of bad DXVA drivers (*cough* ATI *cough*) that doesn't seem implemented in the current VLC. I am thinking of the raster vs zigag order which is triggered with files using custom matrices.
It also seems that people who write this ffmpeg patch are clever because they add a variable "workaround" (currently unused) in the context for this kind of hacks
I will send a report to vlc-devel to let them know of this awful implementation bug ^^

Last edited by MatMaul; 29th December 2009 at 21:17.
MatMaul is offline   Reply With Quote
Reply

Tags
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl


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 16:55.


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