Log in

View Full Version : LAV Filters - DirectShow Media Splitter and Decoders


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 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511

SamuriHL
11th September 2011, 00:21
Yea, turn that crap off if you wanna do video. :)

Xaurus
11th September 2011, 00:48
I thought I had disabled all that stuff so I took a screenshot of the settings, please see screenshots below:

General settings (combined two pictures so that you see all settings) (http://home.halden.net/mordor/cp.png)
video image settings (http://home.halden.net/mordor/cp2.png)
video color settings (http://home.halden.net/mordor/cp3.png)

CruNcher
11th September 2011, 00:57
No video visible and alot of


LAVVideo.ax(tid b2c) 174340 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174373 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174407 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174440 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174473 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174507 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174540 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174573 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174607 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174640 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174673 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174707 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174740 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174774 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174807 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174840 : VideoProcessBltHD failed (hr: 80070057)
LAVVideo.ax(tid b2c) 174873 : VideoProcessBltHD failed (hr: 80070057)


else normal it runs 160 fps and with this build 140 fps (null renderer)

Core i-5 2400

Driver Version: 8.15.10.2476
Operating System: Windows 7 Service Pack 1(6.1.7601)
Default Language: German (Germany)
DirectX* Version: 10.1
Physical Memory: 8039 MB
Minimum Graphics Memory: 128 MB
Maximum Graphics Memory: 1760 MB
Graphics Memory in Use: 163 MB

Intel(R) HD Graphics 2000
Video BIOS: 2080.0

nightfly
11th September 2011, 05:38
I've been trying to get regular DVD iso images to playback via LAV. Is this not supported (menu and such)? No problems using default MPC-HC setup.

My External Filters setup:
Lav Splitter v.35
Lav Splitter Src v.35
Lav CUVID v.12
Lav Audio v.35

Am I missing something? Thanks.

Midzuki
11th September 2011, 06:08
@ nightfly: No, LAV Splitter is not a DVD navigator, and LAV Video does not include a subpicture decompressor (which, BTW, would require a major fix in ffmpeg/libav).

fairchild
11th September 2011, 06:24
Yeah to watch DVD's you need to have another video decoder installed in system which can decode DVD. I use ffdshow libavcodec and it works just fine with DVD Navigator + Lav Audio. I can play DVD's with either MPC-HC or PotPlayer just fine. I'd imagine you could also use your video player's internal codecs as well if they have some that support DVD decoding (MPEG2 + DVD decoding).

Oh yeah I forgot to add, if you bypass the DVD menu's and just open the individual movie VOB files, then Lav Splitter + Lav Video + Lav Audio work just fine for me.

hoborg
11th September 2011, 07:16
It probably does nothing for ATI/AMD cards. DXVA-HD seems not supported. You would notice the chroma problem immediately.

Here is another version, this one uses DXVA2 Video Processing, instead of DXVA-HD.

http://files.1f0.de/lavf/LAVVideo-dxva2vp-test.zip

This should probably work on ATI/AMD.
Same rules and restrictions apply.

BTW, its not tuned for quality or anything at all yet. Its just to test device capabilities and speed.
Its also a debug build, which is generally slower then a release build. ;)

I cannot register it, what is missing? Module failed to load.

nevcairiel
11th September 2011, 07:23
It requires Windows 7, on XP it won't even load.
Sounds to me its just not finding the required libraries (which are not present on XP)

hoborg
11th September 2011, 07:33
It requires Windows 7, on XP it won't even load.
Sounds to me its just not finding the required libraries (which are not present on XP)

Win7x64 here.

roytam1
11th September 2011, 07:36
It requires Windows 7, on XP it won't even load.
Sounds to me its just not finding the required libraries (which are not present on XP)

2 missing imports in XP:
Direct3DCreate9Ex() in d3d9.dll, according http://msdn.microsoft.com/en-us/library/cc656710.aspx you have to use Direct3DCreate9() instead.

DXVAHD_CreateDevice() in dxva2.dll, you may use dynamic loading instead.

nevcairiel
11th September 2011, 07:47
2 missing imports in XP:
Direct3DCreate9Ex() in d3d9.dll, according http://msdn.microsoft.com/en-us/library/cc656710.aspx you have to use Direct3DCreate9() instead.

DXVAHD_CreateDevice() in dxva2.dll, you may use dynamic loading instead.

Its not meant to work on XP.
DXVAHD requires a 9Ex device, a "normal" D3D9 device is not good enough. ;)

Don't worry, if it ends up in the main code one day, it'll dynamically load those functions, to ensure the whole filter still works on XP.

Thunderbolt8
11th September 2011, 08:08
no video at all with dxv2

video with dxva-hd looked normal. but I had 2 seperate halfes of the picture, one being b&w, the other green, when I used ffdshow (set to accept raw video) in between lav video and madvr

Xaurus
11th September 2011, 10:53
I thought I had disabled all that stuff so I took a screenshot of the settings, please see screenshots below:

General settings (combined two pictures so that you see all settings) (http://home.halden.net/mordor/cp.png)
video image settings (http://home.halden.net/mordor/cp2.png)
video color settings (http://home.halden.net/mordor/cp3.png)
I've since added mpc-hc.exe to the program list in Nvidia control panel and disabled everything (AA, AF set to Off etc). It didn't make a difference, unfortunately.

So I have still no clue why it was so slow compared to your ~200 fps, nev.

mzso
11th September 2011, 11:36
I guess the rumors are true, and ATI is really abysmally slow on memory copys.

Fun fact: Intels IGP supports DXVA-HD, at least partly. It supports NV12 input, but only YUY2 or RGB output.
Its somewhat slow, but still watchable.

Is it still true with fusion processors? If I understand correctly there's only one memory in that case. But there might be something that complicates things I don't know of...

pankov
11th September 2011, 19:19
Guys,
today I tried to bistream some DTS in WAV and sadly it didn't work. It either crashed the player (tested with Zoom Player, MPC-HC and Graph Studio) or resulted in some strange noise clicks in the speakers connected to the receiver (Integra DTR-40.3).
Strangely it worked a few times but only if I start the playback without bitstreaming and enable it afterwards in LAV Audio's config.
Is this problem happening only to me or there is some kind of general limitation? If it's not possible to make it work is it at least possible to make it not crash the player?
I have absolutely no problems with such files if I decode the stream with LAV Audio and then send it as multichannel PCM over the HDMI output of my video card.

xiulet
11th September 2011, 21:00
hi all, this video is stuttering when i am using lav audio, but when i use internal mph hc filters (dts/ac3) it is playing ok, both with internal or haali ps/ts/pva filter.
extract_top_o_ne.m2ts (http://i.minus.com/1329761447/rVmZA5c3f6iuafsvig0aYw/dizHS4gKyNtli.m2ts)

http://img268.imageshack.us/img268/3194/snap1iq.png

This is my mpc-hc.ini (http://i.minus.com/1329761744/Zu1HpXwOeObjG8qiV4YCcQ/dbqq0oppGQaKg5.ini)

thanks , a lot.

TheShadowRunner
11th September 2011, 22:59
Bug: when LAVVideo.ax 0.35 is registered, trying to add the filter (Graph > Insert Filters) in Graphedit build 090924 kills Graphedit, the process simply vanishes!

roytam1
11th September 2011, 23:44
Bug: when LAVVideo.ax 0.35 is registered, trying to add the filter (Graph > Insert Filters) in Graphedit build 090924 kills Graphedit, the process simply vanishes!

Use older GraphEdit from DirectX 9 SDK or GraphStudio instead.

mindbomb
11th September 2011, 23:57
lav splitter gives a black screen with the mkv vc-1i cheese slice test when using wmvideo decoder dmo, but it suceeds with cyberlink video decoder. ( http://www.avsforum.com/avs-vb/showpost.php?p=16956445&postcount=41 )

also, this has nothing to do with lav video, but wmvideo decoder dmo is multithreaded for progressive videos but single threaded for interlaced videos.

It seems like microsoft can't design a proper decoder for their own format :confused:

hi all, this video is stuttering when i am using lav audio, but when i use internal mph hc filters (dts/ac3) it is playing ok, both with internal or haali ps/ts/pva filter.
video .m2ts (http://minus.com/dGaNyEsGXFh6u.m2ts)

it played fine for me. you have to use lav splitter as well.

Portioli
12th September 2011, 00:04
http://s4.postimage.org/2xdm6zpk4/test_1_107fps.png (http://postimage.org/image/2xdm6zpk4/)http://s4.postimage.org/2xdnuj21w/test_1_110fps.png (http://postimage.org/image/2xdnuj21w/)

graphedit x32 - lav video 0.35 + DXVA-HD

Test 1 - 5passes ~107Fps
Test 2 - 5passes ~109Fps


graphedit x32 - lav video 0.35 (without moded LAVVideo.ax)
Test 1 - 5passes ~117Fps
Test 2 - 5passes ~119Fps


graphedit x64 - lav video 0.35 (without moded LAVVideo.ax)

Test 1 - 5passes ~118Fps
Test 2 - 5passes ~118Fps



LAVVideo.txt:

LAVVideo.ax(tid 8f0) 106470 : DXVAVideoProcessor::InitializeD3D9(): Initializing D3DEx Interfaces
LAVVideo.ax(tid 8f0) 106540 : -> Creating D3D9Ex Device
LAVVideo.ax(tid 8f0) 106710 : DXVAVideoProcessor::InitializeDXVA2(): Initializing DXVA-HD Interfaces
LAVVideo.ax(tid 8f0) 106710 : -> Creating DXVAHD_Device
LAVVideo.ax(tid 8f0) 106710 : -> DXVAHD_CreateDevice failed (hr: 80004002)
LAVVideo.ax(tid 8f0) 106718 : CTransformInputPin::CTransformInputPin
LAVVideo.ax(tid 8f0) 106718 : CTransformOutputPin::CTransformOutputPin
LAVVideo.ax(tid 8f0) 106718 : SetMediaType -- in
LAVVideo.ax(tid 8f0) 106718 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 106719 : Initializing ffmpeg for codec 28
LAVVideo.ax(tid 8f0) 106719 : -> File extension: .mkv
LAVVideo.ax(tid 8f0) 106720 : -> Processing extradata of 27 bytes
LAVVideo.ax(tid 8f0) 106723 : -> ffmpeg codec opened successfully (ret: 0)
LAVVideo.ax(tid 8f0) 106724 : Trying to connect Pins :
LAVVideo.ax(tid 8f0) 106724 : <XForm Out>
LAVVideo.ax(tid 8f0) 106724 : <Input>
LAVVideo.ax(tid 8f0) 106724 : ::GetMediaType(): position: 0
LAVVideo.ax(tid 8f0) 106724 : Trying media type:
LAVVideo.ax(tid 8f0) 106724 : major type: MEDIATYPE_Video
LAVVideo.ax(tid 8f0) 106724 : sub type : MEDIASUBTYPE_NV12
LAVVideo.ax(tid 8f0) 106724 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 106725 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 106725 : SetMediaType -- out
LAVVideo.ax(tid 8f0) 106725 : ::DecideBufferSize()
LAVVideo.ax(tid 8f0) 106725 : Connection succeeded
LAVVideo.ax(tid 8f0) 106725 : ::GetMediaType(): position: 0
LAVVideo.ax(tid 8f0) 106725 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 106725 : ::BreakConnect
LAVVideo.ax(tid 8f0) 106725 : Trying to connect Pins :
LAVVideo.ax(tid 8f0) 106726 : <XForm Out>
LAVVideo.ax(tid 8f0) 106726 : <Input>
LAVVideo.ax(tid 8f0) 106726 : Trying media type:
LAVVideo.ax(tid 8f0) 106726 : major type: MEDIATYPE_Video
LAVVideo.ax(tid 8f0) 106726 : sub type : MEDIASUBTYPE_NV12
LAVVideo.ax(tid 8f0) 106726 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 106726 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 106726 : SetMediaType -- out
LAVVideo.ax(tid 8f0) 106726 : ::DecideBufferSize()
LAVVideo.ax(tid 8f0) 106726 : Connection succeeded
LAVVideo.ax(tid 9d4) 106741 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 11d0) 106743 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid 11d0) 106845 : ::ReconnectOutput(): Performing reconnect
LAVVideo.ax(tid 11d0) 112157 : EndOfStream
LAVVideo.ax(tid 8f0) 112197 : ::BeginFlush
LAVVideo.ax(tid 8f0) 112198 : ::EndFlush
LAVVideo.ax(tid 9d4) 112198 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 112198 : ::BeginFlush
LAVVideo.ax(tid 8f0) 112198 : ::EndFlush
LAVVideo.ax(tid 1380) 112199 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 153c) 112201 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid 153c) 117282 : EndOfStream
LAVVideo.ax(tid 8f0) 117324 : ::BeginFlush
LAVVideo.ax(tid 8f0) 117324 : ::EndFlush
LAVVideo.ax(tid 1380) 117324 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 117324 : ::BeginFlush
LAVVideo.ax(tid 8f0) 117324 : ::EndFlush
LAVVideo.ax(tid 7a4) 117327 : ::NewSegment - 0 / 0
LAVVideo.ax(tid aa4) 117328 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid aa4) 122451 : EndOfStream
LAVVideo.ax(tid 8f0) 122494 : ::BeginFlush
LAVVideo.ax(tid 8f0) 122494 : ::EndFlush
LAVVideo.ax(tid 7a4) 122494 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 122494 : ::BeginFlush
LAVVideo.ax(tid 8f0) 122494 : ::EndFlush
LAVVideo.ax(tid 16d4) 122495 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 968) 122497 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid 968) 127548 : EndOfStream
LAVVideo.ax(tid 8f0) 127583 : ::BeginFlush
LAVVideo.ax(tid 8f0) 127583 : ::EndFlush
LAVVideo.ax(tid 16d4) 127583 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 127583 : ::BeginFlush
LAVVideo.ax(tid 8f0) 127583 : ::EndFlush
LAVVideo.ax(tid 12b4) 127584 : ::NewSegment - 0 / 0
LAVVideo.ax(tid d20) 127585 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid d20) 132598 : EndOfStream
LAVVideo.ax(tid 8f0) 132646 : ::BeginFlush
LAVVideo.ax(tid 8f0) 132646 : ::EndFlush
LAVVideo.ax(tid 12b4) 132646 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 132646 : ::BeginFlush
LAVVideo.ax(tid 8f0) 132646 : ::EndFlush
LAVVideo.ax(tid 8f0) 132647 : ::BreakConnect
LAVVideo.ax(tid 8f0) 132647 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 132659 : ::BreakConnect
LAVVideo.ax(tid 8f0) 132660 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 132660 : CTransformOutputPin::~CTransformOutputPin


