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. |
3rd March 2010, 21:08 | #10982 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Finally I have managed to import the new libswscale with mutlithreading patch and did the updates on all the ffdshow filters (resize, sharp, subtitles, colorspace converter...)
I am testing it right now but it seems (surprisely) to be going well. Maybe it will fix the crashes with bluray subs |
4th March 2010, 01:45 | #10984 | Link |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Indeed!
Guys, is there any way of speeding up ICL10 compiling? It's only using 1 core here and takes forever to build. Last edited by STaRGaZeR; 4th March 2010 at 02:40. |
5th March 2010, 04:53 | #10985 | Link |
Registered User
Join Date: Aug 2004
Location: Canada
Posts: 860
|
What should I do to confirm dxva is working in ffdshow? I've ticked off h264 in the dxva dialogue so far and am using ffmpeg-mt for the h264 decoder. Does a new tray icon for dxva video appear? Does it only work with EVR?
Running Windows 7, 7600 GT, ffdshow rev 3305, 196.21 drivers Last edited by JarrettH; 5th March 2010 at 05:05. |
5th March 2010, 08:01 | #10986 | Link | |
Registered User
Join Date: Nov 2008
Posts: 454
|
Quote:
No problem in 3304 any longer
__________________
Working machine: Win10x64 + Intel Skull Canyon My HTPC. How to start with Bitcoin |
|
5th March 2010, 09:45 | #10987 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Hi,
here is a test build with new libswscale and libpostproc libraries. There are many tests to do to : Image filters updated : - Blur - Deinterlace (using ffmpeg) - Postprocessing - Luma - Resize - Sharpen - Warsharp - Subtitles With different colorspaces Bluray and DVD subtitles to be tested too Some MMX2 instructions and general optimizations have been added since the versions we kept, also we still have the multithreading patch from Haruhiko. Libmplayer is not used anymore and its interest becomes rather limited : audio channels reordering and yadif deinterlacer Both could be imported into FFDShow Here is the link Source patch (many files!) |
5th March 2010, 11:04 | #10988 | Link | |
Registered User
Join Date: Apr 2008
Posts: 546
|
Quote:
I don't understand why. Maybe I don't select good options. I have turn off auto load subtitle in mpc-hc and I have selected bluray subs in ffdshow. And when movie start I select subtitles in mpc-hc (navigate, subtitle langage and then select the subs) Could you explain me how use blu ray subs from ffdshow? Last edited by ikarad; 5th March 2010 at 11:33. |
|
5th March 2010, 12:05 | #10989 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
I have reproduced the crash with bluray subs |
|
5th March 2010, 14:42 | #10992 | Link | |
Registered User
Join Date: Mar 2007
Location: Hellas (Greece)
Posts: 543
|
Quote:
http://pastie.org/private/c21r1tymvvdfmmsmdfceg |
|
5th March 2010, 14:51 | #10993 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
This is a stupid mistake : at the beginning I was using ffmpeg as the PGS parser but it is far from working so I made one from exisiting MPC's parser but I forgot to remove some code.
This problem occurred randomly (variable unitialized) which explained why it wasn't easily reproductible Anyway, fixed in revision 3306. Here is a test build with the ffmpeg new libraries inside Also I have to fix the problem with the edges @XhmikosR I know, I am working on it, the problem comes from ffdshow, not ffmpeg which was the tough part It is just a matter of types. @clsid, Tal & specialists Does someone know why we use stride_t type which maps to "__w64 int" in 32 bits and "__int64" in 64 bits ? Why would we need to have so large variables to store the strides which rarely exceeds a few thousands ? Compilation errors are due to this problem of mapping I wonder if I have to 1/remap all the int types within ffmpeg to stride_t or 2/change stride_t inside ffdshow to int I think this is approach #1 that I should use... or #2 Last edited by albain; 5th March 2010 at 15:25. |
5th March 2010, 16:06 | #10994 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
I would prefer if the ffmpeg code would stay as close to the original as possible. That makes it much easier to update it on a regular basis.
__________________
MPC-HC 2.2.1 |
5th March 2010, 16:31 | #10995 | Link | |
Registered User
Join Date: Jan 2010
Posts: 47
|
Quote:
There is a problem with colored PGS though. In this image top is ffdshow rev3306 and bottom is MPC-HC subs (tried with rgb32 and nv12 outputs): m2ts with PGS sub are made with MultiAVCHD and easySUP and it shows ok in a sony bluray player. Here is the sample: -> SAMPLE <-
__________________
Intel Pentium Dual Core E2200 | Intel(R) G33/G31 Express Chipset Family (256Mb) | 4 GB DDR2 | Windows 8.1 Pro RTM x64 Last edited by onomatopellan; 5th March 2010 at 16:34. |
|
5th March 2010, 16:51 | #10996 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
- Resize crashes the player inmediately with errors in libavcodec.dll - ffmpeg deinterlacers like 5-tap lowpass, same error as above. - Postprocessing, same as above. - Sharpen, everything works OK except swscaler that produces a black screen, also msharpen doesn't do anything it seems. - Warpsharp works OK. - In Blur, libavcodec error again when using mplayer temporal noise reducer, black screen with swscaler gaussian blur. - Levels, libavcodec crash. - Luminance level fix in Picture properties, libavcodec crash. |
|
5th March 2010, 16:55 | #10997 | Link | |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Quote:
As for the pixel formats (moved from ffimgmt.h to where they belong) However for these strides it is a little bit tricky because they can't be casted on the fly so one would have to copy them from the stride_t array to an int array before calling ffmpeg methods. So for now I have changed the ffmpeg signatures from int to stride_t. Maybe someone will find a better solution Updated news : now the compilation works fine on 64 bits. I'll post a 64 bits soon with the new patch @Stargazer : thank you for testing. I can't reproduce the crashes however What I have done (with graphstudio) : MPC m2ts splitter -> MPC video decoder -> (yv12) -> ffdshow video -> (rgb32) -> EVR There is some work to do indeed. I guess those crashes are all related to the same problem Last edited by albain; 5th March 2010 at 17:17. |
|
5th March 2010, 17:26 | #10998 | Link |
Media Control author
Join Date: Dec 2006
Location: Paris
Posts: 1,014
|
Ok, I reproduce the crashes but with MPC, not with graphstudio.
This is annoying because MPC doesn't let attach the debugger and will exit instead. Otherwise, does someone know how to debug ffmpeg ? I can debug it when building with MSVC but all the optimizations are disabled. I tried with eclipse + gdb but the symbols are not loaded. I guess that an option is missing @Ikarad : I have fixed that color problem. R and B colors were reversed as well as cut edges (fixed in revision 3307) Last edited by albain; 5th March 2010 at 18:03. |
5th March 2010, 18:35 | #10999 | Link |
Registered User
Join Date: Jan 2010
Posts: 47
|
Thanks albain, using rev 3307 now rgb32 output is ok but it crash again with nv12(dxva) output (using MPC-HC).
__________________
Intel Pentium Dual Core E2200 | Intel(R) G33/G31 Express Chipset Family (256Mb) | 4 GB DDR2 | Windows 8.1 Pro RTM x64 Last edited by onomatopellan; 5th March 2010 at 18:40. |
5th March 2010, 18:45 | #11000 | Link | |
Registered User
Join Date: Apr 2008
Posts: 546
|
Quote:
Where can I download rev 3307? Last edited by ikarad; 5th March 2010 at 18:49. |
|
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|