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. |
23rd February 2009, 15:40 | #6741 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
I used Debugview for Windows and many DPRINTF. It's the classic. Thank you for the fix. |
|
23rd February 2009, 15:44 | #6742 | Link | ||
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
Quote:
|
||
23rd February 2009, 15:47 | #6743 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
I think you could go down (you would say "up" ) the filter chain by browsing through the connected pins to find the MPEG2 output pin and then ask its connection media type and grab the codec private data from there, which usually contains the sequence headers. Isn't that what you need? A bit ugly, but it might work...
|
23rd February 2009, 19:05 | #6744 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
Quote:
Tis a pity. In my opinion, if ffdshow relies on internal data like you say, flags set by the internal decoders, and gains an advantage by doing this, I think every effort should be made to try and get that information from raw video also. I will leave the implementation upto you guys but it just sounds like the right thing to do... ie not favour internal / external decoders if the information can be gained using other methods. (although in this case, decoding WITH ffdshow seems to be causing the ugly highlights on 1 frame and moving menus, decoding WITHOUT ffdshow causes the freeze/crash in 1 frame menus, and decoding WITHOUT ffdshow in one frame screens with de-interlacing incorrectly enabled causes freezes / crashes). Last edited by mark0077; 23rd February 2009 at 19:26. |
|
23rd February 2009, 20:01 | #6745 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Shouldn't the relevant information be passed on between each step in the filter graph?
Information like: -AR(in all its flavours) -Framerate -Interlace flag Maybe even more information is usefull, if any value is no longer true(in the case of deinterlacing) the part of the chain that caused the change in the value should update the information to the new status and pass that along. |
23rd February 2009, 23:43 | #6746 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
|
|
24th February 2009, 13:18 | #6748 | Link | |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
Quote:
With some special DVD (wrong encoding IMO), the menu is off by 10% of the screen height. I found I can avoid this by using DVD navigator's aspect ratio instead of decoded aspect ratio. |
|
24th February 2009, 13:27 | #6749 | Link | |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
Quote:
Actually I do notice, on this Queen DVD menu where you can select the audio output, PCM Stereo, DTS, or DD I think it is. The three options go from top to bottom so ---------- top of screen ------------- Option 1 - Highlight 1 should be here < Position of option 1 highlight (ie. skewed toward centre) Option 2 < Position of option 2highlight (90% perfect) < Position of option 3 highlight (ie. skewed toware centre) Option 3 - Highlight 3 should be here ---------- bottom of screen ------------- When I look at where the rectangles around these options are, I notice they are all skewed / offset towards the centre of the image (horizontally). Those further from the center get offset more so the further from the horizontal centre, the worse any menus will look in this combination. So i think you are right in saying the aspect ratio flag has something to do with this problem. Its like the highlights are being displayed on an overlayed image but in slightly different aspect ratio window to the underlying image, like as if the overlay window isn't being given the right AR. I don't know how subtitles / highlights work but this sounds like a reasonable explanation. Do you see any easy solution.... what part of the ffdshow AR code might be at fault? I assume an AR is also supposed to be output with these subtitles / highlights, or at least taken into account when rendering them. Seems as if it is not in fact being taken into account correctly. Not a big deal but still would be nice to see it fixed now that we have an idea what it could be. EDIT: Unfortunately build 2718 doesn't fix the above for me. Thought it was going to looking at the change list :P I thought fiddling with ffdshow resize settings, and turning it on or off, or editing the ar output option might have an effect but not for me. All highlights are stretched towards the centre of the screen by a few pixels, as I said, the further the highlight should be from the centre, the more it seems to get offset. Last edited by mark0077; 24th February 2009 at 19:44. |
|
24th February 2009, 16:24 | #6751 | Link |
Registered User
Join Date: Mar 2004
Posts: 140
|
This has been bugging me for a while:
If you use libavcodec to decode MP3s, and you have 16, 24, 32 and 32-bit floating-point enabled as outputs, then ffdshow outputs 16-bit. If you deselect 16, 24 and 32-bit integer as output formats, then libavcodec outputs to 32-bit floating-point. So in the latter case, is libavcodec truly decoding to 32-bit floating-point, or is it still decoding to 16-bit and then merely padding the output to 32-bit floating point? This also applies to AC3, DTS, Vorbis and all the other lossy (bitdepth-less) codecs that libavcodec can handle. I only ask because libac3, libdts and libmad all seem to output to the highest bit-depth available, whereas libavcodec seems to prefer using the lowest available. |
24th February 2009, 20:09 | #6752 | Link | ||
Kid for Today
Join Date: Aug 2004
Posts: 3,477
|
Quote:
plus you can't process VST/winamp plugins in 32 float, it's 16 integer or nothing....which also sounds ugly Quote:
Gabest's MPEG2 decoder in auto mode looks way better, and yet it doesn't blend fields...I think Last edited by leeperry; 25th February 2009 at 00:50. |
||
25th February 2009, 12:29 | #6753 | Link |
Registered User
Join Date: Feb 2006
Location: Japan
Posts: 1,560
|
|
25th February 2009, 12:38 | #6754 | Link |
Registered User
Join Date: Jul 2004
Location: Russia, Novosibirsk
Posts: 92
|
Deblocking filter doesn't work in AviSynth and VirtualDub filters.
And can you do a checkbox in the Postprocessing page like "always postprocess" ? It will be nice to use postprocessing filters even with a codecs like h264 sometimes. |
25th February 2009, 15:16 | #6757 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
Sorry i should say freeze. In the images above, if I use mpc-hc as the mpeg2 decoder, the menu looks perfect, but if I highlight one option, all is ok, but if I move the mouse up to another option, nothing happens. Media player classic still responds but no new frames are drawn so it appears as if the software has frozen. Its like ffdshow won't draw any subsequent frames when I highlight different options. This makes many dvds unusable without navigating through the player titles until the right one is found to start the movie.
MPC used on its own without ffdshow at all is ok, I can move the mouse around between options in the menu and no freezes. With ffdshow in the chain (but not decoding), I can only highlight one menu option, after that, no more screen updates happen and I will need to restart mpc to get back to a usable state. Last edited by mark0077; 25th February 2009 at 15:25. |
26th February 2009, 07:44 | #6758 | Link |
Questioning User
Join Date: Jan 2005
Posts: 166
|
There are the edge-enhancement and denoise sliders in CCC, do they just work or need there be some ATI codec?
Or does it work only in DXVA? I'm confused of the video card's roles in playing my videos. Don't seem to see a difference with those compared to the sharpen filter in ffdshow. Last edited by iron2000; 26th February 2009 at 07:48. |
26th February 2009, 17:23 | #6759 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
Hi, I have a question on ffdshow's deinterlacing filters.
When I use deinterlacer from DScaler in ffdshow, it always doubles the framerate. IIRC some of DScaler deinterlacers run in adaptive mode, that is doubling framerate at high-motion scene and weaving at low-motion scene. I also checked the DS_Deinterlace.h and there is Code:
// Deinterlace functions return true if the overlay is ready to be displayed. typedef BOOL (__cdecl DEINTERLACE_FUNC)(TDeinterlaceInfo *Info); |
26th February 2009, 20:19 | #6760 | Link |
Registered User
Join Date: Nov 2005
Location: Wałbrzych, Poland
Posts: 105
|
If I change state of video codecs WMV1/7, WMV 2/8, WMV 3/9 to "disabled" MPC and MPC-HC crash when opening .wmv file.
This happens since rev2715, both in 32bit and 64bit version and for all .wmv files I have tested. WindowsMediaPlayer is not affected. rev2698 and earlier are free from this problem (both 32bit and 64bit). Example crash info: Code:
Nazwa zdarzenia problemu: APPCRASH Nazwa aplikacji: mplayerc32.exe Wersja aplikacji: 1.2.1004.0 Sygnatura czasowa aplikacji: 49a1f286 Nazwa modułu z błędem: libmplayer.dll Wersja modułu z błędem: 0.0.0.0 Sygnatura czasowa modułu z błędem: 499c05b2 Kod wyjątku: c0000005 Przesunięcie wyjątku: 00066cd5 Wersja systemu operacyjnego: 6.0.6001.2.1.0.256.1 Identyfikator ustawień regionalnych: 1045 Dodatkowe informacje 1: fd00 Dodatkowe informacje 2: ea6f5fe8924aaa756324d57f87834160 Dodatkowe informacje 3: fd00 Dodatkowe informacje 4: ea6f5fe8924aaa756324d57f87834160 Vista Ultimate x64 SP1 (polish). |
Tags |
ffdshow, ffdshow tryouts, ffdshow-mt, ffplay, icl |
Thread Tools | Search this Thread |
Display Modes | |
|
|