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. |
20th January 2010, 06:55 | #10381 | Link |
Registered User
Join Date: Nov 2002
Posts: 131
|
For both of my test samples (see previous posts), overlay and blend worked perfectly with the beta2 build.
CPU usage on the 720p video was 1% with post-processing disabled, 4% with overlay, 6% with blend and 12.5% (1 fully loaded core) with full-postprocessing. For the 720p sample, full post-processing caused color corruption and the FPS dropped down to 18fps. After a few seconds, visual corruption also occurred (image turned blocky and the blocks kinda randomly moved around). For the other sample, full post-processing took 8% of the CPU and ran at full framerate, but still had the same green lines as before. For a 1080p sample, I resized the source of the smaller vid and encoded it to a resolution of 1920x1080 with similar settings as the 720p vid. Playback used 2% CPU. Enabling overlay or blend increased that to 8%. Also of note, the ATI 4670 cannot handle 5 ref frames in DXVA mode with 1080p video. |
20th January 2010, 07:39 | #10382 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
Quote:
Edit: I'll fix that today. Tal Last edited by tal.aloni; 20th January 2010 at 10:27. |
|
20th January 2010, 08:04 | #10383 | Link |
Registered User
Join Date: Nov 2002
Posts: 131
|
When the MPC DXVA filter detects subtitles (or the presence of DirectVobSub, I dunno how it really works) it doesn't load, allowing the subs to be handled by DirectVobSub. I think that the ffdshow DXVA filter should do the same thing if internal subtitle handling is turned off. As it is, there is just a NullTextRenderer inserted into the graph and the subtitles go nowhere :'(
Actually, I can't get ffdshow (direct or not) to load my subtitles embedded in an mkv file, so maybe I'm just doing something wrong here :-D |
20th January 2010, 08:52 | #10384 | Link |
Registered User
Join Date: Jan 2004
Posts: 567
|
Does anybody know where one can quickly get a MKV sample with H.264 4.1 video and subtitles in a format that ffdshow can read (so no PGS please)?
__________________
Bye Last edited by CiNcH; 20th January 2010 at 08:58. |
20th January 2010, 09:51 | #10385 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
HeadlessCow,
I've been meaning to fix that in future betas: currently, the DXVA decoder does not have input pin for subtitles. also, when DXVA is loaded, DirectVobSub cannot operate. (it cannot post-process DXVA, only internal ffdshow filters can) also, thanks for the cpu utilization tests. p.s. I'm debating whether to fix those full-post-processing bugs (the colorspace issue is one of them), or just remove this mode. as albain noted, our performance tests shows that we're only achieving 2% of the theoretical bandwidth, but I can't figure out anything wrong we're doing. Last edited by tal.aloni; 20th January 2010 at 10:20. |
20th January 2010, 14:21 | #10386 | Link |
Registered User
Join Date: Nov 2002
Posts: 131
|
Yeah, I know you can't have DXVA and DirectVobSub, but the way I've been running is to have the MPC-HC DXVA filter set up to use DXVA with fallback to ffmpeg. When a file has no subtitles, it'll decode using DXVA, when there are subs present it uses the ffmpeg decoder and DirectVobSub is able to do its job. It'd be nice if the ffdshow DXVA decoder did the same thing.
|
20th January 2010, 15:26 | #10387 | Link | |
Registered User
Join Date: Jan 2009
Posts: 73
|
Quote:
|
|
20th January 2010, 20:14 | #10390 | Link |
Registered User
Join Date: Apr 2009
Posts: 89
|
I have a problem with some movies when using dxva.some of them are not working with matroska splitter from mpchc website. the movie seems to play but the image is black. Should I post a sample?
And two suggestion. 1. please add support for MPEG2 in dxva. 2. this one is more complicated. don't know if it's possible. What I like about DXVA is that a cheap graphic card can decode the movie without much trouble. For me it;s about power consumption and silence. My card is a radeon 3850 with passive cooling and a 125w athlon x2 proccesor. You realize that using the CPU to watch movies is very loud. Not to mentions that the cpu is most of the time at 100% but the vga card is at 4-6% doing the same thing. So my suggestions is if it is possbile to make subtitles go directly to dxva render (not using overlay). Using no post processing takes 6-10% from cpu, but when using overlay it goes to 30-40%. Hope it is possible and somebody is willing to implement this for people like me. And thank you for your hard work. |
20th January 2010, 21:28 | #10391 | Link | |
Registered User
Join Date: Dec 2008
Posts: 14
|
Quote:
On a Q9300 I get about 20% CPU load with Overlay, 22% with Blend and only about 10% using ffmpeg-mt. |
|
20th January 2010, 21:31 | #10392 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
mark0077,
the doubling frames bug is fixed with rev. 3211, I updated 4 filters: DGBob, KernelBob, Yadif, Framerate Doubler. if there are any other filters that adds frames, let me know. dann23, are you referring to my beta2? please clarify what exactly are you saying / asking. regarding overlay / blend mode in beta 2: I have to confess that there is some room for optimizations: 1. osd / subtitles are rendered 3 times for each frames instead of 1, this is necessary to create opacity map without modifying or rewriting the osd / subtitles filter. 2. Right now the CPU is likely caching all overlay / blend reads and writes, this can be optimized more easily, but I don't have the time right now. keep in mind that those optimizations are not very significant for a modern CPU (1-2%). much more important IMO is to enable the text input pin for the DXVA decoder. Tal Last edited by tal.aloni; 20th January 2010 at 23:30. |
20th January 2010, 22:16 | #10393 | Link | |
Registered User
Join Date: Jan 2007
Posts: 530
|
Quote:
Code:
setmtmode(2) Last=ffdshow_source() setmemorymax(550) setmtmode(2) SeeSaw(sstr=1.45) super = MSuper(pel=2,hpad=4,vpad=4) backward_vec = MAnalyse(super,chroma=false, blksize=16, isb = true, search=5, searchparam=1) forward_vec = MAnalyse(super, chroma=false, blksize=16) MBlockFps(super, backward_vec, forward_vec, num=FramerateNumerator(last)*2, den=FramerateDenominator(last)*1, mode=1) distributor() |
|
20th January 2010, 22:31 | #10394 | Link | |
Registered User
Join Date: Jan 2004
Location: Canada
Posts: 210
|
Quote:
If you are interested in all of the compliant combinations of resolution, ref. frames, b frames and b-pyramids, you can look at this page on AVS Forum: http://www.avsforum.com/avs-vb/showthread.php?t=972503 Cheers, The REAL Joe
__________________
Cheers, The REAL Joe |
|
21st January 2010, 00:31 | #10397 | Link |
Registered User
Join Date: Feb 2005
Posts: 140
|
I've changed the delay reporting API in ffmpeg-mt. Instead of the delay being has_b_frames + thread_count - 1, it's just has_b_frames now, matching mainline ffmpeg. I don't know if overestimated delay will cause a problem for you or not anyway.
|
21st January 2010, 09:30 | #10398 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
regarding VC-1 DXVA:
Quote:
I would still like to implement a better solution, but it would require modifying some of the splitters involved. |
|
21st January 2010, 10:58 | #10399 | Link |
Registered User
Join Date: Jan 2004
Posts: 567
|
Even though nobody here wants to communicate with me I want to point you to where Casimir once implemented Access Unit parsing for H.264 and VC-1 but did not release it, see MPCVideoDecFilter.cpp >= line 1524.
__________________
Bye Last edited by CiNcH; 21st January 2010 at 11:01. |
21st January 2010, 13:55 | #10400 | Link |
Anime Otaku
Join Date: Oct 2002
Location: Somewhere in Cyberspace...
Posts: 437
|
@tal.aloni
rev 3205 broke DVD menu highlighting, latest rev. is still broken in that regard.
__________________
AMD FX8350 on Gigabyte GA-970A-D3 / 8192 MB DDR3-1600 SDRAM / AMD R9 285 with Catalyst 1.5.9.1/ Asus Xonar D2X / Windows 10 pro 64bit |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|