View Full Version : ffdshow tryouts project: Discussion & Development
hoborg
12th February 2010, 08:13
Excuse that version of ffdshow are you using? :confused:
Always the latest from http://xvidvideo.ru/, not "sse icl11" x86 builds.
albain
12th February 2010, 09:22
Hi ta,
I always followed the releases in the page www.xvidvideo.ru/ffdshow-tryouts-project-x86-x64/ before, and rev3247 is the last working revision. I just tried the releases in www.mediafire.com/?sharekey=3...e79d7d0540e1e1 you provided, and the last working revision for me is rev3248.
Sorry for confusion
Hi PetitDragon,
can you test a recent build (one faulty build) and in Haali's settings uncheck output->"use custom media type" (or something like that)
Thanks
DMD
12th February 2010, 09:41
Always the latest from http://xvidvideo.ru/, not "sse icl11" x86 builds.
I do not understand why the release ffdshow_rev2099_20080903_clsid_sse_icl10 works without problems.
MatLz
12th February 2010, 09:53
Hi!
I have another problem:
I can't use FFDShow() in avisynth scripts anymore.
Depending the input colorspace:
yv12: chaotic frames order, sometimes green display
rgb: choatic frames order, sometimes black display
yuy2: only green display
In all cases, the filtering isn't applied.(on the rares frames correctly displayed)
tal.aloni
12th February 2010, 10:40
MatLz,
please test old revisions, and see where it starts.
http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca95e79d7d0540e1e1
MatLz
12th February 2010, 10:57
@tal.aloni
I'm on a phone and it seems mediafire uses some strange javascripts or things I know nothing about...to rerume, I can't download at mediafire.
Is possible you upload at sendspace?
tal.aloni
12th February 2010, 11:07
MatLz,
you can narrow it down using the builds in sourceforge:
https://sourceforge.net/projects/ffdshow-tryout/files/
I'll upload more builds if necessary once I have a smaller range.
Tal
nalooti
12th February 2010, 11:45
Hi,
I'm totally new in this FFDShow paradigm. All I see is that in W7x64 I can read most if not all types of video with wmp even mkv files (though I didn't tested inside 7 media center yet).
So excuse me if I'm in the wrong place to ask these but I'd like to know:
1/ some good reasons to use other codecs than those already existing on w7
2/ Where to begin to know what is FFDShow and how to use it
Please note that I'm used to install just the minimum required softs/codecs on my system (I'm against codec packs but want just what I need) and only if the existing ones are not enough to play what I have with good quality.
many thanks
nalooti
tal.aloni
12th February 2010, 13:16
1/ some good reasons to use other codecs than those already existing on w7
the selling points of ffdshow (besides support for wide variety of formats) are performance and post-processing.
audio post-processing include: volume normalization, equalization, and up / down mixing.
video post-processing include software deinterlacing.
those are my favorite features, there is so much more inside.
for example: I can use the same equalization for all my audio formats (AC3 / DTS / FLAC), because ffdshow supports all of them.
MatLz
12th February 2010, 13:18
I'm also in trouble with Sourceforge...don't laugh at me but your link shutdown my phone!:D
Anyway, after downloading at other places, I can say it's between 3178 and 3207.
tal.aloni
12th February 2010, 14:05
MatLz,
let's narrow it down more, here are 3200 and 3205:
http://iknowu.net/files/public/ffdshow/ffdshow_rev3200_20100112_xhmikosr.exe
http://iknowu.net/files/public/ffdshow/ffdshow_rev3205_20100117_xhmikosr.exe
also, can you post a sample avisynth script?
MatLz
12th February 2010, 14:20
Are you psychic?...no I think simply competent:
3200 does work, 3205 doesn't.
Scripts are just like that:
Source
ffdshow(preset="mypreset")
tal.aloni
12th February 2010, 14:56
Scripts are just like that:
Source
ffdshow(preset="mypreset")
I'm getting "script error, there is no function names 'ffdshow' "
am I missing a plugin?
MatLz
12th February 2010, 15:01
I'm getting "script error, there is no function names 'ffdshow' "
am I missing a plugin?
You need ffavisynth.dll and ffavisynth.avsi in the avisynth plugins directory.
tal.aloni
12th February 2010, 15:23
OK,
I don't have any problem with 3259.
please test it if you haven't already.
http://iknowu.net/files/public/ffdshow/ffdshow_rev3259_20100211_xhmikosr.exe
otherwise it may be related to the script itself, or other filters.
how do you use ffdshow()? from within ffdshow?
or from VirtualDub \ etc?
DMD
12th February 2010, 15:36
You should have only one video decoder in graph:
Disable MPC-HC internal MPEG-2 decoder, add FFDShow as external filter and setup it as prefered.
I noticed that with the latest version ffdshow_rev3200_20100112_clsid_icl10 or ffdshow_rev3256_20100208_sse_icl11, pin Subpicture the DVD Navigator is connected directly to pin In Text of ffdshow.
In this situation do not play forced subtitles.
http://www.allfreeportal.com/imghost/thumbs/541970filtergraph ffdshow2099 (forced subtitle).png ('http://www.allfreeportal.com/imghost/images/541970filtergraph ffdshow2099 (forced subtitle).png')
http://www.allfreeportal.com/imghost/thumbs/32710303.png ('http://www.allfreeportal.com/imghost/images/32710303.png')
Using version ffdshow_rev2099_20080903_clsid_sse_icl10 pin Subpicture the DVD Navigator is connected to pin Subpicture MPEG-2 Video Decoder.
In this situation will play normally forced subtitles
http://www.allfreeportal.com/imghost/thumbs/626filtergraph ffdshow3256 (no forced subtitle).png ('http://www.allfreeportal.com/imghost/images/626filtergraph ffdshow3256 (no forced subtitle).png')
Same result by doing the decoding directly to ffdshow
http://www.allfreeportal.com/imghost/thumbs/22543902.png ('http://www.allfreeportal.com/imghost/images/22543902.png')
http://www.allfreeportal.com/imghost/thumbs/52514301.png ('http://www.allfreeportal.com/imghost/images/52514301.png')
MatLz
12th February 2010, 15:42
3259 doesn't work for me....it happens with all imput plugins and with/without other filterings.
Take a look here:
http://forum.doom9.org/showthread.php?t=150365&highlight=.vdf%3F
I explain (in a bad english:D) how I do.
tal.aloni
12th February 2010, 15:50
so, you're using the script in another program,
like avisynth, virtualdub etc...
MatLz
12th February 2010, 16:00
so, you're using the script in another program,
like avisynth, virtualdub etc...
Yes. It's for ponctual using of ffdshow filters like noise, vertical lines... So if it is just a problem with my system, I can just install 3200 when I will need it...
tal.aloni
12th February 2010, 16:05
Yes. It's for ponctual using of ffdshow filters like noise, vertical lines... So if it is just a problem with my system, I can just install 3200 when I will need it...
I've made some changes to the code recently, so it makes sense that a problem exist, however, I still can't recreate it,
perhaps there is some setting that you forgot to mention that triggers it.
so far:
I've created a preset that include OSD / deinterlacing / perspective correction.
I've made a file contains:
DirectShowSource("C:\1.mkv")
ffdshow(preset="deint")
I'm viewing this file in virtualdub / avisynth without a problem.
tal.aloni
12th February 2010, 16:18
MatLz,
Maybe the dll in the plugin directory needs to be updated?
Keiyakusha
12th February 2010, 16:24
Hi!
I have another problem:
I can't use FFDShow() in avisynth scripts anymore.
Depending the input colorspace:
yv12: chaotic frames order, sometimes green display
rgb: choatic frames order, sometimes black display
yuy2: only green display
In all cases, the filtering isn't applied.(on the rares frames correctly displayed)
Not sure if I'm doing it right, but I'm getting the same problem with this script:
DirectShowSource("123.mp4")
ffdshow(preset="VirtualDub")
Where mp4 contains h264 stream and decoded by CoreAVC
and preset contains only one filter Levels, only one half, mode original, automatic.
MatLz
12th February 2010, 16:25
Maybe the dll in the plugin directory needs to be updated?I don't know but it's ffdshow itself wich install ffavisynth dll and avsi afaik!
I uploaded one of my preset, don't know If it helps...
Www.sendspace.com/file/2qrgqq
tal.aloni
12th February 2010, 16:34
MatLz,
I was still using 3200 :facepalm:
I'm seeing it now, I'm on it.
MatLz
12th February 2010, 16:43
MatLz,
I was still using 3200 :facepalm:
I'm seeing it now, I'm on it.
No problem...but :D!
;)
@Keiyakusha
That means you use ffdshow two consécutive times?
Keiyakusha
12th February 2010, 20:08
@Keiyakusha
That means you use ffdshow two consécutive times?
No, once...
MatLz
12th February 2010, 20:30
No, once...So that means the using of coreavc completely disable the ffdshow video decoder configuration...? I didn't know that.
Keiyakusha
12th February 2010, 20:39
So that means the using of coreavc completely disable the ffdshow video decoder configuration...? I didn't know that.
Sorry, I don't really understand what you talking about.
Currently I'm using ffdshow for everything except h264. I just want to use its postprocessing in avs script but its not working, exactly as you described.
tal.aloni
12th February 2010, 20:41
MatLz,
ffavisynth should be back working in rev. 3260
Thanks for reporting the bug!
Tal
MatLz
12th February 2010, 20:50
MatLz,
ffavisynth should be back working in rev. 3260
Thanks for reporting the bug!
Tal
Thanks for fixing the bug so quickly!
@Keiyakusha
What happen if you put your script in vdub? Do the ffdshow icon appear in the icon notification zone?
Keiyakusha
12th February 2010, 21:24
What happen if you put your script in vdub? Do the ffdshow icon appear in the icon notification zone?
As I say... I see exactly the same as you described in your post, which I quoted. No, there is no icon. I'm not using ffdshow for decoding so I don't see why it should be there.
EDIT: If I will use ffdshow for decoding, there is no point to use the plugin since I can set profile that will run only with virtual dub and enable there whatever I want.
tal.aloni
12th February 2010, 21:40
Guys,
build 3261 will allocate 17 DX buffers instead of 16 (XP) / 22 (Vista / Windows 7). (H.264 specs require 17).
if anybody is having a problem with it, let me know.
I assume that if nobody will have problem, MPC-HC will follow.
rsd78
12th February 2010, 22:02
Guys,
build 3261 will allocate 17 DX buffers instead of 16 (XP) / 22 (Vista / Windows 7). (H.264 specs require 17).
if anybody is having a problem with it, let me know.
I assume that if nobody will have problem, MPC-HC will follow.
Does this offer any functional benefit for ffdshow dxva, or more a compliance to the h.264 spec?
Keiyakusha
12th February 2010, 22:11
ffavisynth should be back working in rev. 3260
It works! :thanks:
tal.aloni
12th February 2010, 23:09
Does this offer any functional benefit for ffdshow dxva, or more a compliance to the h.264 spec?
mostly compliance, some exotic low-resolution streams might need 17 surfaces.
it might give a tiny performance gain for Vista / Windows 7.
Edit:
for XP, I had to revert to 16 DX surfaces, VMR9 is limited to 16.
jhb50
13th February 2010, 06:58
I have an ASUS 1201HA z520 atom with Intel GMA500, and XP Home SP3 installed. I am simply trying to utilize the GMA DXVA capabilities and play MP4 AVC videos under XP.
Cyberlink's POWERDVD9 does this correctly. Videos that took 100% cpu with COREAVC only take 25% using POWERDVD9, however there is no subtitle support and being hearing impaired, I would like to use a player that does support them.
Using ffdshow DXVA 3265, I get a BSOD with MPC-HC (any version thru 1260) and VMR9. The same thing happens using the standalone MPC Video Decoder 1249 in MPC-HC 1260, Zoom or WMP. The STOP message references the Intel GMA500 driver, but POWERDVD works correctly with its H264/AVC decoder.
I have tried to use the Cyberlink H264/AVC decoder from PDVD9 with Zoom but I receive an error that the class is not registered, and have not been able to get around that.
So are ffdshow DXVA and the MPC Video Decoder providing incorrect data to the Intel GMA 500 driver or is there a driver bug that Cyberlink has found a work around to.
I have provided more info in Bug report #233 and #277 to MPC-HC project, and would be happy to provide more info here to get this problem fixed.
Seems to me if Cyberlink can successfully use the GMA500 DXVA capabilities under XP, that MPC and ffdshow should be able to do the same. At a minimum they should not cause a BSOD!
Thanks for any info you can provide me on this.
tal.aloni
13th February 2010, 10:08
jhb50,
I have personally went through all of the DXVA code imported from MPC-HC, all is according to standard, I haven't encountered any quirk or a hack that may cause a BSOD.
it's probably a driver issue, however, it's odd that powerdvd works and ffdshow / MPC-HC does not.
have you tried other renderers beside VMR-9? (try overlay mixer / VMR-7 / not-renderless)
are you using the lastet version of the GPU driver?
p.s.
on second thought, there are a few things that we might be doing differently than cyberlink:
1. we always allocate the maximum number of buffers, optimal decoder would allocate only the necessary amount.
2. we try to negotiate DXVA 2.0 under XP, without checking the OS version.
however, those are not supposed to cause BSOD.
jhb50
13th February 2010, 19:03
Thanks for the response.
Yes, I have used both the 1012 XP driver that came with the system and the 1018 XP driver from Intel.
I will go and test each of the available renderers now and report back.
My understanding was that XP only supported DXVA1 and indeed DXVA Checker reports that as per the attached. Also Cyberlink reports DXVA1 support as per the CL1 attachment. Could this be the problem? It also appears that the MPC-VD believes that DXVA should work because it does not revert to DXVA OFF mode so something is going wrong between that point and the BSOD.
OK, tested with Overlay, VMR7 and 9 windowed and renderless..all BSOD'd. With Haali renderer it loaded MPC VD but it reported "Not Using DXVA".
I also note that the MPC-VD pin info reports "Pin: (C) 2007 Google Inc. v06.24.2007". How did Google get involved in this?
I'm also wondering if there is any way for me to get the PDVD9 X264 filter to load in order to test a different DXVA filter with MPC-HC. Currently it reverts to the next highest merit VD, and if I disable them all but Cyberlink, no VD gets loaded.
Zoom reports CL 264 Filter "Class not registered" and reverts to the next highest merit. I don't know how to get around this or of any other DXVA VD that I can try. Any ideas?
Peuj
13th February 2010, 19:30
Hi,
I have something wrong in my ffdshow presets that makes crash MPC-HC. I use ffdshow rev3265 and MPC-HC rev1650.
I've created 2 presets "TV HD" and "TV SD". When I watch an HD movie (ex:http://playlist.yahoo.com/makeplaylist.dll?sid=101880217&sdm=web&pt=rd), MPC-HC crashes.
This happens only with my 2 presets and the H.264/AVC ffdshow codec.
If I select the default preset and the H.264/AVC ffdshow codec, I don't have the problem.
If I select my 2 presets and an external codec (and with ffdshow "Raw video" activated), I don't have the problem.
Here's the settings exported with ffdshow http://www.megaupload.com/?d=M8H22LUH
If somebody could look at it explain me what's wrong.
Thanks
tal.aloni
13th February 2010, 20:39
Peug,
during debug, I found out that the problem is that ffdshow and ffdshow DXVA share the active preset key.
I'm looking into it.
Peuj
13th February 2010, 20:51
Peug,
during debug, I found out that the problem is that ffdshow and ffdshow DXVA share the active preset key.
I'm looking into it.
Thanks :)
tal.aloni
13th February 2010, 21:20
fixed for rev. 3266,
this should have a big effect on many settings.
deets
13th February 2010, 21:56
hmm playback of any BBC HD is not stretched to 16:9, just stays 4:3. works in all other decoders?
and any chance live streams will be looked at :)
tal.aloni
13th February 2010, 23:49
jhb50,
Windows XP uses DXVA 1.0,
Windows Vista / Windows 7 uses DXVA 2.0
(I pointed out that ffdshow negotiate DXVA 2.0 under windows XP, because it's possible (not confirmed) that you can get DXVA 2.0 to work under XP with VC-1 & EVR)
the BSOD might be also caused by an additional filter in the chain, or additional software that is installed in your system.
(a rogue filter would explain why powerdvd is not effected)
there is not a lot that I can do for you at this point,
debug log will require some effort, the only other option you have if you want to make ffdshow work, is to initiate a debug session, and see in which line of code triggers the BSOD.
however, this might require a lot of effort on your behalf.
p.s.
I know that it's possible to use cyberlink video decoder from other directshow based players, like media player classic.
(it used to take over my system when I tested powerdvd)
Keiyakusha
14th February 2010, 00:37
Windows 7 uses DXVA 2.0
Afaik win7 also uses DXVA-HD which is DXVA 3.0 or something like that. Is it somehow usefull for ffdshow? Does it actually works on non-directx11 videocards?
albain
14th February 2010, 10:30
Hi,
some updates on bluray subtitles : it is now working and it was more difficult than I thought because both ffmpeg and mplayer PGS implentation are buggy.
I'll send my code to MPC team (or I'll fix it by myself if I have time)
It also took some time because I would like to be able to use the scaler used by vobsub : gaussian, bilinear,... scalers
It will let us have the best rendering quality as any other player.
Also, some extra work was needed to adapt the position and size of the subtitles if one enables the resize filter or enable subs zooming.
tal.aloni
14th February 2010, 10:40
wow, sounds promising!
on another note,
I realized yesterday that the reason our previous DXVA post processing methods (blend / full post-processing) were causing garbled output, is because of the bug fixed in rev. 3258 (some mechanism that dropped input samples)
what's happening with the bugfix applied, is that the playback is simply slowing down. it doesn't really change anything though, full post-processing is still not fast enough, blend might be, but not for all settings.
Sebastiii
14th February 2010, 11:31
Great news :)
Thx you guys ;)
Seb.
albain
14th February 2010, 11:38
Afaik win7 also uses DXVA-HD which is DXVA 3.0 or something like that. Is it somehow usefull for ffdshow? Does it actually works on non-directx11 videocards?
Don't know but it would be a replacement solution to the resize filter
tal.aloni
14th February 2010, 11:55
I've made a quick fix to the problem reported earlier (VC-1 crash at the end of the stream).
right now, up to 11 of the last frames in VC-1 may be truncated when using DXVA, I hope to implement a thorough fix that will also include more efficient frame ordering when I have the time.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.