LAVVideo_1732.txt:
LAVVideo.ax(tid 8f0) 2 : DXVAVideoProcessor::InitializeD3D9(): Initializing D3DEx Interfaces
LAVVideo.ax(tid 8f0) 72 : -> Creating D3D9Ex Device
LAVVideo.ax(tid 8f0) 247 : DXVAVideoProcessor::InitializeDXVA2(): Initializing DXVA-HD Interfaces
LAVVideo.ax(tid 8f0) 247 : -> Creating DXVAHD_Device
LAVVideo.ax(tid 8f0) 247 : -> DXVAHD_CreateDevice failed (hr: 80004002)
LAVVideo.ax(tid 8f0) 255 : CTransformInputPin::CTransformInputPin
LAVVideo.ax(tid 8f0) 255 : CTransformOutputPin::CTransformOutputPin
LAVVideo.ax(tid 8f0) 256 : SetMediaType -- in
LAVVideo.ax(tid 8f0) 256 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 256 : Initializing ffmpeg for codec 28
LAVVideo.ax(tid 8f0) 256 : -> File extension: .mkv
LAVVideo.ax(tid 8f0) 257 : -> Processing extradata of 27 bytes
LAVVideo.ax(tid 8f0) 261 : -> ffmpeg codec opened successfully (ret: 0)
LAVVideo.ax(tid 8f0) 263 : Trying to connect Pins :
LAVVideo.ax(tid 8f0) 263 : <XForm Out>
LAVVideo.ax(tid 8f0) 263 : <Input>
LAVVideo.ax(tid 8f0) 263 : ::GetMediaType(): position: 0
LAVVideo.ax(tid 8f0) 263 : Trying media type:
LAVVideo.ax(tid 8f0) 264 : major type: MEDIATYPE_Video
LAVVideo.ax(tid 8f0) 264 : sub type : MEDIASUBTYPE_NV12
LAVVideo.ax(tid 8f0) 264 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 264 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 264 : SetMediaType -- out
LAVVideo.ax(tid 8f0) 264 : ::DecideBufferSize()
LAVVideo.ax(tid 8f0) 264 : Connection succeeded
LAVVideo.ax(tid 8f0) 267 : ::GetMediaType(): position: 0
LAVVideo.ax(tid 8f0) 268 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 268 : ::BreakConnect
LAVVideo.ax(tid 8f0) 268 : Trying to connect Pins :
LAVVideo.ax(tid 8f0) 268 : <XForm Out>
LAVVideo.ax(tid 8f0) 268 : <Input>
LAVVideo.ax(tid 8f0) 268 : Trying media type:
LAVVideo.ax(tid 8f0) 268 : major type: MEDIATYPE_Video
LAVVideo.ax(tid 8f0) 268 : sub type : MEDIASUBTYPE_NV12
LAVVideo.ax(tid 8f0) 268 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 268 : ::CheckTransform()
LAVVideo.ax(tid 8f0) 269 : SetMediaType -- out
LAVVideo.ax(tid 8f0) 269 : ::DecideBufferSize()
LAVVideo.ax(tid 8f0) 269 : Connection succeeded
LAVVideo.ax(tid 17c0) 286 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 11e4) 287 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid 11e4) 465 : ::ReconnectOutput(): Performing reconnect
LAVVideo.ax(tid 11e4) 5929 : EndOfStream
LAVVideo.ax(tid 8f0) 5967 : ::BeginFlush
LAVVideo.ax(tid 8f0) 5967 : ::EndFlush
LAVVideo.ax(tid 17c0) 5967 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 5967 : ::BeginFlush
LAVVideo.ax(tid 8f0) 5967 : ::EndFlush
LAVVideo.ax(tid de0) 5971 : ::NewSegment - 0 / 0
LAVVideo.ax(tid e6c) 5972 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid e6c) 11420 : EndOfStream
LAVVideo.ax(tid 8f0) 11467 : ::BeginFlush
LAVVideo.ax(tid 8f0) 11467 : ::EndFlush
LAVVideo.ax(tid de0) 11467 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 11467 : ::BeginFlush
LAVVideo.ax(tid 8f0) 11467 : ::EndFlush
LAVVideo.ax(tid 1704) 11468 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 1154) 11470 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid 1154) 16580 : EndOfStream
LAVVideo.ax(tid 8f0) 16623 : ::BeginFlush
LAVVideo.ax(tid 8f0) 16624 : ::EndFlush
LAVVideo.ax(tid 1704) 16624 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 16624 : ::BeginFlush
LAVVideo.ax(tid 8f0) 16624 : ::EndFlush
LAVVideo.ax(tid 1118) 16625 : ::NewSegment - 0 / 0
LAVVideo.ax(tid c54) 16627 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid c54) 21712 : EndOfStream
LAVVideo.ax(tid 8f0) 21742 : ::BeginFlush
LAVVideo.ax(tid 8f0) 21742 : ::EndFlush
LAVVideo.ax(tid 1118) 21742 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 21742 : ::BeginFlush
LAVVideo.ax(tid 8f0) 21743 : ::EndFlush
LAVVideo.ax(tid 12bc) 21744 : ::NewSegment - 0 / 0
LAVVideo.ax(tid d00) 21746 : h264RandomAccess::parseForRecoveryPoint(): Found IDR slice
LAVVideo.ax(tid d00) 26751 : EndOfStream
LAVVideo.ax(tid 8f0) 26788 : ::BeginFlush
LAVVideo.ax(tid 8f0) 26788 : ::EndFlush
LAVVideo.ax(tid 12bc) 26788 : ::NewSegment - 0 / 0
LAVVideo.ax(tid 8f0) 26788 : ::BeginFlush
LAVVideo.ax(tid 8f0) 26788 : ::EndFlush
LAVVideo.ax(tid 8f0) 26789 : ::BreakConnect
LAVVideo.ax(tid 8f0) 26789 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 26801 : ::BreakConnect
LAVVideo.ax(tid 8f0) 26802 : Shutting down ffmpeg...
LAVVideo.ax(tid 8f0) 26802 : CTransformOutputPin::~CTransformOutputPin


