View Full Version : ffdshow tryouts project: Discussion & Development
Keiyakusha
20th May 2010, 20:41
r3446... now it crashes even if that option is off...
clsid
21st May 2010, 15:24
@albain
Could you have a look at the crash that Keiyakusha reported? There basically is a crash when right-clicking on the tray icon when both ffdshow video decoder and the raw video decoder are in the same filter graph.
clsid
21st May 2010, 16:43
Revision 3448 now stores the RAW video decoder settings separately. Same applies for its subtitle variant.
clsid
21st May 2010, 17:17
Can anyone confirm whether DTS passthrough is broken (since the audio parser changes some time ago)?
TFM_TheMask
21st May 2010, 18:43
Can anyone confirm whether DTS passthrough is broken (since the audio parser changes some time ago)?
I can because I made the bugreport.:)
rsd78
21st May 2010, 20:07
Can anyone confirm whether DTS passthrough is broken (since the audio parser changes some time ago)?
Not sure if it's related but I noticed that I can't get ffdshow to pass the core DTS track of an mkv containing DTS-MA over spdif (DTS light goes on but no sound). Didn't have issue getting stereo sound from the DTS-MA track on another machine.
zummi
21st May 2010, 23:03
Hi guys,
got some trouble with subs here. I've searched the thread for references to my gfx card with no luck... Anyway, i just got a new laptop with an integrated Intel GMA 4500MHD. When running in DXVA-mode i get lots of artifacts around the subtitles (screenshot: http://i46.tinypic.com/s1tffo.png). Without DXVA enabled everything is OK. Running Win7x64, latest ffdshow x64, MPC-HCs audiorenderer and mkvsplitter.
The CPU is only a Pentium SU4100 1,3ghz dual core, so i really need to have dxva enabled for 1080p playback. Any help/feedback would be appreciated :) Thanks.
Shakey_Jake33
21st May 2010, 23:50
Quick question about enabling 24-bit sound support. I have a Blu-Ray disc which I know has 24-bit 96KHz Stereo LPCM, and I've been trying to get it to play in 24-bit using MPC and ffdshow. I've enabled 24-bit 96Khz sound in the Windows sound setup itself, and ticked 24-bit integer in the ffdshow setup, but it still seems to be outputting using 16-bit integer. The only solution might be to disable 16-bit integer, but I'm assuming it's not a good idea to do that even most media uses 16-bit sound this forcing everything to 'upscale'.
Have I missed something? I'm using a Realtek HD Audio, which should support 24-bit sound.
Midzuki
22nd May 2010, 04:44
clsid wrote:
Revision 3448 now stores the RAW video decoder settings separately. Same applies for its subtitle variant.
Improvement confirmed. :)
Also: the bug reported by Keiyakusha remains unfixed. :(
Besides: in MPC, crash also happens when, in paused mode,
the arrow "-->" is pressed. :confused:
Serious Suggestion: remove the "In Text" pins from the raw video filter !!!
http://forum.videohelp.com/attachments/1933-1274498970/ffdshow-vp-trouble.png
Sarasa
22nd May 2010, 14:19
I have a problem with another ass subtitle
Spec of Clip : MKV > AVC1 + Vorbis + ASS sub
FFDSHOW > ffmpeg-mt h264 + Tremor
Tested Output > YUY2 & RGB32
Using ffdshow (3448) / MPCH 1922 (EVR)
The sub should appear like this
> http://i50.tinypic.com/nxvyu.jpg
But FFdshow subtitle make it appear like this
> http://i47.tinypic.com/25uqjrk.jpg
Here is the ass files ;)
jhoff80
22nd May 2010, 20:31
Apologies if this was mentioned already. It's a problem I've had for a long time, and never got around to troubleshooting until now, so I never posted it.
Basically, I'm running Windows 7 Ultimate x64 with Windows Media Center and the x64 versions of FFDShow-tryouts. Unfortunately, pretty much any build newer than the betas just doesn't work in Windows Media Center any more.
I've already used Win7DSFilterTweaker, both to set FFDShow as the default and to disable Media Foundation.
Upon playing the file, what I'm left with is a frozen background. This happens with any file type set to use ffdshow, regardless of whether I'm using DXVA or not.
http://img94.imageshack.us/img94/5238/p5220232.th.jpg (http://img94.imageshack.us/i/p5220232.jpg/)
As I mentioned, the older betas work 100% with all of my files. I just wanted to update to take advantage of newer features.
The PC is a Core 2 Quad Q6600, 8GB RAM, and an ATI 4850 (running Catalyst 10.4), if that matters.
Also, it's definitely some sort of interaction with Media Center, because using MPC-HC with all internal filters disabled, files play correctly. Unfortunately, because of how my system is set up for recording premium cable content, anything other than Media Center is not an option though.
I even did a new install of Windows 7 today and it was an issue even with that.
ptr727
23rd May 2010, 06:45
Hi, I am trying to enable OSD to see CPU usage and framerate during playback.
Windows 7 x64, Haali, and ffdshow DXVA, playing using Windows Media Player.
I enable the framerate option in ffdshow DXVA OSD configuration.
During playback I enable OSD from the context menu.
No OSD?
How can I see stats using OSD during playback?
P.
namaiki
23rd May 2010, 08:33
Hi guys,
got some trouble with subs here. I've searched the thread for references to my gfx card with no luck... Anyway, i just got a new laptop with an integrated Intel GMA 4500MHD. When running in DXVA-mode i get lots of artifacts around the subtitles (screenshot: http://i46.tinypic.com/s1tffo.png). Without DXVA enabled everything is OK. Running Win7x64, latest ffdshow x64, MPC-HCs audiorenderer and mkvsplitter.
The CPU is only a Pentium SU4100 1,3ghz dual core, so i really need to have dxva enabled for 1080p playback. Any help/feedback would be appreciated :) Thanks.
Use the Microsoft DXVA filter and MPC-HC's internal subtitle renderer. Here is an ini file for your convenience. http://www.mediafire.com/file/2jnmzqzwodu/mpc-hc.ini
Put it in the same directory/folder as the MPC-HC.exe
namaiki
23rd May 2010, 08:35
I have a problem with another ass subtitle
Spec of Clip : MKV > AVC1 + Vorbis + ASS sub
FFDSHOW > ffmpeg-mt h264 + Tremor
Tested Output > YUY2 & RGB32
Using ffdshow (3448) / MPCH 1922 (EVR)
The sub should appear like this
> http://i50.tinypic.com/nxvyu.jpg
But FFdshow subtitle make it appear like this
> http://i47.tinypic.com/25uqjrk.jpg
Here is the ass files ;)
Which component is rendering the subtitles?
Sarasa
23rd May 2010, 14:20
Which component is rendering the subtitles?For the first screen ? It's DirectVobsub.
Also here is the option I used in ffdshow
In subtitle > every think check except heuristic search
Placement > default option
Text > just "Split long subtitle line" - smart wrapping, line are evenly broken
Font > default option
Bluray&dvd > default option
In MPCH (1922) I use EVR for the output. I have added DirectVobsub as an external filter, that way I can block it when I use FFdshow for the subtitle.
Midzuki
23rd May 2010, 14:27
Yet another serious suggestion: move ALL subtitling functions to a standalone "ff_subs.ax". :cool:
STaRGaZeR
23rd May 2010, 15:05
I have a problem with another ass subtitle
I'll take a look at it, but not in a while. I'm very busy right now.
Keiyakusha
23rd May 2010, 15:33
Hi STaRGaZeR!
About subtitles:
MPC-HC's (http://imgur.com/DWowD.png) output, which is good. VSFilter obviously looks the same.
ffdshow's (http://imgur.com/2itYn.png) subtitle renderer.
All subtitles settings in ffdshow I believe on defaults. However I did tried change settings but without luck.
But... Fun begins here:
MPC-HC (http://imgur.com/TnSu6.png) vs. FFDshow (http://imgur.com/542yb.png)
Subtitles itself: here (http://s2.sigmirror.com/files/78028_dxmkd/ffsubsbug.7z). Have fun! ^_^
EDIT: reuploaded to another host.
Albain
About crash I reported before. In addition to everything else now I noticed that ffdshow also crashes if I press space button, which is play/pause in MPC-HC...
Keiyakusha
23rd May 2010, 16:59
Revision 3448 now stores the RAW video decoder settings separately. Same applies for its subtitle variant.
Thank you!
Is it possible to access their settings through shortcut just like directshow filter settings?
Serious Suggestion: remove the "In Text" pins from the raw video filter !!!
Wait! Here is my (almost)usual fillter (http://imgur.com/EcXdA.png) chain. How to get subs working if that pin removed? There is ffdshow subtitles filter (http://imgur.com/42shL.png) but then we won't get postprocessing. In any case having that pin doesn't do any harm.
Yet another serious suggestion: move ALL subtitling functions to an independent "ff_subs.ax". :cool:
Currently ffdshow subtitles filter is a part of ffdshow.ax. Why you need separate ax file? What is the benefits?
Midzuki
23rd May 2010, 17:24
@ Keiyakusha:
it's possible to get ffdshow video processing together with "DirectVobSub", so I don't see how it shouldn't be possible to apply the same to ffdshow's subtitle filter.
As it should be obvious from my post on the page before,
the video processor connects to the subpicture pin of Microsoft's DVD-Navigator, and applies the following resizing "ratiotinium":
video resolution = 352x480, AR = 4:3,
therefore width of displayed video =
352 x (640/352) ;
subtitle picture resolution = 720x480, AR = 4:3,
therefore width of displayed subpicture =
720 x (640/352) ;
Brazil2
23rd May 2010, 17:28
Revision 3448 now stores the RAW video decoder settings separately. Same applies for its subtitle variant.
Great news! Thanks for that :)
Subtitles itself: here (http://www.mediafire.com/?2iwogmyi2wm).
The archive seems to be corrupted, I've downloaded it 3 times -after clearing browser cache- and always got the same error.
Keiyakusha
23rd May 2010, 17:34
Midzuki
Sorry I don't really understand your answer. Here is my questions in somewhat different form:
1) How to use ffdshow subtitles + postprocessing + 3rd party decoder at the same time if that pin removed?
2) Why these pins should be removed to begin with? No one is forced to use them if they are not needed.
3) Why separate .ax file for subtitles filter is better?
STaRGaZeR
23rd May 2010, 17:47
Hi STaRGaZeR!
About subtitles:
MPC-HC's (http://imgur.com/DWowD.png) output, which is good. VSFilter obviously looks the same.
ffdshow's (http://imgur.com/2itYn.png) subtitle renderer.
All subtitles settings in ffdshow I believe on defaults. However I did tried change settings but without luck.
But... Fun begins here:
MPC-HC (http://imgur.com/TnSu6.png) vs. FFDshow (http://imgur.com/542yb.png)
Subtitles itself: here (http://www.mediafire.com/?2iwogmyi2wm). Have fun! ^_^
Albain
About crash I reported before. In addition to everything else now I noticed that ffdshow also crashes if I press space button, which is play/pause in MPC-HC...
Yup, the first one is because rotation is not implemented in ffdshow, and the kanji subs are rotated 90º. Sarasa reported it earlier. I have a semi-working patch here, but nowhere near usable. I will try to finish it when I have time. Dunno about the second, will look at it.
Your file is corrupted BTW.
Keiyakusha
23rd May 2010, 17:52
Hmm. I tried to reupload it but it seems mediafire have some problems. Here (http://s2.sigmirror.com/files/78028_dxmkd/ffsubsbug.7z) uploaded it to another place.
STaRGaZeR
23rd May 2010, 18:25
Got it. One thing, do not use ffdshow and MPC at the same time. This can be the cause of the second issue. First try it with ffdshow alone (you have to disable the MPC subtitle renderer, disabling the subs once loaded is not enough), then with MPC alone.
Keiyakusha
23rd May 2010, 18:49
I did exactly like you said.
When I checked subtitles in ffdshow, filter graph looked like this (http://i.imgur.com/EcXdA.png) (yes, this is the same picture I posted for Midzuki, don't be confused). Autoload subtitles in MPC was disabled beforehand.
When I checked subs in MPC, internal renderer was ON and ffdshow wasn't present at all in the chain.
I also tried following filter chain:
haali -> coreavc -> vsfilter -> video renderer
and in looks exactly as MPC internal renderer.
leeperry
23rd May 2010, 19:33
BTW, in the latest builds the ffdshow DS properties show the stream being processed and fill the screen with shortcuts to all the available filters/profiles...is there to make it simple as it was before? it was only showing "ffdshow audio/video filter"...now I have to scroll all the way up to reach "setup" :o
STaRGaZeR
23rd May 2010, 20:13
I did exactly like you said.
When I checked subtitles in ffdshow, filter graph looked like this (http://i.imgur.com/EcXdA.png) (yes, this is the same picture I posted for Midzuki, don't be confused). Autoload subtitles in MPC was disabled beforehand.
When I checked subs in MPC, internal renderer was ON and ffdshow wasn't present at all in the chain.
I also tried following filter chain:
haali -> coreavc -> vsfilter -> video renderer
and in looks exactly as MPC internal renderer.
Yeah, confirmed. Can you try if it happened before r3353? Just a guess here, but the lines in this script are so freaking huge (seriously, what the hell) maybe ffdshow needs more memory than the harcoded max.
Keiyakusha
23rd May 2010, 20:34
@ clsid and devs.
Hi. First of all, just now I noticed that enabling/disabling checkboxes on this page (http://imgur.com/uGmi5.png) of RAW filter also affects subtitle filter. Is that how it supposed to be?
Second. We discussed about removing pins a bit more, so here is the situation:
We have some source with subtitles.
We want to use RAW filter as postprocessor.
But we don't want to use ffdshow subtitles in this postprocessor.
However RAW filter stealing subpicture connection.
Making separate options for RAW and subtitle filters should fix this issue, since when we disable all chechboxes in subtitle settings page, subpictures can't connect to raw filter (which is what we want).
Another solution will be adding an option to RAW filter, which will be called: "do not allow subpicture connections".
@ STaRGaZeR
Just tried r3351. Well I won't say it looks better, weird artifacts happens sometimes, bit it looks different, yes. Here is screenshot (http://imgur.com/etX0S.png).
STaRGaZeR
23rd May 2010, 20:50
Nah, that's not it then.
albain
23rd May 2010, 22:15
@albain
Could you have a look at the crash that Keiyakusha reported? There basically is a crash when right-clicking on the tray icon when both ffdshow video decoder and the raw video decoder are in the same filter graph.
Sorry, I was away, this is fixed in revision 3452
jhoff80
23rd May 2010, 22:31
Apologies if this was mentioned already. It's a problem I've had for a long time, and never got around to troubleshooting until now, so I never posted it.
Basically, I'm running Windows 7 Ultimate x64 with Windows Media Center and the x64 versions of FFDShow-tryouts. Unfortunately, pretty much any build newer than the betas just doesn't work in Windows Media Center any more.
I've already used Win7DSFilterTweaker, both to set FFDShow as the default and to disable Media Foundation.
Upon playing the file, what I'm left with is a frozen background. This happens with any file type set to use ffdshow, regardless of whether I'm using DXVA or not.
http://img94.imageshack.us/img94/5238/p5220232.th.jpg (http://img94.imageshack.us/i/p5220232.jpg/)
As I mentioned, the older betas work 100% with all of my files. I just wanted to update to take advantage of newer features.
The PC is a Core 2 Quad Q6600, 8GB RAM, and an ATI 4850 (running Catalyst 10.4), if that matters.
Also, it's definitely some sort of interaction with Media Center, because using MPC-HC with all internal filters disabled, files play correctly. Unfortunately, because of how my system is set up for recording premium cable content, anything other than Media Center is not an option though.
I even did a new install of Windows 7 today and it was an issue even with that.
I figured it out. The "Connect as PCM first" option in the audio decoder passthrough breaks things in Windows Media Center. Disabling that makes it work perfectly.
Keiyakusha
24th May 2010, 01:01
Sorry, I was away, this is fixed in revision 3452
Yep, seems to be fixed. Thank you! :)
EDIT: however if "add tray icon menu to player's stream/languages menu" is active and i'm trying to turn on/off subtitles - MPC-HC with ffdshow crashes.
EDIT2: or better to say this option now has no effect. Tray icon menu always there. If I selecting subtitles in tray icon menu - it works.
Also I noticed another problem, if I'm trying to select mplayer temporal noise reducer, libavcodec crashes...
DigitalDeviant
24th May 2010, 02:15
Positioning is fixed but there are some ugly lines through some subtitles and the subpic borders show some junk too. I notice it on other Bluray discs too.
Edit: It pappears with all usable scalers and with both RGB and YV12. Additionally the above sample shows a greenish tint on the subtitle outline with YV12 output.
The garbage lines appear fixed now except when there are two subtitles on screen at the same time. It's getting much closer to perfect, thanks albain.
leeperry
24th May 2010, 04:47
so I guess this is non-negotiable? :(
seriously: http://thumbnails15.imagebam.com/8179/def72a81781406.gif (http://www.imagebam.com/image/def72a81781406)
It doesn't happen for ffdshow audio...so why do you force it for ffdshow video?
After you've spent a lot of time working on automatic profiles, you couldn't care less about all this...all it does is filling my HTPC screen w/ useless stuff, and require one more click to reach "setup" on the very top of the screen :o
It'd be really nice if you could add an option to disable all those shorcuts, in order to make it the way it was before...hope you will consider it :thanks:
Sarasa
24th May 2010, 10:54
I'll take a look at it, but not in a while. I'm very busy right now.Thank's and take your time ;)
clsid
24th May 2010, 14:27
@ clsid and devs.
Hi. First of all, just now I noticed that enabling/disabling checkboxes on this page (http://imgur.com/uGmi5.png) of RAW filter also affects subtitle filter. Is that how it supposed to be?
Second. We discussed about removing pins a bit more, so here is the situation:
We have some source with subtitles.
We want to use RAW filter as postprocessor.
But we don't want to use ffdshow subtitles in this postprocessor.
However RAW filter stealing subpicture connection.
Making separate options for RAW and subtitle filters should fix this issue, since when we disable all chechboxes in subtitle settings page, subpictures can't connect to raw filter (which is what we want).
The raw filter and the raw subtitle filter currently share their settings.
Please explain why you are having both in the same graph, because I see no reason for it. In fact, it is just very inefficient to do so.
clsid
24th May 2010, 14:32
so I guess this is non-negotiable? :(
seriously: http://thumbnails15.imagebam.com/8179/def72a81781406.gif (http://www.imagebam.com/image/def72a81781406)
I am not sure what the rationale was behind this change. Maybe Albain can explain. Maybe for selecting subs?
Perhaps we could show just an on/off for subtitles in there, instead of showing all the filters.
Keiyakusha
24th May 2010, 16:34
Please explain why you are having both in the same graph, because I see no reason for it. In fact, it is just very inefficient to do so.
No its not about two in the same graph. Midzuki saying that there is situation when subtitles connected to raw filter when we don't want this and proposed remove intext pins from raw filter. And I was saying that this can't/shouldn't be done, and that if that really happens - there should be another ways to solve that (without affecting subtitles filter).
Also having the same options kind of defeats the purpose of having separate subtitles filter at all.
By the way there probably can be confusion because it is not obvious enough that here (http://imgur.com/Xioqf.png), if checkbox that marked red is unchecked, this options marked blue still has effect on intext pin behavior and thats why he says that RAW filter "stealing" connection.
so I guess this is non-negotiable? :(
You probably haven't seen MPC-HC (http://imgur.com/VLBVQ.png) yet. :)
Thunderbolt8
24th May 2010, 16:52
so I guess this is non-negotiable? :(
seriously: http://thumbnails15.imagebam.com/8179/def72a81781406.gif (http://www.imagebam.com/image/def72a81781406)
It doesn't happen for ffdshow audio...so why do you force it for ffdshow video?
After you've spent a lot of time working on automatic profiles, you couldn't care less about all this...all it does is filling my HTPC screen w/ useless stuff, and require one more click to reach "setup" on the very top of the screen :o
It'd be really nice if you could add an option to disable all those shorcuts, in order to make it the way it was before...hope you will consider it :thanks:+1 from me
leeperry
24th May 2010, 16:56
I am not sure what the rationale was behind this change. Maybe Albain can explain. Maybe for selecting subs?
Perhaps we could show just an on/off for subtitles in there, instead of showing all the filters.
I dunno, but it takes one more click to reach "setup"...I liked it the way it was before tbh :o
one click > the ffdshow config panel opens: perfect!
but this new layout is good if you're still messing around w/ the settings, so a simple checkbox to enable all those shortcuts would be really great....best of both worlds!
clsid
24th May 2010, 17:11
No its not about two in the same graph. Midzuki saying that there is situation when subtitles connected to raw filter when we don't want this and proposed remove intext pins from raw filter. And I was saying that this can't/shouldn't be done, and that if that really happens - there should be another ways to solve that (without affecting subtitles filter).
Also having the same options kind of defeats the purpose of having separate subtitles filter at all.No pins will be removed.
leeperry
24th May 2010, 17:16
oh and BTW, I know I still believe in Santa Claus...but if there were a way you guys could look into this bug report, that'd be really sweet: http://sourceforge.net/tracker/index.php?func=detail&aid=2725991&group_id=173941&atid=867360
because I posted a sample a little while ago, and some AC3 files are 5.1 but seem to be tagged as stereo..so using the ffdshow built-in AC3 decoders, it will trigger the stereo automatic profile :(
using AC3Filter fixes the problem altogether, but ffdshow is unable to detect the number of channels...for some reason :o
leeperry
24th May 2010, 18:14
anyway, I tried the new layout...it doesn't seem to work for me :o
I've got the Avisynth filter enabled and ticked, if I click on it...it enables the "Offset" filter :confused:
if I click on "Overlay", it flips the picture?! it looks like none of those things are doing what they are supposed to for me..
Midzuki
24th May 2010, 20:15
No pins will be removed.
Does that mean the end-user will be allowed to control their (mis)behavior { i.e., enable/disable them } ?
Keiyakusha
24th May 2010, 21:30
Midzuki
Do you still see the problem if you disable all options that marked blue on this picture (http://i.imgur.com/Xioqf.png)? Because I think if everything is disabled there, RAW filter shouldn't except connections to in-text pin. If it still accepts them, maybe this is a bug.
Midzuki
25th May 2010, 02:13
@ Keiyakusha:
For the time being, I can only confirm the old BUG still is present in r3448. Yes, I downloaded r3452 , and I should have checked if that BUG remains unsolved, however I uninstalled r3452 as soon as I found out a brand-new problem — the raw video filter "automagically resizes" the clips to an incorrect aspect ratio, even if it has all of its checkboxes unticked.
EDIT:
Just a "wild guess" — maybe the new BUG happens only when the monitor is set to the "outdated" :rolleyes: 800x600 resolution.
Sebastiii
25th May 2010, 16:34
The garbage lines appear fixed now except when there are two subtitles on screen at the same time. It's getting much closer to perfect, thanks albain.
Hi, :)
On my test 3453 fix it :)
Thank you Albain as usual :)
Seb.
DigitalDeviant
25th May 2010, 16:53
Hi, :)
On my test 3453 fix it :)
Thank you Albain as usual :)
Seb.
On this (http://www.mediafire.com/?mgztymdmdjn)sample? I don't have the setup to compile it here to test so I'll have to wait until someone makes a build available. If it doesn't work I'll make a more detailed post since after I demuxed and examined the subs the problem isn't exactly what I thought it was.
Either was, thank you Albain.
Sebastiii
25th May 2010, 17:01
hi :)
Try just for try lol : ffdshow_rev3453_20100525-Debug.exe (http://sebinternet.free.fr/ffdshow_rev3453_20100525-Debug.exe)
:)
Yes it's on this sample :)
Cheers,
Seb.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.