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. |
10th May 2011, 23:11 | #13521 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
There is no setting in the GUI for that. The default value is 0, so I am curious why it was at 1 for you.
__________________
MPC-HC 2.2.1 |
10th May 2011, 23:47 | #13522 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
Some info about the purpose of the option:
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
__________________
MPC-HC 2.2.1 |
11th May 2011, 10:48 | #13523 | Link | |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
Quote:
I've turned it off now but the question why it causes such behavior in MPC-HC remains. Is this MPC's fault ... or is it a fault at all? Sadly I don't understand that much about DirectShow, but what's the purpose of this setting in ffdshow itself? is it ffdshow that's connecting to remote graphs or it's the other way around?
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
|
11th May 2011, 12:46 | #13524 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
It is for other apps to connect to a graph in which ffdshow is present. For example the "connect to remote graph" function in GraphEdit. Or apps that make use of the RemoteAPI for controlling ffdshow settings.
__________________
MPC-HC 2.2.1 |
11th May 2011, 15:49 | #13525 | Link | |
Registered User
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
|
@clsid: ffdshow is crashing for me after r3842 (probably r3844 is the rev which the crash started) with this 10bit h264 video using ffmpeg-mt. r3847 still crashes.
BTW, I'm getting the following warnings when compiling ffmpeg-mt which I guess it's cause by #define HAVE_PTHREADS 1 in ffmpeg-mt's config.h. Quote:
EDIT: r3848 still crashes with the above 10bit h264 video. Last edited by XhmikosR; 11th May 2011 at 16:14. |
|
11th May 2011, 17:52 | #13526 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
To fix it support needs to be added to ffdshow for handling the newlly added PIX_FMT_YUV420P9 and PIX_FMT_YUV420P10 colorspaces.
__________________
MPC-HC 2.2.1 |
11th May 2011, 17:58 | #13527 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
swscale supports them as input formats , so you can convert them to any of the supported output formats using that pretty easily (even with dithering for the 10->8 conversion). Of course it would be preferable to output the actual 10bit data, if the renderer supports it, but thats alot more work, as these special 10bit DirectShow formats are not supported by swscale. (and only madVR supports them for rendering, anyhow)
PS: I don't follow libav development, as i use ffmpeg - so i cannot comment if the swscale support arrived in libav as well.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 11th May 2011 at 18:01. |
11th May 2011, 19:14 | #13528 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
I have added a workaround to get the old behavior. That fixes the crash until the proper colorspace conversion is added.
swscale is already up-to-date, so it is just a matter of updating ffdshow.
__________________
MPC-HC 2.2.1 |
11th May 2011, 20:16 | #13529 | Link |
Registered User
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
|
It seems to work like before in r3850, i.e. no crashes with 10bit videos.
Now about the ICL12 builds crash, I though I'd remove any workarounds in "libavcodec\golomb.h". And what do you know? It doesn't crash anymore. I haven't tried any debug builds though. So clsid, since MSVC2010 and ICL12 work fine for me and you are the only one know who's using ICL10 and MSVC2008, can you confirm that this patch doesn't cause any crashes for you? Test builds here for anyone who had crashes with h264 videos and ICL12. Also, how about the ffmpeg-mt pthreads warnings I told you in my post above? |
11th May 2011, 21:11 | #13530 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
I was about to post a bug that I had a file with h264 that crashed under x64 but was ok under x86, XhmikosR's golomb fix has fixed this now
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
11th May 2011, 23:23 | #13531 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
This file posted by VipZ crashes with MSVC2008 x64 build with that change:
http://www.mediafire.com/?krlxvlj8sb67n90 Do you have more files that I should test? The weird thing is about this whole issue is that the workaround is for compilers that somehow fail to expand the macro properly. It should not have a negative effect on compilers that do process the macro properly, since the manually expanded code should be equivalent.
__________________
MPC-HC 2.2.1 |
11th May 2011, 23:53 | #13532 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Clsid, here is the sample I was going to post about the crash issue, http://www.mediafire.com/?aajakpfoe8utg24
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
12th May 2011, 00:21 | #13533 | Link | ||
Registered User
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
|
Quote:
But with that sample the ICL12 build indeed crashes, even with that pacth. The MSVC2010 build with my patch doesn't crash. The MSVC2010 build without my patch doesn't crash either. I cannot try the x64 builds since I'm on 32bit Windows. BTW, that sample doesn't play smoothly for me anyway. Quote:
Last edited by XhmikosR; 12th May 2011 at 00:26. |
||
12th May 2011, 00:33 | #13534 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
x86 builds work fine. It is only the MSVC x64 builds that are having problems.
__________________
MPC-HC 2.2.1 |
12th May 2011, 00:34 | #13536 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
As far as I discovered about this issue ICL12 and MSVC2010 x64 behave the same way, while MSVC2010 x86 seems to never have an issue.
I tested a MSVC2008 x64 build (ffdshow_rev3844_20110510_clsid_x64.exe) which crashes as well. With this test patch it would seem to fix 3 builds, but break 1.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) Last edited by VipZ; 12th May 2011 at 00:39. |
12th May 2011, 00:59 | #13538 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
The problem is with the files. I got three test files, MKV/MP4/FLV. Either the FLV crashes and the other two work, or vice versa.
What bothers me is that the code is essentially the same, so I don't understand why the results are different.
__________________
MPC-HC 2.2.1 Last edited by clsid; 12th May 2011 at 01:01. |
12th May 2011, 01:05 | #13540 | Link | |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Quote:
IMO the patch is good.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) Last edited by VipZ; 12th May 2011 at 01:07. |
|
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
|
|