Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th January 2012, 23:28   #8161  |  Link
BatKnight
Registered User
 
BatKnight's Avatar
 
Join Date: Oct 2008
Location: Portugal
Posts: 161
Quote:
Originally Posted by nevcairiel View Post
Good news everyone!

I managed to implement VC-1 interlaced DXVA decoding.
That sure was a bitch, and locked up my GPU driver quite often while testing (thank god Win7 can recover from that), but now it seems to work just fine with both Frame Interlaced and Field Interlaced content!
Nice!
Will it be possible to select DXVA for interlaced VC-1 and CUVID for H264 or MPEG-2? Now one can only select either DXVA or CUVID for everything.

Bat
__________________
Win 11 x64, Geforce RTX 4060 Ti 16GB, TV Sony KD-55X8509C HDMI, Denon AVR-X2700H, Core i7-9700K, 32GB DDR4, Creative Labs Gigaworks S750 7.1 speakers
MPC Home-Cinema
madVR
LAV Filters
BatKnight is offline   Reply With Quote
Old 14th January 2012, 00:50   #8162  |  Link
wo0zy
Registered User
 
Join Date: Apr 2011
Posts: 12
Quote:
Originally Posted by nevcairiel View Post
Good news everyone!

I managed to implement VC-1 interlaced DXVA decoding.
That sure was a bitch, and locked up my GPU driver quite often while testing (thank god Win7 can recover from that), but now it seems to work just fine with both Frame Interlaced and Field Interlaced content!
Sweet!

I don't say it often enough so for all your work!

This thread has everything! I follow it every day. Sometimes it makes me laugh, sometimes I cringe at the responses some people get (justified or not ) but mostly I feel educated by reading and look forward to testing something new!

Thanks Nev!

Wo0zy
wo0zy is offline   Reply With Quote
Old 14th January 2012, 07:22   #8163  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by CoRoNe View Post
Is there a reason you skipped DXVA1 for DXVA2?
Several.

- DXVA1 doesnt allow frame copyback
- DXVA1 is only for Windows XP
- FFMPEG only supports DXVA2
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th January 2012, 07:23   #8164  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by BatKnight View Post
Nice!
Will it be possible to select DXVA for interlaced VC-1 and CUVID for H264 or MPEG-2? Now one can only select either DXVA or CUVID for everything.

Bat
Why would you want that? CUVID is superior.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th January 2012, 07:36   #8165  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
nev, do you know if HD MPEG2 software decoding handles errors differently than DXVA decoding? I've just started testing the 1080i and 720p wtv from OTA channels (I'm in the US so ATSC) recorded in Win 7's Media Center. They play relatively well, but with LAV Video's MPEG2 I get heavy gray blocking. With ffdshow, and the MS DTV-DVD decoder however, I don't get blocking, but I get slight color (reddish-greenish) and black level shifts. I don't get either when I just switch to EVR and a full DXVA chain, it plays just perfectly like on MC itself. So I still don't know for sure what's going on here, that's why I'm asking if errors from the capture could be the culprit, and somehow DXVA has better error resilience or something like that.

If it's not as simple as that, I could upload samples if anyone is interested to confirm.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 14th January 2012, 07:45   #8166  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
@ Andy o:

Are you using LAVSplitter? LAVvideo doesn't seem to like Microsoft's .wtv spltter (StreamBufferSource). If you use mpc-hc, block StreamBufferSource - you lose continuous live TV playback, but LAVSplitter works better for everything else, and gives you the ability to select audio streams.
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870
robpdotcom is offline   Reply With Quote
Old 14th January 2012, 08:17   #8167  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Thanks, you're right. I owe you a sandwich.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 14th January 2012, 11:34   #8168  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Benchmark results - Signature system - Video clip requested - LAV 0.44 latest


GraphStudio 0.3.2/ GraphStudio Next 0.4.5.5 (same results - 0.1fps difference)

3 passes - Null Renderer


5750 50,4 fps - GPU load 48% - 50% - CPU Load Max frequency ~ 25% average

(6)750 56,2 fps - GPU load 52% - 53% - CPU Load Max frequency ~ 30% average


DXVA Checker v2.6.2


LAV Video DXVA2

(6)750 EVR 53/54/54 - GPU Load 0/33/74 - CPU load max frequency 22/23/27
(6)750 VMR 48/54/56 - GPU Load 0/33/74 - CPU load max frequency 22/24/27


MS DS (vanilla DXVA2)

A lot of artifacts - Not sure about valid speed


(6)750 EVR 58/66/69 - GPU Load 0/3/3 - CPU load LOWEST frequency@1.6 GHz 9/10/11


MS MFT(vanilla DXVA2)

Perfect decoding


(6)750 EVR 68/71/72- GPU Load 0/1/7 - CPU load LOWEST frequency@1.6 GHz 0/10/10


Nice try - I'll skip because of:

1) High GPU load

2) High CPU load

3) Low decoding performance

4) Absolutely no need for anything else than EVR renderer

Waiting for your DXVA vanilla solution.

UPDATE:
According to AMD and other sources over the Net, the only way to use Frame Copy with zero penalty is through OpenCL.
If you want to implement a fast DXVA Frame copy solution for ATI hardware, you have to use OVD API (OpenVideo Decode).
It's like NVCUVID and Intel's MSDK in its basic principle.
No other way. Sorry.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 14th January 2012 at 12:25.
NikosD is offline   Reply With Quote
Old 14th January 2012, 11:37   #8169  |  Link
blexley
Registered User
 
Join Date: Dec 2011
Posts: 36
If you are running nothing but MPC-HC with LAV Filters do you only uncheck all the Transform Filters or do you uncheck all the Source Filters aswell. ?

