Log in

View Full Version : ffdshow tryouts project: Discussion & Development


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 [226] 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308

zummi
1st April 2010, 19:52
Hi, quick question. Is there a way to give DXVA higher priority than non-DXVA? I've tried moving the merit-bars around, but regular ffdshow always "wins" unless i completely disable it - which then again gives me trouble with non-dxva content. I'm using regular WMP through W7 MediaCenter... Thanks :-)

SamuriHL
1st April 2010, 20:15
See? I'm not the only one with merit problems with dxva vs non! :)

rsd78
1st April 2010, 20:49
See? I'm not the only one with merit problems with dxva vs non! :)

Using Shark's codec pack I never ran into this issue on W7 WMC. I know people tend to frown on packs (including myself in the past), but for W7 it works well at least for me.

SamuriHL
1st April 2010, 21:14
Using Shark's codec pack I never ran into this issue on W7 WMC. I know people tend to frown on packs (including myself in the past), but for W7 it works well at least for me.

I hate codec packs. I'm not even going to entertain that thought. It's as simple as that.

rsd78
1st April 2010, 21:21
I hate codec packs. I'm not even going to entertain that thought. It's as simple as that.

I never used them for Vista and earlier (I've had a dedicated "HTPC" for close to 7 years now, and my background is in Software Engineering so I'm not an idiot when it comes to computers/software), but I have had very good experiences with this one because it let's me make major changes in settings with a few clicks and I can always uninstall it w/o it leaving any permanent marks on the system. At the end of the day it worked, and saved me a little less effort in terms of getting my htpcs up and running. But I totally respect your stance as well :)

SamuriHL
1st April 2010, 21:25
I totally respect that. I never used them for Vista and earlier, but I have had very good experiences with this one because it let's me make major changes in settings with a few clicks and I can always uninstall it w/o it leaving any permanent marks on the system.

That's the sign of a good codec pack, but, I find that it's always better to install EXACTLY what you need rather than a blanket codec pack. (And yes, I do realize that the good codec packs allow you to control what gets installed, but, I'd rather do it myself as needed). Just a philosophical thing. For me, I forced the merit on ffdshow dxva in MPC-HC and called it good. But, I was also told this wasn't necessary because it should be higher than the non-dxva version. I suspected that was wrong but I was the only one reporting it so I left it at that. :)

clsid
1st April 2010, 21:44
The default merit for ffdshow is FF800001 and for DXVA FF800002.

Be aware that for WMP/MC on Windows 7 you need to use tweaks to change the preferred decoder in order to override the Microsoft decoders.

SamuriHL
1st April 2010, 21:47
I haven't tried to use it outside of MPC-HC. For whatever reason it decided to choose ffdshow instead of DXVA until I forced it by adding it to external filters and setting it to prefer. Then it was all good. As long as no one else is running into it I'm good with that. You're right about having to tweak it on W7. MS decoders just don't like going away on their own. :D

zummi
1st April 2010, 22:11
The default merit for ffdshow is FF800001 and for DXVA FF800002.

Be aware that for WMP/MC on Windows 7 you need to use tweaks to change the preferred decoder in order to override the Microsoft decoders.

I've been running the Windows 7 DS filter tweaker tool, but it only lets me choose ffdshow, not dxva specifically...

DigitalDeviant
1st April 2010, 23:51
Here is a new build (http://damienbt.free.fr/ffdshow_rev3343_20100401_dbt_newlibs_beta11.exe)

Fixes :

Bluray subtitles fixes : now all are displayed
Stability fixes on bluray subtitles
Crashes fixed when using YUY2 colorspace with subtitles (this is a workaround inside ffmpeg but Tspuimage should not rescale picture plane by plane but all the planes at the same time)
New ffmpeg libraries inside (libswscale and libpostproc)


Still no luck with this (http://www.mediafire.com/?anywvxwl3m4) sample. Now instead of displaying both subtitles at the top of the screen (the 2nd is supposed to be at the bottom) it just shows the 1st and does not display the 2nd at all. Previous versions would have ended the 1st subtitle and displayed the 2nd at the top in it's place.

zummi
2nd April 2010, 00:17
Using Shark's codec pack I never ran into this issue on W7 WMC. I know people tend to frown on packs (including myself in the past), but for W7 it works well at least for me.

if a codec pack can do it, I'm guessing it's also possible to do it manually somehow. Just gotta figure out how. Glad I'm not the only one with this issue though :)

rica
2nd April 2010, 00:30
I've been running the Windows 7 DS filter tweaker tool, but it only lets me choose ffdshow, not dxva specifically...

Try this tool:

http://alax.info/blog/1111

And MPC-HC,

so as to give an idea: (have a look at internal filters setup)

http://forum.doom9.org/showthread.php?t=152520

SamuriHL
2nd April 2010, 00:55
Try this tool:

http://alax.info/blog/1111

And MPC-HC,

so as to give an idea: (have a look at internal filters setup)

http://forum.doom9.org/showthread.php?t=152520

I had disabled all the internal filters. Didn't matter.

clsid
2nd April 2010, 15:08
I've been running the Windows 7 DS filter tweaker tool, but it only lets me choose ffdshow, not dxva specifically...
Added in version 3.1 ;)

zummi
2nd April 2010, 15:14
Superb...just superb :) will non-dxva ffdshow be selected if the video file isn't dxva-compatible?

