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

Jay Bee
7th January 2008, 16:12
I see, learned something new. Anyway, even without multithreading libavcodec vc-1 is still very impressive and should be good enough for playback of HD files without dxva on most modern CPUs. The tests I did were with 2.7 GHz X2.

Inventive Software
7th January 2008, 16:14
Yep, but it's not complete until interlacing's added, and for that we gotta wait for ffmpeg to implement it. :)

Jay Bee
7th January 2008, 16:29
I'm not hoping for that anymore, even AVC decoders still have problems with interlacing and that's a format that has been around for ages now, since European HDTV started. Interlaced VC-1 is nonexistent in comparison.

Kurosu
7th January 2008, 17:53
VC-1optimized code has been around for 6 months but only got into the CVS around a month ago. From this post (http://article.gmane.org/gmane.comp.video.ffmpeg.devel/53133) you can see improvements. From those values, only one function accounting for 18% of the decoding time is left to optimize in the case of this sample (YMMV).

krisq
8th January 2008, 11:31
Hi guys, I've search the thread and didn't found anything about my problem so here goes. I've installed the latest build by clsid (rev1751 20070105). It was a jump from pretty old version for me, which worked flawlessly BTW :)
After the update, Adobe After Effects started to act funny on me, it can't initiliaze correctly. It gives me an error at startup ('Bad digit in number'). I've seen such errors before in other apps and it all goes to differences between "," and "." in regional settings of OS. I'm using polish Windows XP SP2 and here default separator for numbers is "," which apparently is causing problems. When I uninstall ffdshow or change to "." in regional settings, everything is back to normal, AFX starts without problem.
I hope you can help me with this because I don't want to revert to old version of ffdshow nor change separator "," to "." :(

BTW I'm 100% sure it's because of ffdshow, it's started happening the same day and after uninstall everything's back to normal.

fastplayer
8th January 2008, 12:06
Then blacklist the Adobe app:
DirectShow control --> Don't use ffdshow in: --> <enter EXE filename>

haruhiko_yamagata
8th January 2008, 12:25
@krisq
Could you pin-point the revision which the problem starts? Many old builds are available for download.
I don't have Adobe After Effects nor Polish version of Windows. I'm trying to recall the changes related to locale but nothing come to me.

krisq
8th January 2008, 12:26
Then blacklist the Adobe app:
DirectShow control --> Don't use ffdshow in: --> <enter EXE filename>

Yeah, that was the first thing i did :)
Unfortunately it didn't help, error is still there :(

@krisq
Could you pin-point the revision which the problem starts? Many old builds are available for download.
I don't have Adobe After Effects nor Polish version of Windows. I'm trying to recall the changes related to locale but nothing come to me.

I'll try.