cpu: AMD Phenom ii x4 955 undervolting @ 1,25V
ram: 4GB@1600 6-8-6-24
GPU: 5770 1GB GDDR5 (stock)

TheShadowRunner
12th September 2011, 00:32
Use older GraphEdit from DirectX 9 SDK or GraphStudio instead.

Thank you, switching at last ;)

Midzuki
12th September 2011, 03:19
also, this has nothing to do with lav video, but wmvideo decoder dmo is multithreaded for progressive videos but single threaded for interlaced videos.

It seems like microsoft can't design a proper decoder for their own format :confused:

LOL :) :p :D

Windows Media Player replays all audio streams simultaneously. This is normal. WMP does not support AVI files, don't use it.

...

Also it's Microsoft's AVI splitter that limits the size of AVI 1.0 files to 2 GB instead of 4 GB by interpreting the size as a signed value where it should be unsigned...

xiulet
12th September 2011, 11:30
Originally Posted by xiulet
hi all, this video is stuttering when i am using lav audio, but when i use internal mph hc filters (dts/ac3) it is playing ok, both with internal or haali ps/ts/pva filter.
video .m2ts

mindbomb:
it played fine for me. you have to use lav splitter as well.

yes now not stuttering but i have to use mpeg/ps/ts/pva from mpc hc if not the video don't show with lav splitter one, i think this mpc hc filter is better(for my system) than haali and lav filters