clsid
2nd April 2010, 16:12
I haven't tested it, but I assume it will then simply pick whichever other filter with the highest merit, which should be normal ffdshow.

albain
2nd April 2010, 17:15
I have brought new fixes to bluray subtitles management, but this is not perfect : simultaneous subtitles are not handled correctly (previous one stops when new one starts whereas previous one should continue)

I'll work on new ffmpeg libraries, I hope that I'll be able to commit them soon

Sebastiii
2nd April 2010, 17:17
I have brought new fixes to bluray subtitles management, but this is not perfect : simultaneous subtitles are not handled correctly (previous one stops when new one starts whereas previous one should continue)

I'll work on new ffmpeg libraries, I hope that I'll be able to commit them soon

Thanks again for all work you made :)
Seb.

zummi
2nd April 2010, 17:48
I haven't tested it, but I assume it will then simply pick whichever other filter with the highest merit, which should be normal ffdshow.

It works! Thanks a million :-)

magic144
2nd April 2010, 21:49
just stumbled across this forum looking into BD subtitle support!

has anybody seen this problem report and is this a known issue at all??

http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?t=1448

cheers,
m

[EDIT]
raised this under Bugs forum:
http://ffdshow-tryout.sourceforge.net/phpBB2/viewtopic.php?p=4994#4994
and on tracker
https://sourceforge.net/tracker/?func=detail&aid=2981790&group_id=173941&atid=867360

Piyoko
2nd April 2010, 22:17
Hello,

I noticed that on all builds after r3274 I'm getting a 1 pixel white outline to the right on all DVD subtitles, like so:
http://img338.imageshack.us/img338/8094/subs.png (http://img338.imageshack.us/i/subs.png/)

Is this a known bug?

STaRGaZeR
2nd April 2010, 23:50
Yup, albain already knows about it.

zummi
3rd April 2010, 14:39
Hi guys, two questions:

1. When seeking in an mkv with TrueHD wmp crashes within 2 seconds. Haven't seen much about this problem, so it could just be me? I'm using win7x64, ffdshow x64, mpc-hc splitter and ATI 5000-series for bitstreaming. DTS HD works like a charm.

2. Where can I find a "donate"-button for this project?

