View Full Version : ffdshow tryouts project: Discussion & Development
hoborg
3rd August 2010, 10:20
Are you using libmpeg2 or libavcodec in ffdshow?
Whichever you are using, try the other one. :)
Hi.
Already tryed - no diference.
EDIT
I think if there is problem in FFDshow it is in output not in decoder...
littleD
3rd August 2010, 11:45
Hi.
Already tryed - no diference.
EDIT
I think if there is problem in FFDshow it is in output not in decoder...
Does video is deinterlaced using Cyberlink? If so, ffdshow could use gpu too. Try specific colorspace along with "set interlace flag in output media type".
hoborg
3rd August 2010, 11:55
Does video is deinterlaced using Cyberlink? If so, ffdshow could use gpu too. Try specific colorspace along with "set interlace flag in output media type".
Yes, Cyberlink deinterlace always, but very badly (blury) if DXVA is off - like on second picture:
http://hobring.esero.net/saf/deinterlacing.jpg
Both Cyberlink and FFDshow using YUY2 output. YUY2 needs to be used, becouse picture is not deinterlaced at all if other colospaces are in use, NV12 is not supported by Intel GPU i have here (Graphstudio will crash).
littleD
3rd August 2010, 12:01
Then drivers may be the cause. Does your chipset support VA deinterlacing at all? Try dxvachecker and show processor device tab.
hoborg
3rd August 2010, 12:09
Then drivers may be the cause. Does your chipset support VA deinterlacing at all? Try dxvachecker and show processor device tab.
http://hobring.esero.net/saf/dxva_checker/dxva_checker_i945g0.png
I investigate the source of droped frames becouse acording some info i have, nvidia 9400 have similar problem - droped frames when playback FullHD MPEG-2 recordings/LiveTV.
There is no such problems on ATI 4550, 5450 or 5770.
littleD
3rd August 2010, 12:17
You see now. Crappy intel cant any advanced deinterlacing for 1080. Some pixeladaptive, but only for DVD's. Not VA at all. Still have some hidden info under yuy2, but i wouldnt have any hope.
Ati 4550 is just enough For HDTV. I would recommend that card. 9400 has too low memory bandwidth for Full HD deinterlacing. You need at least 10 GB/s.
Edit. Hmm actually pixel adaptive may refer to vector adaptive, but if at all, its only for dvd resolution anyway.
Porsche_fan
3rd August 2010, 22:10
Is there a current known issue with ffdshow resize crashing in Windows 7 x64? I tried my best to search the thread but there doesn’t seem to be a report of such.
I recently bought a HP with Windows 7 x64, i7 860 processor and nVidia 315 graphics card. I am using it as a HTPC connected to a plasma TV through a 1.4 compliant HDMI cable.
I have a 3 week trial period which ends today and during the last 3 weeks I have been struggling trying to resolve an infrequently occurring playback issue where the computer suddenly will display a black screen and stop responding.
It usually happens when I take some kind of action like display the time remaining on the autohide control bar but will often happen without anything being touched. Because it is so sporadic, it is hard to narrow down but I believe it may be related to the ffdshow resize filter.
I am using 32 bit MPC-HC in EVR-Custom with the following filters…Resize->Sharpen->Noise. I am also outputting RGB32 although I see the same error with YV12.
I have tried every combination I can think of including different renderers EVR, EVR-C and madVR. I have also tried a variety of ffdshow versions, including some rather old to the latest in both generic and icl10. It occurs both when ffdshow is decoding and in raw video only. Additionally, I have tried the 64 bit versions of MPC-HC and ffdshow.
Also tried installing nVidia’s drivers off their site but it failed to recognize the card. Finally, I have disabled all startup programs other than Windows services to rule out conflicts with other programs.
I’ve basically exhausted every option I can think of and as mentioned need to decide today if I want to return it. So any information or suggestions would be greatly welcomed.
ranpha
3rd August 2010, 23:38
Is there a current known issue with ffdshow resize crashing in Windows 7 x64? I tried my best to search the thread but there doesn’t seem to be a report of such.
Start MPC-HC in Windows XP SP2 (not SP3) compatibility mode and see if your crashing problems can be reduced or not.
leeperry
4th August 2010, 05:19
I guess there really isn't any solution to the automatic profile problem when using 5.1 AC3 files tagged as stereo? It never loads the 5.1 profile, duh.
here's a sample: http://forum.doom9.org/showpost.php?p=1386984&postcount=11208
I could also use AC3Filter, but the "number of channel" condition doesn't work w/ it(duh again): http://sourceforge.net/tracker/index.php?func=detail&aid=2725991&group_id=173941&atid=867360
ah well, I can always force it manually...it's just annoying.
Octo-puss
4th August 2010, 20:32
What do I do to make subtitles muxed into a .mkv show up? I started experimenting with madVR renderer which doesn's support subtitles yet. Using MPC-HC as a player. Thanks for tips.
(in video decoder settings, checking subtitles didn't do anything)
fastplayer
5th August 2010, 10:13
@Stargazer
Regarding rev 3523:
Can you make the audio codec names for the tool tip uppercase?
STaRGaZeR
5th August 2010, 12:34
@Stargazer
Regarding rev 3523:
Can you make the audio codec names for the tool tip uppercase?
What tooltip?
fastplayer
5th August 2010, 13:04
What tooltip?
Then one you see when you move the mouse over the ffdshow audio tray icon. In rev 3523 you've made changes to the appearance of it, didn't you?
leeperry
5th August 2010, 13:25
talking about UI, I'd like to do bicubic 0.0 chroma resizing...but it simply isn't possible atm: http://thumbnails29.imagebam.com/9166/4c1dca91659501.jpg (http://www.imagebam.com/image/4c1dca91659501)
if I set "resizeBicubicChromaParam" to "0", it falls back to default...is the default "0.0"?
and when I suggested to add AR presets to Haruhiko, I should have said 2.39 (http://en.wikipedia.org/wiki/Anamorphic_format#2.35.2C_2.39.2C_or_2.40.3F) instead of 2.40 for unmolested cinemascope movies. It would also be nice if it were possible to maybe keep the right mouse button pushed when setting a custom AR to make it much slower and being able to reach ANY figure, w/o resorting to typing them in.
STaRGaZeR
5th August 2010, 13:38
Then one you see when you move the mouse over the ffdshow audio tray icon. In rev 3523 you've made changes to the appearance of it, didn't you?
When you see it lowercase, are you using liba52 or libdts? If that's the case don't worry, I forgot about them. Will change them in my next commit.
And yup, but that string appears in the Info&CPU tab and in the context menu of ffdshow audio, plus I don't use the tray icon, so I wasn't sure about what you meant with tooltip :p
if I set "resizeBicubicChromaParam" to "0", it falls back to default...is the default "0.0"?
Yup, so if you want to use 0.0 just set default.
fastplayer
5th August 2010, 13:48
When you see it lowercase, are you using liba52 or libdts? If that's the case don't worry, I forgot about them. Will change them in my next commit.
And yup, but that string appears in the Info&CPU tab and in the context menu of ffdshow audio, plus I don't use the tray icon, so I wasn't sure about what you meant with tooltip :p
Exactly. For example, for 5.1 AC-3 audio the tooltip looks like this:
Input: ac3, 5.1, 48000 Hz, 448 kbps (liba52)
Same applies to "dts".
:thanks:
STaRGaZeR
5th August 2010, 14:58
Exactly. For example, for 5.1 AC-3 audio the tooltip looks like this:
Input: ac3, 5.1, 48000 Hz, 448 kbps (liba52)
Same applies to "dts".
:thanks:
Done :)
leeperry
6th August 2010, 03:36
Yup, so if you want to use 0.0 just set default.
ok, thanks for the confirmation. BTW, I've kinda gotten used to the audio infos(don't have much choice anyway, as you guys refuse to allow disabling it http://forum-images.hardware.fr/images/perso/zytradance.gif): http://thumbnails33.imagebam.com/9176/9d2fcd91754300.jpg (http://www.imagebam.com/image/9d2fcd91754300)
It comes in handy as my current skin doesn't tell the audio format....but as mark0077 said, why does it also show up in ffdshow video? http://thumbnails8.imagebam.com/9176/c80e9b91754303.jpg (http://www.imagebam.com/image/c80e9b91754303)
I understand it seems to be a ditto of the HMS infos: http://thumbnails32.imagebam.com/9176/bd021d91755043.jpg (http://www.imagebam.com/image/bd021d91755043)
but what's the point to tell about audio streams in ffdshow video?
and sometimes it's pretty pointless: http://thumbnails22.imagebam.com/9177/c70ef591760022.jpg (http://www.imagebam.com/image/c70ef591760022)
it also doesn't show up on AVI I think.
nevcairiel
6th August 2010, 08:16
ffdshow video seems to forward the IAMStreamSelect interface thats being provided by the splitter, except it hides the video streams. Why it does that, i don't know. Having it on the splitter seems good enough for me. Maybe one of the ffdshow devs can provide the reasoning for this? :)
STaRGaZeR
6th August 2010, 11:42
Do not bring the same thing over and over again. albain was very clear about this, read his posts. And a very important step, understand them.
leeperry
6th August 2010, 13:13
his broken english makes my eyes bleed, and mark also doesn't see the point to show the audio infos in ffdshow VIDEO: http://forum.doom9.org/showpost.php?p=1418389&postcount=12121
but surely, we're not worthy ;)
madshi
6th August 2010, 13:38
@devs:
we're working on defining a new media type (GUID + structure), with the main purpose being to connect 3D splitters, decoders and renderers. If you're interested, please post your feedback here:
http://forum.doom9.org/showthread.php?t=156051
leeperry
8th August 2010, 17:35
That "blur" is because you're probably using YV12
the blur is fine, subs look great right now...a nice in-between blurry and edgy: http://thumbnails23.imagebam.com/9217/3db78692160427.jpg (http://www.imagebam.com/image/3db78692160427)
I just wish I could have them in the exact yellow tint I want: http://thumbnails30.imagebam.com/8954/3d928789537958.jpg (http://www.imagebam.com/image/3d928789537958)
I've tried to change the hue/saturation/RGB levels blindly, to no available http://forum-images.hardware.fr/images/perso/tt%20tt%20dago%20tt.gif
hoborg
10th August 2010, 06:55
Hi.
I noticed in "ffdshow_rev3517_20100731_clsid.exe" that DTS is not decoded correctly when use libavcodec, libdts working fine (i am not using passthrough).
EDIT:
Seems to be already fixed in "ffdshow_rev3527_20100808_xhmikosr.exe".
27049215
10th August 2010, 12:48
Hi, when using 'libsamplerate high quality' as resampler it crashes mpc-hc.
'ff_samplerate.dll' is the problem said by OS crash report
This is reproducible on my computer, here is the steps:
1. open any movie file
2. randomly click on the seek bar
3. after 10~20 clicks, there is a chance that mpc-hc will crash
when using libavcodec as resamper, everything is fine
my computer spec:
win xp sp3
mpc-hc svn.2212
ffdshow_rev3527_20100808_xhmikosr_icl11
STaRGaZeR
10th August 2010, 13:28
Try with the VS2008 build instead.
27049215
10th August 2010, 14:13
Try with the VS2008 build instead.
tried ffdshow_rev3528_20100810_xhmikosr, still crashes mpc-hc
after more investigation, the crash always happens when playing avi video files
I remux avi into mkv, and the problem is gone, quite weird...
STaRGaZeR
10th August 2010, 14:32
I'm out of ideas then.
_xxl
10th August 2010, 18:41
Hi, when using 'libsamplerate high quality' as resampler it crashes mpc-hc.
'ff_samplerate.dll' is the problem said by OS crash report
This is reproducible on my computer, here is the steps:
1. open any movie file
2. randomly click on the seek bar
3. after 10~20 clicks, there is a chance that mpc-hc will crash
when using libavcodec as resamper, everything is fine
my computer spec:
win xp sp3
mpc-hc svn.2212
ffdshow_rev3527_20100808_xhmikosr_icl11
ff_samplerate.dll was updated some time ago. Please check if older builds work fine. If so I''ll revert it.
27049215
10th August 2010, 19:28
ff_samplerate.dll was updated some time ago. Please check if older builds work fine. If so I''ll revert it.
You are referring to svn.3421, right?
however, i tried ffdshow_rev3425_20100508, no problem with this version
I think it's something else that trigger this crash, I will try more svn builds later
Update: I have located the problem is between 3498 and 3507
STaRGaZeR
10th August 2010, 21:27
There are builds between r3498 and r3507 here (http://xhmikosr.1f0.de/index.php?folder=ZmZkc2hvdy9vbGQvaWNsMTE=), can you try those?
27049215
11th August 2010, 05:24
There are builds between r3498 and r3507 here (http://xhmikosr.1f0.de/index.php?folder=ZmZkc2hvdy9vbGQvaWNsMTE=), can you try those?
OK, more test performed, the problem is between r3500 and r3503
Momber
11th August 2010, 07:20
http://img.pixs.ru/storage/5/0/5/ffdshowjpg_1810279_744505.jpg
This happens every time I run the video decoder configuration.
It still happens every time, including rev3516.
I have tried uninstalling and re-installing (enabled resetting of all ffdshow options) multiple times.
Win XP SP3, DX as of June 2010
NiFa
12th August 2010, 17:43
Just updated from vista to 7, now I have problems with FFDshow, I can't get DXVA to work with Win 7 32-bit, in vista it worked perfectly.
My system is:
Win 7
HD4200 with cat. 10.1
MPC-HC rev.2223 output EVR Sync
FFDshow rev.3488
Edit: Seems that UAC needs to be enabled or FFDshow DXVA won't load.
Alexander01
14th August 2010, 01:10
Can anybody please fix this bug with the DXVA part of ffdshow: http://sourceforge.net/tracker/?func=detail&aid=3029078&group_id=173941&atid=867360
I also made a topic about this in th ffdshow forum, but no one is responding. See here: http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?t=1560
This bug is really annoying because some movies are really small (cinema format). Placing those subtitles into an already small picture is not really comfortable to watch :P
STaRGaZeR
14th August 2010, 14:16
It's not a bug, it's a limitation. Letterboxing involves resizing, and you can't resize if you use DXVA. The option should be greyed out in the DXVA config.
janos666
14th August 2010, 14:33
I have some questions which I can't find in the FAQ. I am confused about the Audio Decoder settings.
I have an Audigy 4 sound card with an analogue amplifier and relatively cheap (but not too bad) speakers. The card is theoretically 24/96 capable but it doesn't support any HDCP encryption.
I used to leave the Windows 7 output settings on 16/48. (Can it theoretically hurt the 16/48 sources if I set it to 24/96? Just to make sure that it will be able to handle a 24/96 signal if I will have any...?)
I use MPC-HC (latest SVN right now) with madVR video (FS exclusive) and ReClock (WASAPI exclusive) audio renders. I use the internal Source Filters but I disabled every internal Transform Filters to use the external FFDShow codec (it gives me more control over the settings and it is more compatible with madRV).
I try to avoid any unnecessary data manipulations. So, I don't use any FFDShow filters/plugins except the Subtitles and Mixer. (I don't really need the mixer because most of the sources match with my 5.1 speaker configuration. But the Subtitle renderer let me use madVR. It is a very nice feature. :))
I used to watch movies with 16/48 DTS-1536 or AC3-640 tracks (or the "cores").
I fairly sure that I can't decode the full TrueHD or DTS-HD MA 24/96 tracks with a simple software codec and send it to a non-HDCP compliant soundcard in full resolution (and enjoy a very little bit of the extra quality).
And I think I should disable the jitter correction with ReClock.
But I am not sure anymore because the Info & CPU tab says this (with TrueHD track):
Input description: 48000Hz, 6 channels truehd (libavcoced)
Current bitrate: 5376 kbps
Juitter: -11ms
Does it really work with the full bitrate? Will it work with 24 bit if I insert a disc with 24 bit track? (I don't have any of them yet. -> Or I don't know, may be I see them as 16 bit because the softwares can't recognize the full track...)
And it says this with another disc (with DTS-HD MA track):
Input description: 48000Hz, 6 channels dts (libavcoced)
Current bitrate: 1536 kbps
Juitter: -11ms
And here is the Processing tab with the allowed sample formats. How should I configure it with 16 bit sources, 16(/24) bit soundcard and none known additional sound processing?
Or does FFDShow need to do some kind of processing anyway?
So, if I don't care about the CPU utilization, then should I set it to 32 bit FP + dithering with light noise shaping (to minimize the rounding errors) or should I set it to 16 bit only without dithering (to avoid the unnecessary resample steps with additional dithering noise)?
Does it even matter when I don't use any signal manipulation plugins? I have no idea...
If there is some proessing (even without additional filters/plugins), then how should I set the output format? Should I enable the 32 bit FP processing only and set the output format to 24 bit (to minimize the rounding errors)?
A last (and little) thing:
Is there a chance to support ASIO (or may be OpenAL) outputs? This software Dsound is weird with Vista+ (after 2006...!). This is why I choose the ReClock WASAPI output. (But it is not as convincing as the ASIO or OpenAL plugins for Winamp.) I don't apply 23.976->24 fps speedup with it (I enabled the PAL speedup but I don't watch DVDs anymore.), so I use it only as a smarter audio renderer.
Alexander01
14th August 2010, 15:52
It's not a bug, it's a limitation. Letterboxing involves resizing, and you can't resize if you use DXVA. The option should be greyed out in the DXVA config.
So is there any other technique that can be used to get the subtitles on the bottom of the screen when using DXVA? In MPC-HC this is possible, but as this is a standalone player, it's not really fair to compare. Is it possible to use the same technique for this as MPC-HC does? Or is this not possible with a standalone directshow codec?
STaRGaZeR
14th August 2010, 17:32
So is there any other technique that can be used to get the subtitles on the bottom of the screen when using DXVA? In MPC-HC this is possible, but as this is a standalone player, it's not really fair to compare. Is it possible to use the same technique for this as MPC-HC does? Or is this not possible with a standalone directshow codec?
Not really, because at the moment ffdshow can only print stuff to the video, and your video is 1920x800, without the black bars. The black bars are added in the video renderer, and ffdshow has no control over them. MPC can do it because it has direct control over its custom renderers. When you activate letterbox when using software decoding what ffdshow does is resize to match your desired aspect ratio, in your case if the monitor is 16:9 to 1920x1080, adding black bars. Now that the subtitle filter has the bars to work on, it can print the subs there.
I say at the moment because some time ago tal.aloni talked about DXVA substreams or something like that, not sure if it could be used for this or not. Either way tal is missing, so you should forget about it. Just use software decoding.
tal.aloni
15th August 2010, 08:24
I'm still around, PM if you need anything.
DXVA substreams has the same limitations as our software overlay method when it comes to where we can place subtitles, so it's not going to help here.
p.s.
it's not possible to use the same technique as MPC-HC does, because MPC-HC has control over the renderer.
Gleb Egorych
15th August 2010, 11:57
Many modern ffdshow revisions crash on scrolling FLV files on my setup. As I found out the faulty module is ffsamplerate.dll. Crash log of rev.3529
Problem signature:
Problem Event Name: APPCRASH
Application Name: zplayer.exe
Application Version: 7.0.0.0
Application Timestamp: 2a425e19
Fault Module Name: ff_samplerate.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4be8758d
Exception Code: c0000005
Exception Offset: 00003933
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 1049
Additional Information 1: fd00
Additional Information 2: ea6f5fe8924aaa756324d57f87834160
Additional Information 3: fd00
Additional Information 4: ea6f5fe8924aaa756324d57f87834160
I setup ffdshow to resamle to 48KHz when freq<48KHz using libsamplerate sinc high quality. I assume the problem is not just FLV files, simply audiostreams in such files often satisfy the condition.
Can't say the last good revision but suspect it is related to rev.3421.
leeperry
15th August 2010, 13:18
As I found out the faulty module is ffsamplerate.dll.
did you try to use libavcodec for resampling? it sounds better to my ears, and doesn't crash while seeking for me.
Gleb Egorych
15th August 2010, 17:15
did you try to use libavcodec for resampling?
Use it now. Don't think there is a big difference from libsamplerate for internet video files :)
hoborg
16th August 2010, 07:44
Hi.
Anybody was able to play FLAC files using "MPC - Flac Source" + "ffdshow Audio Decoder"? This two filters seems to be incopatible :/
"MPC - Flac Source" + "MPC - MPA Decoder Filter" working fine.
leeperry
16th August 2010, 13:34
Anybody was able to play FLAC files using "MPC - Flac Source" + "ffdshow Audio Decoder"? This two filters seems to be incopatible :/
"MPC - Flac Source" + "MPC - MPA Decoder Filter" working fine.
whatever madFlac or MPC don't allow to use their source filter using another decoder AFAIK...and I don't think it's ever been officially cleared up whether ffdshow FLAC decoder was stuck to 16int.
27049215
16th August 2010, 17:00
Many modern ffdshow revisions crash on scrolling FLV files on my setup. As I found out the faulty module is ffsamplerate.dll. Crash log of rev.3529
I setup ffdshow to resamle to 48KHz when freq<48KHz using libsamplerate sinc high quality. I assume the problem is not just FLV files, simply audiostreams in such files often satisfy the condition.
Can't say the last good revision but suspect it is related to rev.3421.
I have encounter similiar crash, but i don't think r3421 is causing the crash
Based on my own testing, I suspect r3501
maybe you could try r3500 and r3503, from this link (http://xhmikosr.1f0.de/index.php?folder=ZmZkc2hvdy9vbGQvaWNsMTE=)
Tom Keller
17th August 2010, 06:14
Is there any chance for ffdshow supporting forced subs and subtitles with fade-in/-out effect for dvd decoding in the not so distant future? Cause all ffdshow revisions of the last months i could find simply won't show any as 'forced' tagged subtitles inside a subtitle stream and neither any subs with fade effects. I've read a some older postings in here and in some other threads (just to find out, if it's a setting i did miss... which i apparently didn't do) just to find out, that it's a known but yet unregarded "problem" :( .
Gleb Egorych
17th August 2010, 07:33
Based on my own testing, I suspect r3501
maybe you could try r3500 and r3503, from this link (http://xhmikosr.1f0.de/index.php?folder=ZmZkc2hvdy9vbGQvaWNsMTE=)
Seems you're right, I tried rev.3495 by clsid from my archive and it works.
STaRGaZeR
17th August 2010, 11:34
Is there any chance for ffdshow supporting forced subs and subtitles with fade-in/-out effect for dvd decoding in the not so distant future? Cause all ffdshow revisions of the last months i could find simply won't show any as 'forced' tagged subtitles inside a subtitle stream and neither any subs with fade effects. I've read a some older postings in here and in some other threads (just to find out, if it's a setting i did miss... which i apparently didn't do) just to find out, that it's a known but yet unregarded "problem" :( .
DVD subtitles with fade effects? I'm missing something?
Tom Keller
17th August 2010, 16:01
You actually do. For example: the HK-Legends UK DVD of "Fist of Fury" has subtitles, which fade in and out... and the german DVD of "Pan's Labyrinth" has this nice effect for subtitles too. For realizing this, one subpic exists multiple times (seamlessly arranged) with different transparency. So you'll see the subpic with the highest transparency for one frame, a subpic with lower transperency the following frame and so on, till you get to the subpic with no transparency at all, which (of course) will be shown for a couple of frames (like any "normal" subtitle)... and then it will be repeated vice versa for the fade-out effect.
I did some tests with different MPEG2 decoders (Nero DVD decoder, Elecard MPEG2 decoder, MPC-HC's internal MPEG2 decoder, DScaler5) inside MPC-HC - none of them had any problems with this kind of subtitles. Even forced subs were no problem. Only ffdshow won't show any of this subtitles... "normal" DVD subtitles work though.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.