All the guides seem to contradict each other with some even saying "Transform filters (Prefer) in 'External filters' override transform filters in 'Internal Filters' (usually). So there is no reason to disable all transform filters."
blexley is offline   Reply With Quote
Old 14th January 2012, 11:42   #8170  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
@ blexley:

Source Filters: use only for Audio CD and (S)VCD

Transform Filters: use none.

Last edited by Midzuki; 14th January 2012 at 11:44. Reason: clarification
Midzuki is offline   Reply With Quote
Old 14th January 2012, 11:47   #8171  |  Link
blexley
Registered User
 
Join Date: Dec 2011
Posts: 36
Awsome thanks alot Midzuki.

Think i'll just leave it as MPC-HC with LAV Filters as all this other stuff is confusing.
blexley is offline   Reply With Quote
Old 14th January 2012, 12:27   #8172  |  Link
IanD
Registered User
 
Join Date: Jun 2003
Location: Australia
Posts: 190
Just exploring the latest LAV package with MPC and MadVR on XP SP2, Nvidia 8400GS with 285.58 driver.

However, with HW decoding (Nvidia CUVID) enabled in the LAV Video Decoder, 720p mkv files are incredibly pixelated and torn: if I disable HW decoding, it is smooth and unpixellated. Divx avi is fine. Doesn't change if I use EVR instead of MadVR.

Is my 8400GS (the updated version, not the original) inadequate to support CUVID, or is something else wrong with my setup?
IanD is offline   Reply With Quote
Old 14th January 2012, 12:53   #8173  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
@ Nev the latest x64 version ( "Revision 870a5b4451 dxva2: implement software fallback " ) it's just crashing (MPC-HC) while the x86 version it's not crashing (working with VC1i too ) but also has no DXVA just software
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 14th January 2012, 12:55   #8174  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Mercury_22 View Post
@ Nev the latest x64 version ( "Revision 870a5b4451 dxva2: implement software fallback " ) it's just crashing (MPC-HC) while the x86 version it's not crashing (working with VC1i too ) but also has no DXVA just software
If VC1i is working, then you obviously have DXVA, because the software decoder doesn't decode it.
Note that MPC-HCs DXVA status display doesn't work with this decoder.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th January 2012, 12:58   #8175  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by nevcairiel View Post
If VC1i is working, then you obviously have DXVA, because the software decoder doesn't decode it.
Note that MPC-HCs DXVA display doesn't work with this decoder.
ok then ! waiting for the x64 fix
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 14th January 2012, 13:22   #8176  |  Link
Mixer73
Registered User
 
Join Date: Nov 2007
Posts: 240
Quote:
Originally Posted by IanD View Post
However, with HW decoding (Nvidia CUVID) enabled in the LAV Video Decoder, 720p mkv files are incredibly pixelated and torn: if I disable HW decoding, it is smooth and unpixellated. Divx avi is fine. Doesn't change if I use EVR instead of MadVR.
Sounds to me like your files may not have been encoded in a DXVA compliant fashion. Perhaps post up MediaInfo for an offending file to confirm.


Quote:
Originally Posted by robpdotcom View Post
Are you using LAVSplitter? LAVvideo doesn't seem to like Microsoft's .wtv spltter (StreamBufferSource). If you use mpc-hc, block StreamBufferSource - you lose continuous live TV playback, but LAVSplitter works better for everything else, and gives you the ability to select audio streams.
Oh man, I have this symptom too, buuuut I am using DVR-MS, in this case just with MPEG2/AC3 inside, which LAV Splitter isn't set up for.

Nev: I believe everything DVR-MS is a small subset of WTV container, is it at all possible to support DVR-MS in LAV Splitter?

Last edited by Mixer73; 14th January 2012 at 13:29.
Mixer73 is offline   Reply With Quote
Old 14th January 2012, 13:44   #8177  |  Link
IanD
Registered User
 
Join Date: Jun 2003
Location: Australia
Posts: 190
Quote:
Originally Posted by Mixer73 View Post
Sounds to me like your files may not have been encoded in a DXVA compliant fashion. Perhaps post up MediaInfo for an offending file to confirm.
Format : Matroska
Format version : Version 2
File size : 1.28 GiB
Duration : 41mn 53s
Overall bit rate : 4 363 Kbps
Encoded date : UTC 2012-01-03 12:05:59
Writing application : mkvmerge v5.2.1 ('A Far Off Place') built on Jan 2 2012 23:21:10
Writing library : libebml v1.2.3 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 41mn 53s
Bit rate : 3 892 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.176
Stream size : 1.14 GiB (89%)
Language : English
Default : Yes
Forced : No
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 41mn 53s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 115 MiB (9%)
Language : English
Default : Yes
Forced : No

Also discovered it pixelates badly on Youtube flv files.

Last edited by IanD; 14th January 2012 at 13:48.
IanD is offline   Reply With Quote
Old 14th January 2012, 13:58   #8178  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Mercury_22 View Post
ok then ! waiting for the x64 fix
Should be fixed.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th January 2012, 14:17   #8179  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Mixer73 View Post
Nev: I believe everything DVR-MS is a small subset of WTV container, is it at all possible to support DVR-MS in LAV Splitter?
DVR-MS works just fine with LAV Splitter, its just not a option in the installer. Just block the StreamBufferSource in MPC-HC and it should just work.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 14th January 2012, 14:20   #8180  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by nevcairiel View Post
Should be fixed.
Yes it is
But maybe you can do something about the "DXVA" message cause even in the MPC-HC's stats (ctrl+J) it's saying "DXVA: Not using DXVA" ! and it's very confusing especially now with all this testing
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.