lav filter don't have cdda and i have several problems with dts wav (cd audio and files), internal mpc hc dts filter is capable to play dts wav files, and foobar2000 and vlc are capable to play both cd/file dtswav sound.
I " practice " with lav filter but i will not be my main filter group , but yes the lav audio, it rocks!

thanks

nevcairiel
12th September 2011, 17:06
lav splitter gives a black screen with the mkv vc-1i cheese slice test when using wmvideo decoder dmo, but it suceeds with cyberlink video decoder. ( http://www.avsforum.com/avs-vb/showpost.php?p=16956445&postcount=41 )

Thats using some VC-1 feature that i haven't seen in any real file before. Its using field interlacing, all other interlaced VC-1 i know uses frame interlacing...

I'll see if i can improve the parser a bit to handle that better.

... And i did, it should work better in the next version.

Did you run the multithreading check only against that file? Maybe its because of the field mode that its not working so well. Field mode is never really used, neither in progressive nor in interlaced.

mindbomb
12th September 2011, 23:46
i tested with 2 other interlaced videos too, but it is possible those were also field interlaced.

http://www.mediafire.com/download.php?tzlnhdynnhq
http://rapidshare.com/files/363684180/sample.m2ts

also, on a completely different note, feature request - DTS Surround Sensation Headphone processing from Arcsoft TMT software (presumably DTSheadphone.dll), would it be possible to add to lav audio? im thinking it might not be too difficult since it already has the ability to use one arcsoft dll, but i have no idea.

Midzuki
13th September 2011, 00:07
Regarding the file "300-vc1-nodecode.m2ts", it seems to be a mixture of frame-interlacing, field-interlacing, and no-interlacing.

:confused: :confused: :confused:

EDIT:

It's Advanced 3 with both Frame Interlaced and Field Interlaced pictures. It plays fine in DGVC1DecNV. I haven't tried a DXVA player.

nevcairiel
13th September 2011, 11:08
also, on a completely different note, feature request - DTS Surround Sensation Headphone processing from Arcsoft TMT software (presumably DTSheadphone.dll), would it be possible to add to lav audio? im thinking it might not be too difficult since it already has the ability to use one arcsoft dll, but i have no idea.

Not going to happen.

Regarding the file "300-vc1-nodecode.m2ts", it seems to be a mixture of frame-interlacing, field-interlacing, and no-interlacing.


I have that clip somewhere, i should throw it at the MS decoder, see if it works now. :)

