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. |
13th March 2011, 11:43 | #13224 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
theoretically yes, however, you have to add support for it for both the muxer (mkvtoolnix for example), and the demuxer (haali media splitter for example), and making ffdshow accept a preset in such a way sounds troublesome.
what's worse, it will benefit only a handful of users, I honestly don't see any reason to dedicate resources to such feature. |
13th March 2011, 11:47 | #13225 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
FWIW, with NVidia you can do this: (1) DxvaNv12Surface.LockRect(READ_ONLY); I've measured up to 500fps with newer GPUs. With ATI you can do this: (1) StretchRect(DxvaNv12Surface, RgbRenderTargetTexture)); (2) GetRenderTargetData(RgbRenderTargetTexture) That's quick enough for real time playback. Do not try to do "DxvaNv12Surface.LockRect(READ_ONLY)", you'll not get more than 5fps even with the latest ATI GPUs. One problem with the suggested ATI solution is that you'll get the video data stretched without dithering (0 = black; 255 = white). So there may be banding artifacts. Also you probably can't influence which transfer matrix is used for the YCbCr -> RGB conversion. You can work around the banding problem by StretchRect-ing to a 10bit or 16bit RGB texture. Then you can stretch that back and dither it down to 8bit manually via CPU. Of course that costs performance (download + CPU). |
13th March 2011, 12:32 | #13226 | Link | |
Registered User
Join Date: Apr 2009
Posts: 89
|
Quote:
|
|
13th March 2011, 14:35 | #13227 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
Quote:
it would be better to limit the scan range somehow (MPC-HC does a similar thing with their subtitle rendering), or write a new subtitle filter that is "write only" and can work directly on DXVA decoded surface. both would improve performance somewhat (not sure how much), but any of them would require a lot of coding. is it so bad when subtitles are on? which CPU? Regards, Tal |
|
13th March 2011, 14:49 | #13228 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
'test' is not recognized as an internal or external command
regarding my build issues, apparently test.exe is part of msys,
and can be found in XhmikosR's MSYS/MinGW package here: http://xhmikosr.1f0.de/index.php?folder=dG9vbHM= (thanks XhmikosR!) however, I believe we should avoid another dependency, and I hope we can make do without test.exe. Last edited by tal.aloni; 13th March 2011 at 14:58. |
13th March 2011, 16:30 | #13229 | Link |
Registered User
Join Date: May 2008
Posts: 1,618
|
Quick note for anybody upgrading to recent builds of ffdshow-tryouts, Haali splitter, and MPC-HC as I did: the culprit in lack of audio or stuttery decoding for MKV files with DTS audio, noticeably using ffdshow's libdts or libavcodec but not the MPC internal DTS decoder, is the 03/03/2011 version of Haali's splitter. Switching to the internal MKV splitter (and thus probably Gabest's external MKV splitter too) provides trouble-free decoding with both ffdshow decoders. It's a shame Haali has a track record of issuing updates that break various important functions of his splitter, but I hope this information will pre-empt some incorrect bug reports directed to ffdshow.
Edit: The above report is not particularly helpful as I was later able to play the previously problematic files even using the latest rev. of Haali's splitter without issue. Please see my immediate next post in this thread. Last edited by Inspector.Gadget; 13th March 2011 at 23:39. |
13th March 2011, 18:35 | #13230 | Link | |
Registered User
Join Date: Apr 2009
Posts: 89
|
Quote:
But what I tried to achieve is to watch movies using dxva and the cpu to stay at the lowest power state. At this state the cooler stops and it's complete silence The video card has a passive cooler so the main problem is the CPU Right now it's almost perfect. The cooler starts from time to time and it's annoying. |
|
13th March 2011, 20:19 | #13231 | Link | |
*****
Join Date: Feb 2005
Posts: 5,642
|
Quote:
__________________
MPC-HC 2.1.7.2 |
|
13th March 2011, 20:48 | #13233 | Link | |
Registered User
Join Date: May 2008
Posts: 1,618
|
Quote:
Edit: Dear all, please disregard the above as well as my prior report of behavior with DTS. Some hours later I re-opened the previously problematic files using all the same software (ffdshow 3721, MPC-HC 1.5.1.2903, latest Haali's) and didn't run into any problems. Nothing changed on my system in the interim. As I wasn't doing anything I/O or CPU intensive at the time I noticed the issues I can only hope this was a one-off problem. If it recurs in a reproduceable way, I will report it. My apologies for the false alarm. Last edited by Inspector.Gadget; 13th March 2011 at 23:38. |
|
14th March 2011, 10:59 | #13234 | Link | |
Registered User
Join Date: Nov 2006
Posts: 799
|
ffmpeg --> libav
Just a heads up: ffmpeg changed its name to libav.
Here's the "press release": Quote:
Last edited by fastplayer; 14th March 2011 at 15:46. Reason: Looks more like ffmpeg vs. libav instead of ffmpeg --> libav... :p |
|
14th March 2011, 15:14 | #13235 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
|
Actually, ffmpeg did not change its name. Some of the developers tried to take over ffmpeg, but got pushed back after a few weeks, so now they jump ship and start over with a new name (like they should've done from the start if they're unhappy and cannot reach consensus)
ffmpeg.org is still online, and will remain so. I wouldn't put much into anything thats going on right now, just wait till it cools down again.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
14th March 2011, 15:24 | #13236 | Link |
Registered User
Join Date: Nov 2006
Posts: 799
|
The "press release" reads like they're abandoning/replacing ffmpeg.org, at least to me...
Anyway, thanks for the info, nevcairiel! I usually only follow the commit log and not their discussions. Edit: Looks like we've switched sides! Last edited by fastplayer; 14th March 2011 at 15:52. |
14th March 2011, 21:31 | #13239 | Link | |
Registered User
Join Date: Feb 2004
Posts: 399
|
Quote:
__________________
XP SP3 / Geforce 8500 / Zoom Player |
|
14th March 2011, 22:12 | #13240 | Link |
*****
Join Date: Feb 2005
Posts: 5,642
|
There is nobody you can contact. Best you can do is open a bug report on the bug tracker. Then hope and wait until a volunteer comes to fix it.
__________________
MPC-HC 2.1.7.2 |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|