Delerue
8th January 2008, 12:53
Can anyone confirm a bug with high frame rate videos? With this sample (http://www.zshare.net/download/6304318cfc0301/) I got three hard stutters with MPC (clsid january build) and FFDShow _xxl 1757, although the CPU usage has an average of 18%. The problem seems to be with the libavcodec version, because with CoreAVC or MPC-HC internal decoder there's no problem (except for the fact that MPC seems to limit the FPS to the actual refresh rate, even with vsync off). Also, VLC and SMPlayer can run just fine.

krisq
8th January 2008, 13:01
@krisq
Could you pin-point the revision which the problem starts? Many old builds are available for download.
I don't have Adobe After Effects nor Polish version of Windows. I'm trying to recall the changes related to locale but nothing come to me.

Ok, apparently something has changed between clsid's rev1431 and rev1487. 1431 works flawlessly, 1487 throws out an error in AFX.

Yong
8th January 2008, 13:15
i think the encoder part was bugged when testing with gcc-4.2 pre-releases(svn) quite a while ago, not sure if anything was done about it
so which ffdshow build have gcc3 or 4.0/4.1 compiled libavcodec? i would like to test it to see wether it is gcc or libavcodec bugged :p
i got gcc 3.4.6, 4.0.3 and 4.2.2,
but none of them work for me as they will throw an weird error message when using them :sly:

fastplayer
8th January 2008, 13:21
Can anyone confirm a bug with high frame rate videos?
I get no stutters at all with MPC+ffdshow. The file just plays back slow with <40% CPU load. :confused:
VLC on the other side uses 95-100% and plays the file faster than MPC with some micro-stutters. Probably because of the CPU load hitting 100% from time to time...
I'm using clsid's latest MPC and ffdshow versions.

clsid
8th January 2008, 13:56
Ok, apparently something has changed between clsid's rev1431 and rev1487. 1431 works flawlessly, 1487 throws out an error in AFX.
Could you also test 1437 (http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_rev1437_20070823_clsid.exe?modtime=1187883251&big_mirror=0)?
Then I suspect that the bug was introduced in revision 1434. Since that revision there also is a weird compatibility problem with a game called "Silent Hunter 3". In that case blacklisting also doesn't help.

Does the ',' versus '.' problem apply to the decimal symbol or the the digit grouping symbol in the regional options? Or both?

haruhiko_yamagata
8th January 2008, 14:40
Can anyone confirm a bug with high frame rate videos? With this sample (http://www.zshare.net/download/6304318cfc0301/) I got three hard stutters with MPC (clsid january build) and FFDShow _xxl 1757, although the CPU usage has an average of 18%. The problem seems to be with the libavcodec version, because with CoreAVC or MPC-HC internal decoder there's no problem (except for the fact that MPC seems to limit the FPS to the actual refresh rate, even with vsync off). Also, VLC and SMPlayer can run just fine.It's smooth for me. Perhaps it's your video driver. Frame rate that is higher than refresh rate may not be supported.

Thunderbolt8
8th January 2008, 14:47
thanks for that black border brightness fix! that brightness was suddenly there although I was pretty sure this wasnt the case in former days and already wondered why this was the case.

haruhiko_yamagata
8th January 2008, 15:05
Could you also test 1437 (http://downloads.sourceforge.net/ffdshow-tryout/ffdshow_rev1437_20070823_clsid.exe?modtime=1187883251&big_mirror=0)?
Then I suspect that the bug was introduced in revision 1434. Since that revision there also is a weird compatibility problem with a game called "Silent Hunter 3". In that case blacklisting also doesn't help.

Does the ',' versus '.' problem apply to the decimal symbol or the the digit grouping symbol in the regional options? Or both?
It must be 1434. I have committed the fix.

@krisq
Please test and let us know when next Nightly build is uploaded.

clsid
8th January 2008, 15:24
A new build is online.

haruhiko_yamagata
8th January 2008, 15:37
A new build is online.
:thanks:

krisq
8th January 2008, 16:20
It must be 1434. I have committed the fix.

@krisq
Please test and let us know when next Nightly build is uploaded.

A new build is online.

Thank you so much, guys!!
rev1763 is working perfectly :):thanks:

cc979
8th January 2008, 16:28
so which ffdshow build have gcc3 or 4.0/4.1 compiled libavcodec? i would like to test it to see wether it is gcc or libavcodec bugged :p
i got gcc 3.4.6, 4.0.3 and 4.2.2,
but none of them work for me as they will throw an weird error message when using them :sly:

gcc-4.0.4 is what i use mostly, which encoder seems to cause problem ?

cc979
8th January 2008, 17:10
ffdshow-rev1763.7z
md5: E5358DEF6DFB6D775074C9D24C2759E9
http://www.speedyshare.com/600685999.html

gcc-4.0.4 and gcc-4.2.1

LoRd_MuldeR
8th January 2008, 18:02
so which ffdshow build have gcc3 or 4.0/4.1 compiled libavcodec? i would like to test it to see wether it is gcc or libavcodec bugged :p
i got gcc 3.4.6, 4.0.3 and 4.2.2,
but none of them work for me as they will throw an weird error message when using them :sly:

The "official" builds by clsid have gcc 4.2.2 compiled libavcodec.dll (according to the version info window)

Delerue
8th January 2008, 22:12
I get no stutters at all with MPC+ffdshow. The file just plays back slow with <40% CPU load. :confused:
VLC on the other side uses 95-100% and plays the file faster than MPC with some micro-stutters. Probably because of the CPU load hitting 100% from time to time...
I'm using clsid's latest MPC and ffdshow versions.

It's smooth for me. Perhaps it's your video driver. Frame rate that is higher than refresh rate may not be supported.

Hmmm... I finally discovered. The problem appears when you set the render to 'Overlay' or 'VMR7 Windowed' (worst on that). 'VMR9 Windowed' or any 'Renderless' doesn't have any stutter.

Haruhiko, the FPS limit is gone with 'Overlay' render. And all the other decoders play fine, without stutter. Do you really think it's a problem with Catalyst 7.11?

Thanks

Shakey_Jake33
9th January 2008, 08:30
Slightly off topic (and I have asked this in other topics too, but I figure some people in this topic may know).
Does ffdshow get it's AC3 Encode Mode (to send 5.1 AAC over SPDIF as AC3) code from ffmpeg? I've been assuming so, and have been trying to work out how to use it in ffmpeg!/mplayer

LigH
9th January 2008, 09:26
AC3 encoding is one part; S/P-DIF output is another. You seem to refer to the latter?

haruhiko_yamagata
9th January 2008, 10:23
Hmmm... I finally discovered. The problem appears when you set the render to 'Overlay' or 'VMR7 Windowed' (worst on that). 'VMR9 Windowed' or any 'Renderless' doesn't have any stutter.

Haruhiko, the FPS limit is gone with 'Overlay' render. And all the other decoders play fine, without stutter. Do you really think it's a problem with Catalyst 7.11?

ThanksSorry, it's VMR7 then. CoreAVC have the same behavior. It's not a bug of ffdshow.

haruhiko_yamagata
9th January 2008, 10:25
Does ffdshow get it's AC3 Encode Mode (to send 5.1 AAC over SPDIF as AC3) code from ffmpeg?Yes, it does.

Yong
9th January 2008, 11:47
ffdshow-rev1763.7z
md5: E5358DEF6DFB6D775074C9D24C2759E9
http://www.speedyshare.com/600685999.html

gcc-4.0.4 and gcc-4.2.1
hmm:cool:
gcc 4.0.4 crash immediately after encoding start, with mpeg2/4

gcc 4.2.1 show "assertion failed!" with mpeg1/2

i was try to trascode some mpeg4 file to mpeg1/2/4 with ffdshow for testing.

just tried clsid build, same error i got with 4.2.1, mpeg 4 will crash if disable qpel.

clsid
9th January 2008, 11:54
There also are some encoding bugs when compiling ffdshow.ax with Visual Studio, so it is not just GCC's fault. Of course, those could be different bugs than the ones you are having.

Yong
9th January 2008, 12:42
There also are some encoding bugs when compiling ffdshow.ax with Visual Studio, so it is not just GCC's fault. Of course, those could be different bugs than the ones you are having.
hmm but cc979 compiled ffdshow are pure gcc build.

i post the video encoding settings some other infos here incase u guys wan to fix it :p
system spec:
amd x2 6000+
windows vista
2gb ram.
virtualdub 1.7.7 build 28312/release.
ffdshow rev 1763 msvc 2008 x86 unicode build.

here are the encoding setting,
fast recompress mode,
Encoder: mpeg2, one pass, 2201kbps
max i frame interval: 300, min: 30
bframes enabled, max consecutive bframe: 3, dynamic, closed gop,
number of threads: 2

macroblock decision mode: rate distortion, always try no motion, RD optimization for CBP,
ME/subpixel/macroblock/prepass compare function: SAD with chroma.
EPZS/prepass diamon size: adaptive with 3,
ME pre-pass: always.

Quant type: mpeg with trellis, MPEG2 DC precision: 11bits

Luminance/Darkness/Border masking enabled with default value, normalize adaptive quant.

i dont use it for real encoding, just for testing,
will try to narrow down the problem :)

cc979
9th January 2008, 20:00
i've just tested my build of ffdshow-1763 (gcc-4.2.1) with windows xp, encoding with virtualdub using mpeg2 or mpeg4 is fine, maybe its a vista/virtualdub bug

Delerue
10th January 2008, 02:48
i've just tested my build of ffdshow-1763 (gcc-4.2.1) with windows xp, encoding with virtualdub using mpeg2 or mpeg4 is fine, maybe its a vista/virtualdub bug

I confirm; 1763 and XP too. The only problem (my problem?) is with x264 multi-thread encode. I can't use the other core. :(

Yong
10th January 2008, 11:46
hmm, the "assertion failed!" message is gone after change the encoding thread to 1 :p multithread lavc encoding will crash.
but x264 multithreaded encoding work for me lol.

draggoon01
10th January 2008, 13:52
i'm trying to use ffdshow for subtitles (srt files) but when i go full screen the text is blurry/jaggie. how can i fix this?

Yong
10th January 2008, 14:19
resize ur video to higher resolution, or use VMR7/9/EVR or haali video renderer.

leeperry
10th January 2008, 20:47
just wanted to point out that all issues with ffdshow & MPC HC + EVR on XP seem to be fixed.

I've watched several movies w/o any freezes using this package, with updated DLL's of EVR from Vista SP1 :
http://www.badongo.com/fr/file/7196279

Keep up the good work :D

Atak_Snajpera
11th January 2008, 23:39
Everything above ffdshow_rev1724_20071225_clsid does not decode correctly this ts


http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ts

wiak
12th January 2008, 04:46
just a stupid question will there be a auto update future?, hehe now that ffdshow gets new builds nearly every day, i want to be up to date to keep my upcoming AVC+HE-AAC with LATM dvb-t setup stable :thanks:

Delerue
12th January 2008, 04:58
Everything above ffdshow_rev1724_20071225_clsid does not decode correctly this ts

http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ts

No problem here. XP SP2 + build 1763 + MPC clsid january version + VMR7 Windowed. The only 'problem' is the high CPU demand, hehehe. ;)