nevcairiel
13th September 2011, 11:13
In other news, i started separating the avcodec decoder from the LAV Video "core", paving the way for implementing distinctly different decoder implementations in LAV Video.

I'm not sure which decoder i'll start with, but there are a few on the list that i could embed into LAV Video eventually:
- WMV DMO (like ffdshows wmv9)
- CUVID
- DXVA2
- Intel Media SDK (not sure it offers any advantage over DXVA2, afaik its just a wrapper around the pure DXVA2 functions)

hoborg
13th September 2011, 11:15
I am voting for DXVA2 :)

nevcairiel
13th September 2011, 11:19
I should really get my hands on some ATI card so that i can much easier test different ways to deal with DXVA2 on ATI, rathern then stabbing in the dark. :)
Too bad even my work PC has a NVIDIA (a pretty old Quadro, but still!)

I'm looking for a new notebook anyway, maybe i should try to get one with a ati in it.

hoborg
13th September 2011, 11:24
I should really get my hands on some ATI card so that i can much easier test different ways to deal with DXVA2 on ATI, rathern then stabbing in the dark. :)
Too bad even my work PC has a NVIDIA (a pretty old Quadro, but still!)

I can send you my ATI 6450 when i upgrade my HTPC to AMD fusion A8-3800 :)

roytam1
13th September 2011, 11:32
@nevcairiel: I just want my FSV1 patch be applied, as MPC-HC's FLV splitter can now able to make a FSV1 output pin now. (most FSV1 videos are produced by vnc2flv)
http://code.google.com/p/lavfilters/issues/detail?id=89

