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

albain
4th January 2010, 12:44
First you have to download debugview (google it)

Then in FFDShow video configuration, goto info & cpu section and check "send output strings to debugger"

Then launch debugview before playing the video and that's all

NiFa
4th January 2010, 13:04
Where I should put the log files?

SamuriHL
4th January 2010, 13:07
Go to www.pastebin.com and send it up there and paste the download link here.

NiFa
4th January 2010, 13:13
Ok, here are the debuglogs:

Debuglog from revision 3154 (http://pastebin.com/f26c11466)
Debuglog from revision 3174 (http://pastebin.com/f60f832a9)

Frans
4th January 2010, 15:45
I have a tiny request... resize by specifying the vertical size only (right now ffdshow have specify horizontal size). I ask this because I want to resize video content that have smaller aspect ratio than my monitor to the exact vertical resolution of my monitor. Example is resizing 640x480 to 1400x1050, 720x480 to 1575x1050.
It would be even better if there's an option to resize the content to the nearest screen resolution without adding the black bars. Current ffdshow resize to screen resolution will add black bars if the content doesn't match the screen aspect ratio, thus throwing off the aspect ratio that is embedded within the source which resulted in subtitle not being displayed at the correct place unless you use ffdshow subtitle and put it before resize which make the sub not as sharp as when the subtitle filter is placed after the resize.

albain
4th January 2010, 16:04
Ok, here are the debuglogs:

Debuglog from revision 3154 (http://pastebin.com/f26c11466)
Debuglog from revision 3174 (http://pastebin.com/f60f832a9)

Okay, there is this :
TffdshowDecAudio::StartStreaming Audio renderer replaced successfully

This is a feature that I removed because it was buggy : in output section you had the possibility to select a multichannel device that is not the default audio endpoint if the input stream is multichannel.

In fact FFDShow after starting streaming would stop the graph and will disconnect the audio renderer and load the selected one.

This "hack" caused many stability problems (crashes), which is why I removed it.

You should make sure that the default audio endpoint selected in windows is the same as the one you selected in FFDShow rev 3054.

As this is a 3 channels stream that you outputted in SPDIF format, the default audio endpoint should be SPDIF or HDMI.

albain
4th January 2010, 16:08
Otherwise, there is a problem in recent builds with crop filter, someone changed it ?

On some videos, under 15% set of vertical cropping, nothing occurs.

But if I set 15 then it works (at 15%).

I experience this issue on MKV under windows media center (on windows 7). Didn't try other players for now

ipanema
4th January 2010, 16:21
When using the ffdshow video encoder, the maximum setting of the bitrate slider is 10000 kbps. Is is possible to set this higher?

Typing a higher value into the bitrate edit box makes it go red.

I'm using ffdshow v3048

albain
4th January 2010, 16:58
Here is a new DXVA build.

Changes :

The FFDShow DXVA decoder will unload if the DXVA decoding is disabled
The FFDShow DXVA decoder will not complete connection (and will be unloaded) if the DXVA format is not supported (instead of switching to software decoding mode)
Added a compatibility combobox in the DXVA options.


Todo : a few cosmetic changes (remove internal filters list which is empty), code cleaning.

http://www.mediafire.com/file/zznf0tndyxe/ffdshow_rev3180_20100104_dbt_dxva_beta2.exe

dann23
4th January 2010, 17:37
Hello. With beta2 I can play all the movies, but I have to choose Ignore number of reference frames . For me it remains the problem with seeking in wmp11. thank you for your work.

NiFa
4th January 2010, 17:42
Okay, there is this :
TffdshowDecAudio::StartStreaming Audio renderer replaced successfully

This is a feature that I removed because it was buggy : in output section you had the possibility to select a multichannel device that is not the default audio endpoint if the input stream is multichannel.

In fact FFDShow after starting streaming would stop the graph and will disconnect the audio renderer and load the selected one.

This "hack" caused many stability problems (crashes), which is why I removed it.

You should make sure that the default audio endpoint selected in windows is the same as the one you selected in FFDShow rev 3054.

As this is a 3 channels stream that you outputted in SPDIF format, the default audio endpoint should be SPDIF or HDMI.
My default audio output is VIA High defination audio spdif interface (TX1), which is same one that I use with 3154 as multichannel device.
Is there anything else which could cause the problem? I have installed latest drivers for my soundcard.

EDIT: I tried revision 3179 from xvidvideo.ru, but I still do have same problem.

albain
4th January 2010, 18:30
Hello. With beta2 I can play all the movies, but I have to choose Ignore number of reference frames . For me it remains the problem with seeking in wmp11. thank you for your work.

Seeking works under MPC-HC ?

@NiFa : for now I don't have anymore ideas but that shouldn't be very complicated if we have a working build

dann23
4th January 2010, 18:30
I also see a green top band on some movies.

dann23
4th January 2010, 18:36
Seeking works under MPC-HC ?

@NiFa : for now I don't have anymore ideas but that shouldn't be very complicated if we have a working build

no. the same problem. for you it's working?

NiFa
4th January 2010, 20:30
@NiFa : for now I don't have anymore ideas but that shouldn't be very complicated if we have a working build
It would be nice if someone could figure out where the problem lies, so I and others who have same problem could use newer revisions also and not only up to 3154. Hopefully it's not a big problem and is easy to fix.

albain
4th January 2010, 20:31
no. the same problem. for you it's working?

There is a bug in this build.
Please don't use it anymore. I will post a new one very soon

EDIT : actually there are 2 bugs, I also have a problem with seeking

albain
5th January 2010, 08:21
@crlorentzen, Nifa : I didn't see crlorentzen's post earlier about the AC3 encode mode option.

When this option is unchecked, DTS passthrough works, right ?

The problem is narrowed down to this option which should be easier to digg around

albain
5th January 2010, 09:16
@crlorentzen, Nifa : could you please retest with this new build with AC3 encode mode checked and then checked ?

I added a new traces and also changed a few things. I don't expect that the things I changed make this work but why not.
Still, the additional traces should tell us more about the problem.

So if this doesn't work, please paste again debugview logs with AC3 encode unchecked and then checked.

You may get stutterring because there will be many more traces.

Now, about DXVA
This new build also fixes the yesterday bug (DXVA2 could not work unlike DXVA1).
However, I still can't seek, don't know why. I will work on this later.

Here is the link (http://www.mediafire.com/file/1qq11n2mbzn/ffdshow_rev3180_20100104_dbt_dxva_beta3.exe)

Snowknight26
5th January 2010, 09:37
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/trunk/src/dialog/Coutsfs.cpp?annotate=3180&pathrev=3180#l62

Line 62 could use some work in the grammar department.

NiFa
5th January 2010, 09:53
@Albain: Here are to debuglogs with AC3 encoder enabled and disabled.
AC3 encoder enabled (http://pastebin.com/f6efb7147)
AC3 encoder disabled (http://pastebin.com/f50ea349b)

Now I get sound even when AC3 encoder is enabled, there seems to be hope that this problem can be solved.

albain
5th January 2010, 16:23
@Albain: Here are to debuglogs with AC3 encoder enabled and disabled.
AC3 encoder enabled (http://pastebin.com/f6efb7147)
AC3 encoder disabled (http://pastebin.com/f50ea349b)

Now I get sound even when AC3 encoder is enabled, there seems to be hope that this problem can be solved.

Okay, so this is working ?

buzzqw
5th January 2010, 16:31
Hi albain

i have a nvidia gt240 that support vc1/h264 AND mpeg4/mpeg2, i will gladly do some test on dxva if you like
(my specs are Intel e8400, win7 32bit, gt240, amply: yahama 663 )

BHH

dann23
5th January 2010, 21:35
with beta 3 I can't play any of my movies. they are not starting. the same behavior for wmp11 and mpchc.

NiFa
5th January 2010, 21:59
Okay, so this is working ?
Yes, it works, but I got heavy stuttering, just as you said I might get, in your earlier post.

Redsandro
6th January 2010, 01:02
Random question: Is there a recommended SVN version on the sourceforge download page? I do like some stability but the latest stable build is from 2008.

crlorentzen
6th January 2010, 03:54
@crlorentzen, Nifa : could you please retest with this new build with AC3 encode mode checked and then checked ?

I added a new traces and also changed a few things. I don't expect that the things I changed make this work but why not.
Still, the additional traces should tell us more about the problem.

So if this doesn't work, please paste again debugview logs with AC3 encode unchecked and then checked.

You may get stutterring because there will be many more traces.

Now, about DXVA
This new build also fixes the yesterday bug (DXVA2 could not work unlike DXVA1).
However, I still can't seek, don't know why. I will work on this later.

Here is the link (http://www.mediafire.com/file/1qq11n2mbzn/ffdshow_rev3180_20100104_dbt_dxva_beta3.exe)

3180 works, I get sound with DTS pass-through and AC3 encode enabled, AC3 re-encode is sent to the receiver. Disable AC3 encode and we get the better DTS pass-through.

We still need to work on an order of operations/precedence issue, pass-through should override the AC3 Encode option.

Looking better though.

iron2000
6th January 2010, 09:44
Will wait for a 64-bit DXVA ffdshow.

albain
6th January 2010, 10:25
Hi again,

here is a new *all-in-one* beta build :
http://damienbt.free.fr/ffdshow_rev3181_20100104_dbt_dxva_beta4.exe

1/ DXVA fix : there was a deadlock in the flushing that blocked the seeking. Now this is fixed.

2/ DTS passthrough fix in AC3 encode mode

I removed the debug traces that I added before.

However you should uncheck the "send output debug string" option in FFDShow video configuration.

Please report if both are working (DXVA & DTS)

NiFa
6th January 2010, 11:32
I can't get DXVA to work, I get bad framedrop about every 2 seconds. Also I can't disable DXVA decoder, it's seems to be forced ON despite what I try to do.

albain
6th January 2010, 11:46
I can't get DXVA to work, I get bad framedrop about every 2 seconds. Also I can't disable DXVA decoder, it's seems to be forced ON despite what I try to do.

I can't reproduce your problems

If you uncheck H264 and VC1 boxes in FFDshow DXVA configuration > Hardware acceleration then it won't be used.

Also, note that the tray icons are different : the DXVA tray icon is orange whereas the classic video is red.

Lastly, some videos are not compatible with DXVA but will still be loaded if you set the compatibility option to max (ignore number of reference frames) and in that case you will get artifacts or weird results

Lastly (2), you don't have to force FFDShow in MPC > optoins > external filters. You should remove any of these.

By default FFDShow dxva has the same merit as video + 1.

The best approach to play with the presets is the following.

Let's say that you want DXVA to be used for 1080p and not for the others

1/ FFDshow DXVA config : define a default preset with H264/VC1 unchecked and enable presets autoload feature
2/ FFDShow DXVA config : define a HD preset loaded if input resolution is >= 1920x1080 and with H264/VC1 checked
3/ FFDShow video config : nothing to do apart enabling H264 decoding

NiFa
6th January 2010, 12:00
I tried to disable DXVA by unchecking H264 and VC1 boxes, but ffdshow videodecoder still says that input FOURCC is AVC1 and decoder is libavcodec h264. I have disabled both also from videodecoder codecs, but I still can't get MPC-HC to use coreavc which I normally use.

albain
6th January 2010, 12:23
That's what I suspected : FFDShow DXVA is not loaded, probably because FFDShow video has a higher merit.

You can use a tool called DSFMGR (google it) : launch it in administrator mode (right click).

Sort by merit and check who has a higher priority. You can change them.

If you want coreAVC to be used you should put it on top (or use alternate codec feature of FFDShow, ask me about it if necessary)

Sebastiii
6th January 2010, 13:18
Hi,

I can't test @ work, my card don't have HW DXVA, i 'll test it @ home :) but again thx for your work :).
Seb :)

_xxl
6th January 2010, 13:19
For an unknown reason I had to uninstall older version of ffdshow 3154 and then to reinstall 3178. That fixed an issue that I had experienced when seeking mpc-hc it just used 100% of my cpu and the player didn't responded to any commands. Maybe ffdshow installer should uninstall first older version? Or just to have a option that let user to do so?

NiFa
6th January 2010, 13:28
Ok, I got coreAVC to work. Now only problem I have is DTS passthrough when playing DVD's (AC3 soundtracks play just fine), my receiver does get to DTS flag but it flickers whole time and I don't get sound at all.

fastplayer
6th January 2010, 13:28
For an unknown reason I had to uninstall older version of ffdshow 3154 and then to reinstall 3178. That fixed an issue that I had experienced when seeking mpc-hc it just used 100% of my cpu and the player didn't responded to any commands. Maybe ffdshow installer should uninstall first older version? Or just to have a option that let user to do so?
Maybe ffdshow.ax was in use resp. locked and couldn't be updated. Did you do a reboot after installing 3178?

_xxl
6th January 2010, 13:32
Maybe, but I had installed ffdshow in program files after I had compiled ffdshow.ax.

albain
6th January 2010, 14:04
Ok, I got coreAVC to work. Now only problem I have is DTS passthrough when playing DVD's (AC3 soundtracks play just fine), my receiver does get to DTS flag but it flickers whole time and I don't get sound at all.

Okay, you didn't experience this in rev 3154 ?

NiFa
6th January 2010, 14:18
No, only with newer revisions, with 3154 everything works.

albain
6th January 2010, 14:34
@xxl, clsid : do you guys experience the same issue with DTS ?

Because I can't reproduce it, it would be helpful if one of you could take a look, thanks

crlorentzen
6th January 2010, 14:36
Hi again,

here is a new *all-in-one* beta build :
http://damienbt.free.fr/ffdshow_rev3181_20100104_dbt_dxva_beta4.exe

1/ DXVA fix : there was a deadlock in the flushing that blocked the seeking. Now this is fixed.

2/ DTS passthrough fix in AC3 encode mode

I removed the debug traces that I added before.

However you should uncheck the "send output debug string" option in FFDShow video configuration.

Please report if both are working (DXVA & DTS)

DTS pass-through with AC3 encode and Compatibility mode, still re-encodeded AC3 (I hear sound but it is Doldby Digital). I can see about logs tonight/tomorrow.

NiFa
6th January 2010, 14:54
I got DTS passthrough to work, for some reason mpc-hc's audio switcher was disabled, when I enabled it DTS passtrough started to work without any problems.

fastplayer
6th January 2010, 14:58
Are "Max. amplification", "Regain volume", and "Reset on seek" in any way dependent on the "Normalize" option? For instance, does "Normalize" need to be enabled for "Regain volume" to work?

clsid
6th January 2010, 15:29
@albain
Unfortunately, I don't have a receiver, so I can't test any S/PDIF related stuff.

@fastplayer
Yes, those three settings apply only when normalization is active.

fastplayer
6th January 2010, 15:36
@fastplayer
Yes, those three settings apply only when normalization is active.
OK, then for better usability, they should be grayed-out when "Normalization" is off. Or the "Normalization" check box should be automatically switched on when one of the sub items is being enabled.

dann23
6th January 2010, 15:59
with beta3 and beta4 I can't play my movies with dxva. the codec is loaded (the icons from systray) but the movie doesn't start.

_xxl
6th January 2010, 16:02
@albain

Sorry I can't you help with that, because I can't test S/PDIF.

tal.aloni
6th January 2010, 16:55
@albain

I can test AC3 / DTS passthrough,

I'll try with the latest revision later, I didn't have any DTS issues earlier when I checked "connect as PCM first".

roytam1
6th January 2010, 17:12
with beta3 and beta4 I can't play my movies with dxva. the codec is loaded (the icons from systray) but the movie doesn't start.

for me the situation is even worse. stream from dvbviewer and files that can play with mpc video decoder(I checked DXVA only) don't connect with ffdshow DXVA decoder.

dann23
6th January 2010, 18:33
for me the situation is even worse. stream from dvbviewer and files that can play with mpc video decoder(I checked DXVA only) don't connect with ffdshow DXVA decoder.

windows xp? :)