Bathrone
12th January 2008, 06:57
Hi folks :) Searches havent found answers so can I please ask:

1. Does ffdshow hook into the DXVA acceleration on Vista with suitable GPUs?

2. When the tryouts FAQ says that xvid and h.264 encoding is multi-threaded, does it actually mean multithreaded decoding or can ffdshow somehow be used for encoding?

Delerue
12th January 2008, 07:30
1. Does ffdshow hook into the DXVA acceleration on Vista with suitable GPUs?

Try the MPC Home Cinema at www.codecs.com.

2. When the tryouts FAQ says that xvid and h.264 encoding is multi-threaded, does it actually mean multithreaded decoding or can ffdshow somehow be used for encoding?

FFDShow can encode and decode xVid/x264 in multi-thread. But the x264 decode has some limitations; can't work in multi-thread with recently x264 encodes.

ACrowley
12th January 2008, 09:14
Try the MPC Home Cinema at www.codecs.com.


FFDShow can encode and decode xVid/x264 in multi-thread. But the x264 decode has some limitations; can't work in multi-thread with recently x264 encodes.

With latest CABAC Multithreading Patch it works for x264 too , so far its CABAC encoded. Latest XXL Builds are already patched with it.
Its working perfect multithreaded on all my x264 Files

~60% CPU Load for 1080p x264 12Mbps and ~85% for BluRay H264