nevcairiel
13th September 2011, 12:25
I'll apply it later

Does LAV Splitter not manage to split it?

roytam1
13th September 2011, 12:57
I'll apply it later

Does LAV Splitter not manage to split it?

Yeah it splits. But it refuse to connect if there has no FSV1 decoder available.

Screenshot (I change nothing on spiltter side):
http://i.imgur.com/efvAO.png

Sven75
13th September 2011, 13:43
Hi Nev,

This one plays fine with ffplay.exe (and crashes with ffdShow), but is not yet recognized by LAV VD:

MS_RLE (http://www.mediafire.com/?c4y5wyow7n233y7)

Thanks!

roytam1
13th September 2011, 13:57
Hi Nev,

This one plays fine with ffplay.exe (and crashes with ffdShow), but is not yet recognized by LAV VD:

MS_RLE (http://www.mediafire.com/?c4y5wyow7n233y7)

Thanks!

IMHO you should report this issue in ffdshow thread too.
http://forum.doom9.org/showthread.php?t=120465

dbone1026
13th September 2011, 13:59
In other news, i started separating the avcodec decoder from the LAV Video "core", paving the way for implementing distinctly different decoder implementations in LAV Video.

I'm not sure which decoder i'll start with, but there are a few on the list that i could embed into LAV Video eventually:
- WMV DMO (like ffdshows wmv9)
- CUVID
- DXVA2
- Intel Media SDK (not sure it offers any advantage over DXVA2, afaik its just a wrapper around the pure DXVA2 functions)

Wouldn't mind seeing support for the Intel Media SDK. Currently the FFDShow Video Decoder / MPC Internal Video Decoder is unusable with an Intel GPU

nevcairiel
13th September 2011, 14:15
Wouldn't mind seeing support for the Intel Media SDK. Currently the FFDShow Video Decoder / MPC Internal Video Decoder is unusable with an Intel GPU

My DXVA2 would also support the Intel GPU, so the question remains what the MSDK offers.

dbone1026
13th September 2011, 14:24
My DXVA2 would also support the Intel GPU, so the question remains what the MSDK offers.

Good point, not sure what the MSDK offers above DXVA2

roytam1
13th September 2011, 14:28
Good point, not sure what the MSDK offers above DXVA2

IMHO the problem is that Intel doesn't follow the DXVA2 rules, period.

dbone1026
13th September 2011, 14:32
IMHO the problem is that Intel doesn't follow the DXVA2 rules, period.

Which is a shame because it keeps me away from intel GPUs (even using the Arcsoft Video decoder to get DXVA in VC-1 I have gotten some instabilities)

nevcairiel
13th September 2011, 14:37
As far as i understand, they follow the spec, however they use parts of the spec that NVIDIA/ATI don't use. Specifically, there is two ways to send H264 slices to the GPU, a quick and easy way, which lets the GPU to all the "hard" work, and a complicated way which makes it easier on the GPU, but harder on the software. NVIDIA/ATI support the "Short" variant, while Intel only supports the "Long".

Anyhow, if its too complicated to implement this, the MSDK is always there - but of course its another decoder adapter to implement.

Sven75
13th September 2011, 14:40
And another one...

According to the author this plays too fast with LAV VD. Graphstudio shows a length of 36 seconds, but the clip ends after 14. MPC with internal filters shows 36 seconds as well and plays it for 36 seconds (same number of frames, just slower).

MPEG with speed/length problem (http://www.mediafire.com/?r6grr6lrit38dzp)

Maybe the file is just broken, but in case there is something to fix (and learn)...

clsid
13th September 2011, 14:45
Any chance of a DXVA1 implementation as well? I would like to see the LAV decoders replace the buggy and outdated internal decoders of MPC. LAV is already vastly superior. The only thing missing is DXVA.

Replacing the internal decoders would also have the added benefit of speeding up integration of some of the video renderer fixes. Those are currently on hold because of decoder bugs/limitations.

mindbomb
13th September 2011, 14:48
interlaced vc-1 dxva would only be available with the intel one, right?

nevcairiel
13th September 2011, 14:56
Any chance of a DXVA1 implementation as well?

No.
I don't have XP to develop it, and i honestly don't care anymore.

Even my work PC was upgraded to Win 7 just last week, and big companies are the last to switch. :p

interlaced vc-1 dxva would only be available with the intel one, right?
No, adding the required VC-1 interlaced header parsing to get interlaced DXVA to work would probably be possible.

clsid
13th September 2011, 14:58
The MPC/ffdshow DXVA decoders are hacked into libavcodec, which doesn't support interlaced VC-1. I assume nevcairiel will make a proper implementation. So the question is does the MS DXVA decoder support VC-1 interlaced?

nevcairiel
13th September 2011, 15:13
ffmpeg supports DXVA2 decoding by itself now, no hacking required. All thats needed is adding header-parsing for interlaced frames/fields, so that the correct information can be passed to the DXVA functions.

The MS decoder of course supports interlaced VC-1, however you cannot use DXVA outside of WMP.

Thunderbolt8
13th September 2011, 15:19
is it^^ the same for DXVA2?

is it not possible to make the player of your choice pretending to be WMP so that the MS decoder would work? maybe some small integration of a player recognition part would work?

Xaurus
13th September 2011, 16:59
nev,

I can send you my ATI 6450 when i upgrade my HTPC to AMD fusion A8-3800 :)
I have a 5770 that I am not using since replacing it with my 570 GTX. I could donate it if you are interested.