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. |
27th January 2010, 15:15 | #10501 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
Quote:
1. they are using Direct3D, they create a seperate DX surface and let the hardware merge the two surfaces using DX, however, in order to do so, they are using a custom renderer. I believe you can only do it their way if you develop a custom renderer. (or serving a custom allocator presenter to the VMR9 renderer) 2. they get this great performace because they're not filling the entire surface, they're only drawing on a surface big enough to draw the subtitles [I think they are using multiple small surfaces] (you can't do it easily in ffdshow, especially not if the OSD is involved). Last edited by tal.aloni; 27th January 2010 at 15:43. |
|
27th January 2010, 17:09 | #10505 | Link |
Registered User
Join Date: Jan 2004
Posts: 567
|
Beta 3 is great! With beta 2 I experienced a lot of judder with subtitles being used and an increase in CPU usage from < 10% to > 40% on a C2D E6420. With beta 3 now, playback seems perfect with a CPU usage of only < 20%, effectively cutting it in half.
__________________
Bye |
27th January 2010, 17:41 | #10507 | Link |
Registered User
Join Date: Jan 2010
Posts: 47
|
Great work with beta 3!
It's very unstable (can't close the MPCHC without crashing like you said, cant' use Graphedit without crash) but I fixed it just replacing libavcodec.dll with the rv3217 XhmikosR's version. (rv3218 still crash BTW) Overlay mode is very good, good quality and fast! In my AthlonXP2800 now I can watch 720p movies with subtitles with ~50% cpu usage (30% more than without Post processing) and karaoke is very fluid, awesome! Something I've noticed is that in subs with fading (karaoke) the subtitles are somewhat transparent. These should be completely white for example: Text input pin indeed has been enabled and I can use it now in Graphedit but it does detect the embedded sub in some mkv files and in some doesn't. External sub works without problem though. |
27th January 2010, 18:30 | #10508 | Link | ||
Registered User
Join Date: Sep 2008
Posts: 496
|
Quote:
you see, in YV12 / NV12 colorspace, 4 pixels (2x2) share the same color information (chroma), so if I would write the luma everytime I write the chroma, it would effectively limit the resolution by a factor of 1/4. (I've tried that, it looks aweful). I guess I can write the chroma if I'm modifying 4 out of 4 pixels, it's not as fast though. I'm still experimenting. Quote:
but I guess that now that we have DXVA with subs, we will have to improve. |
||
27th January 2010, 18:33 | #10509 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
Guys, The crash starts with 3218!
Edit: it seems pretty obvious why the crash is occuring @ 3218+ (w32thread.c): if avcodec_thread_execute2 is called with count of 1 thread, than no thread would be allocated, and when trying to release with avcodec_thread_free, the crash would occur. Quote:
I talked to the ffmpeg. I'll commit a fix soon. Last edited by tal.aloni; 27th January 2010 at 19:32. |
|
27th January 2010, 18:45 | #10510 | Link | ||
Registered User
Join Date: Nov 2002
Posts: 131
|
Quote:
Quote:
|
||
27th January 2010, 19:17 | #10511 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
Could you post a sample and eventually debugview logs with working + non working samples ? About Media Control, it should work with DXVA filter (the remote/keyboard filter is enabled) |
|
27th January 2010, 19:46 | #10512 | Link |
Registered User
Join Date: Nov 2008
Location: Ukraine
Posts: 34
|
albain
Hello! I'm again about problems with translation: I can't open in translation mode dialogs: And even I manually edit file of localization(add necessary strings), *Add* and *Reset* buttons in both dialogs and also dialog *Use ffdshow only in* is not appeared in GUI: simply, I can't translate this elements... And about section of Subtitles in configuration dialog. I can't translate this dialog: Edit: Also, I can't translate following header(language file contains string "configuration=translation_of_this_header"): Last edited by arestarh; 27th January 2010 at 19:54. |
27th January 2010, 19:47 | #10513 | Link |
Registered User
Join Date: Sep 2008
Posts: 496
|
crashing problem is fixed in rev. 3232
I've talked to ffmpeg devs, they have explained that avcodec_close() calls avcodec_thread_free(), so there's no need to call avcodec_thread_free() for the second time. (that's what caused the crash) |
27th January 2010, 23:28 | #10514 | Link | |
Registered User
Join Date: Sep 2008
Posts: 496
|
DXVA Post Processing - Beta 4
Quote:
however, there are still issues with VC-1, now the osd / subs will be shown only after ~100 frames. I'm not sure why. also: overlay will not be "transparent" anymore, it now also writes chroma when 3 or 4 (out of 4) pixels (luma) are being written. (it should be slightly slower, but not much) build http://iknowu.net/files/public/ffdsh...sing-Beta4.exe patch http://iknowu.net/files/public/ffdsh...ng-Beta4.patch |
|
28th January 2010, 02:45 | #10517 | Link | |
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
the current official beta crashes sometimes at opening...but if I open it again, then it's fine?! it happens very rarely IME anyway, I'd say it works 99.99% of the time...good enough to me considering I use ColorMatrix(SD only)/LSF/GrainF3 on all my videos |
|
28th January 2010, 07:59 | #10518 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
yep tried 3233 and its gone
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 |
28th January 2010, 10:03 | #10519 | Link | ||
Registered User
Join Date: Aug 2008
Posts: 343
|
Quote:
Quote:
Some vc-1 videos get cpu at 100%. And no crashes ofc. |
||
28th January 2010, 19:06 | #10520 | Link |
Registered User
Join Date: Jan 2010
Posts: 47
|
Testing beta4 and it's the best so far: no transparent subs, more stable and fast... great work!
@albain/tal.aloni: After testing lots of mkv files I have discovered in 80% of my collection embedded subs are not detected. So the problem maybe is not in ffdshow but in splitter (I'm using last haali) or something in the graph connection. Ffdshow software decoder detects the embedded sub without problem. I noticed this: When subs are not shown I only have to delete de subtitle->In Text connection in GraphStudio and reconnect it again, and then the subs are shown without problem. I have tried with all the problematic video files and now all the embedded subtitles are detected using the 'trick' above. That's using GraphStudio/Graphedit, in MPC-HC embedded subs are not detected though. These are the Debugview logs while using GraphStudio (playing the same video file): LOG WHEN SUBS ARE NOT SHOWN LOG WHEN SUBS ARE SHOWN (trick) Last edited by onomatopellan; 28th January 2010 at 19:14. |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|