Leak
12th January 2008, 12:06
can ffdshow somehow be used for encoding?
Well, ffdshow comes with both an "ffdshow video encoder" DirectShow video compressor filter and an old-fashioned "ffdshow video codec" for VfW, so - yes? :)

np: Kid606 - I Miss You (Resilience)

clsid
12th January 2008, 14:08
With latest CABAC Multithreading Patch it works for x264 too , so far its CABAC encoded. Latest XXL Builds are already patched with it.
Its working perfect multithreaded on all my x264 Files

~60% CPU Load for 1080p x264 12Mbps and ~85% for BluRay H264
All recent builds have it, since the patch was committed to SVN.

clsid
12th January 2008, 14:09
Everything above ffdshow_rev1724_20071225_clsid does not decode correctly this ts

http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ts
Does it work if you change the number of decoding threads in ffdshow options to 1?

fastplayer
12th January 2008, 18:06
just a stupid question will there be a auto update future?
I'd look at auto-update from another perspective:
Who's gonna provide and pay for the bandwidth?

Inventive Software
12th January 2008, 18:50
Sourceforge?

clsid
12th January 2008, 19:33
I would prefer to continue putting our efforts into improving existing ffdshow functionality, instead of adding non-essential stuff like auto-update.

Delerue
12th January 2008, 21:54
With latest CABAC Multithreading Patch it works for x264 too , so far its CABAC encoded. Latest XXL Builds are already patched with it.
Its working perfect multithreaded on all my x264 Files

~60% CPU Load for 1080p x264 12Mbps and ~85% for BluRay H264

Well, I told that because of this (http://forum.doom9.org/showthread.php?p=1085619#post1085619). What you think?

leeperry
12th January 2008, 22:00
I would prefer to continue putting our efforts into improving existing ffdshow functionality, instead of adding non-essential stuff like auto-update.

how about some AR buttons for easy access so I don't need to use the virtual keyboard on my PCHC to reach 1.85 ?

just 4 buttons : 1.33 / 1.78 / 1.85 / 2.35 :p