DigitalDeviant
3rd April 2010, 14:52
Still no luck with this (http://www.mediafire.com/?anywvxwl3m4) sample. Now instead of displaying both subtitles at the top of the screen (the 2nd is supposed to be at the bottom) it just shows the 1st and does not display the 2nd at all. Previous versions would have ended the 1st subtitle and displayed the 2nd at the top in it's place.

With 3345 both lines show and in the correct position. I think the first subtitle ends too early though.

MatLz
3rd April 2010, 19:23
Hi!
Maybe found a bug
Found on 3326, updated to 3345 but still bug:

For testing I outputed a YV16 avi with Vdub.

If I use directshowsource on this avi in an avs script, it (the report points ffdshow.ax) crashes.
I noticed that happens ONLY if, in the image properties processing, contrast OR brightness are used (default values don't crash)

But strangely, all is fine on playback with MPC...:confused:

Nyquist
3rd April 2010, 22:39
After upgrading ffdshow (now rev 3345), videos encoded with AVC/H.264 are looking very blurry when post processing is enabled. On earlier revisions, post processing didn't do anything on H.264 encoded videos.

Maybe a bug? Or a new feature?

fastplayer
3rd April 2010, 22:46
Maybe a bug? Or a new feature?
A new "feature" since rev 3335.

_xxl
4th April 2010, 07:00
Deblocking for H.264?
After upgrading ffdshow (now rev 3345), videos encoded with AVC/H.264 are looking very blurry when post processing is enabled. On earlier revisions, post processing didn't do anything on H.264 encoded videos.
Maybe a bug? Or a new feature?
Yes it should be removed from pp list. Why do need h.264 video's pp?

Nyquist
4th April 2010, 14:06
Yes it should be removed from pp list. Why do need h.264 video's pp?

I don't know.

The deblocking routines are working quite aggressively for h.264 videos. Much more than they should in my opinion.

_xxl
4th April 2010, 14:38
H.264 pp from original ffdshow:
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?view=rev&revision=99

sacharja
4th April 2010, 14:58
Hi guys, two questions:

1. When seeking in an mkv with TrueHD wmp crashes within 2 seconds. Haven't seen much about this problem, so it could just be me? I'm using win7x64, ffdshow x64, mpc-hc splitter and ATI 5000-series for bitstreaming. DTS HD works like a charm.

2. Where can I find a "donate"-button for this project?
I already posted this crash here. Happens for me for every h.264 file. Albein said he's going to fix it, but it seems he didn't have enough time.

Nyquist
4th April 2010, 20:07
H.264 pp from original ffdshow:
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?view=rev&revision=99

Hm, looks like there's a separate function for deblocking h.264? Normally I'm using SPP for DIVX/MPEG2 with different strenghts. But on a h.264 video even weak deblocking is blurrying the whole thing.

Astrophizz
5th April 2010, 03:38
H.264 has its own in-loop deblocking. Any further deblocking would blur the image as you have seen.

Mr VacBob
5th April 2010, 04:26
There is no reason to use spp or pp as a postprocessor for FF_QSCALE_TYPE_H264. Something like gradfun is more appropriate.

Nyquist
5th April 2010, 09:37
H.264 has its own in-loop deblocking. Any further deblocking would blur the image as you have seen.

I know. I'm only wondering, why the builtin post processing do so much blur on h-264 videos. On good videos I cannot see an effect of applying SPP deblocking to MPEG2 or MPEG4-ASP videos, no blurrying. I'd expect this behaviour for h.264, too.

Mr VacBob
5th April 2010, 19:00
H.264 has more than 10x larger qp values, and it's ignoring that the values mean something different for it, so it applies more than 10x too much postprocessing.

Nyquist
5th April 2010, 20:20
H.264 has more than 10x larger qp values, and it's ignoring that the values mean something different for it, so it applies more than 10x too much postprocessing.

Sounds like a reasonable explaination why. Thanks!

hoborg
6th April 2010, 09:49
Hi.

I just tested ffdshow_rev3345_20100402.exe build, CTRL+ALT+F4 or CTRL+ALT+numpad1 still doesnot working for me.
Only me ?

LigH
6th April 2010, 11:21
@LigH
I don't see those artifacts with the generic build. Could you test that?

Sorry for the late reply ...


I do not see this issue with the following builds:

- ffdshow_rev3304_20100304_sse_icl11 (ICL11, x86; xvidvideo.ru)

- ffdshow_rev3305_20100304_clsid_icl10 (ICL10, x86; SourceForge)

- ffdshow_rev3330_20100323 (generic, x86; xvidvideo.ru)
- ffdshow_rev3330_20100323_sse_icl11 (ICL11, x86; xvidvideo.ru)

- ffdshow_rev3334_20100325 (generic, x86; xvidvideo.ru)
- ffdshow_rev3334_20100325_sse_icl11 (ICL11, x86; xvidvideo.ru)


I see this issue with the following builds:

- ffdshow_rev3336_20100327 (generic, x86; xvidvideo.ru)
- ffdshow_rev3336_20100327_sse_icl11 (ICL11, x86; xvidvideo.ru)

- ffdshow_rev3337_20100329 (generic, x86; xvidvideo.ru)
- ffdshow_rev3337_20100329_sse_icl11 (ICL11, x86; xvidvideo.ru)

- ffdshow_rev3342_20100331_clsid (generic, x86; SourceForge)

- ffdshow_rev3345_20100402 (generic, x86; xvidvideo.ru)
- ffdshow_rev3345_20100402_sse_icl11 (ICL11, x86; xvidvideo.ru)


My CPU:
QuadCore AMD Phenom II X4 945 (Deneb), 3000 MHz (15 x 200), RB-C2;
x86, x86-64, MMX, 3DNow!, SSE, SSE2, SSE3, SSE4A


Probably related to rev. 3335: "added H264 format to postprocessing filter" -- maybe I should have changed some option there?

clsid
6th April 2010, 12:56
I tested with PP disabled, so that would likely be the cause.
That change has been reverted in 3347, so your problem is probably fixed now.

Killerattacks
6th April 2010, 15:07
I have a DTS passthrough issue with ffdshow. I'm currently using ffdshow_rev3342_20100331_clsid and a Radeon HD4xxx's HDMI output (supports SPDIF, but no 7.1/HD-audio).

I previously used the ffdshow version of the CCCP which is totally outdated but there I had no problems. For the ffdshow settings see the attached screenshot.

File 1:
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Format-Profil : ES
Codec-ID : A_DTS
Dauer : 1h 40min
Bitraten-Modus : konstant
Bitrate : 755 Kbps
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Auflösung : 24 bits
Stream-Größe : 544 MiB (27%)
Titel : 5.1 DTS
This file works fine with the old and the most recent ffdshow.

Audio
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Format-Profil : MA
Codec-ID : A_DTS
Dauer : 45min
Bitraten-Modus : variabel
Kanäle : 6 Kanäle
Kanal-Positionen : Front: L C R, Surround: L R, LFE
Samplingrate : 48,0 KHz
Auflösung : 16 bits
This file only works with the old ffdshow version or when I use MPC-HC internal DTS decoder for SPDIF passthrough.
I know it's DTS-MA but the core should still be a DTS bitstream right?
PS: Enabling DTS HD bitstream doesn't make any difference. My AV Receiver is Onkyo TX-SR607.

albain
6th April 2010, 18:26
Hi,

about bluray subtitles and subtitles in general, I am still working on it.

Pel (supread creator) and I are working on making a better PGS format support

The current implementation is not correct but I think I am close to the solution

There is also the new ffmpeg libs on their way, the last issues to fix

Shankster
6th April 2010, 19:02
Hi,

about bluray subtitles and subtitles in general, I am still working on it.

Pel (supread creator) and I are working on making a better PGS format support

The current implementation is not correct but I think I am close to the solution

There is also the new ffmpeg libs on their way, the last issues to fix

Hi albain, does your work include work on the dvd format vobsub subs aswell?

I am mainly thinking of this bug stated on the front page:

2. In some cases VobSub subtitle files (.idx/.sub) are loaded, but no subs are displayed. VobSub support is still incomplete.

As it is now, some movies will start with subtitles working fine, but after a while they disappear.

If it helps, vsfilter does not have this issue.

STaRGaZeR
6th April 2010, 20:42
Albain, did you finally disable jitter correction for THD? With the lastest revisions I get huge jitter (30 segs or more) that is causing crashes, silence and audio desync with m2ts files here. No issues with matroska though, jitter is always at ~0. Can anybody confirm?

DigitalDeviant
6th April 2010, 21:44
Albain, did you finally disable jitter correction for THD? With the lastest revisions I get huge jitter (30 segs or more) that is causing crashes, silence and audio desync with m2ts files here. No issues with matroska though, jitter is always at ~0. Can anybody confirm?

Confirmed.

STaRGaZeR
7th April 2010, 03:56
http://img338.imageshack.us/img338/8094/subs.png (http://img338.imageshack.us/i/subs.png/)

It seems this was introduced in r3284. r3283 had the subs half transparent but correctly displayed, r3284 fixed the transparency issue but introduced the white stuff.

swordsman
7th April 2010, 10:14
Hi, I use ffdshow in delphi app, and every time you guys
change iffdecoder I had to update my prog.
But you didn't update iffdecoder.h (nor delphi interface) in time.
Please update interface units.
Thanks

rsd78
7th April 2010, 18:07
Ok, I'll fix those 2

About DXVA + Haali + FF/RW : I'll make some deeper tests with 720p mkv to reproduce it

The only difference with you is that I own windows 7 x64

Hi Albain,

Just wanted to give you a heads up, but I tested with the newest Haali and I still get crashing while ff/rew with any mkv while using ffdshow dxva. I know you are aware (and very busy) but I wanted to let you know. Would love this to be fixed personally, as its the only thing from preventing me from using ffdshow dxva within Windows Media Center.

Thanks

albain
7th April 2010, 18:22
Hi, I use ffdshow in delphi app, and every time you guys
change iffdecoder I had to update my prog.
But you didn't update iffdecoder.h (nor delphi interface) in time.
Please update interface units.
Thanks

Could you explain a little more ?

@All : I have fixed the last issues on new ffmpeg libraries (nv12 black screen). Now everything is working
I'm doing some code cleanings but the modifications are ready to be committed.

Sebastiii
7th April 2010, 18:26
:thanks:
Seb.