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 10th February 2018, 06:07   #22541  |  Link
mkver
Registered User
 
Join Date: May 2016
Posts: 197
LAV Filters isn't used for decoding in that graph at all (instead Microsoft's default decoders are used). Just delete the MS filters and insert desired LAV Filters manually (via Graph -> insert filter). Afterwards you have to make the right connections.
mkver is offline   Reply With Quote
Old 10th February 2018, 07:58   #22542  |  Link
Khaled1323
Registered User
 
Join Date: Nov 2017
Posts: 7
Can you show me an example I have no idea how it should be
Khaled1323 is offline   Reply With Quote
Old 10th February 2018, 10:02   #22543  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 238
Imho this is the graph built by directshow. Players build their own graph with LAV, madVR etc.
So nothing wrong here, most players can show the active filters during playing Media files.
nussman is offline   Reply With Quote
Old 10th February 2018, 11:53   #22544  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
^this.
And if a player doesn't show filters (what player is "mpp"?) you can activate LAV tray icons. Then you will see if they are loaded.
sneaker_ger is offline   Reply With Quote
Old 10th February 2018, 13:22   #22545  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Quote:
Originally Posted by PhantomF View Post
I have my Radeon 7870 GPU clocked at 1200/1350 core/memory and when idle the clocks sit at 300/150. Whenever I use LAV Video filter with DXVA2 hardware decoder enabled the GPU clocks go to 1000/1200 and after stopping the video playback the clocks sit at 450/1200 when idle and max out at 1000/1200 in all other applications/games from then on. I need to restart my PC in order to reset them so they return to normal.
The DXVA video decoder has no control over the GPU clocks, the hardware driver is responsible for that. Here's how you can confirm: with MPC-HC, go to Options => Internal Filters => Transform Filters, and uncheck H264/AVC. Then go to External Filters => Add Filter => Microsoft DTV-DVD Video Decoder, and click Prefer. Open a file with H264 video, make sure the Microsoft decoder is used (right click => Filters) and check your clocks again. If the same thing happens, then it's an AMD driver bug.
__________________
HTPC: Windows 10 22H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 536.40
el Filou is offline   Reply With Quote
Old 10th February 2018, 22:50   #22546  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 48
hiya there, i need some help please.
previously i use mpc-hc+lav+madvr, they work great. (pc is i7 7700k stock, 16gb ram, gtx 1080ti, 1080p monitor)
i set lav video to dxd11cb plus software deinterlacing

recently i switch to a 1440p hdr monitor and trying some 4k hdr stuff.
but they plays very laggy, so i use dxd11native to play hdr content
the problem is now with dx11native's, with interlaced videos i cant use software deinterlacing of lav, and videos that previously play smooothly, interlaced to 59 fps, now plays at 29fps with many vertical line during movement.

so basically what i want to ask is.
1. is it possible to play 4khdr content with dx11 copyback? (at least on my current setup?)
2. is it possible to get deinterlacing to work with dx11native?
takenori is offline   Reply With Quote
Old 11th February 2018, 02:10   #22547  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 131
Is it normal to experience clipping even when the mixer is set to default levels (.71 for center mix and surround mix levels)? This post suggests that those values should be set to .29 to eliminate any potential instance of clipping, but is that correct?

My understanding is that "Normalize Matrix" reduces the natural dynamics of a track, so I do not want to use that.

Last edited by Megalith; 11th February 2018 at 02:13.
Megalith is offline   Reply With Quote
Old 11th February 2018, 08:05   #22548  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
Quote:
Originally Posted by Megalith View Post
My understanding is that "Normalize Matrix" reduces the natural dynamics of a track, so I do not want to use that.
It does nothing of that sort. It only reduces the mixing coefficients to avoid any potential of clipping - ie. it reduces the overall volume, the dynamic range remains untouched.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 11th February 2018, 14:40   #22549  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Quote:
Originally Posted by takenori View Post
1. is it possible to play 4khdr content with dx11 copyback? (at least on my current setup?)
No idea. I don't have any device capable of handling more than HD with copyback.
Quote:
2. is it possible to get deinterlacing to work with dx11native?
Not yet, we need to wait until madshi implements it in madVR, and it's quite a lot of work according to him, so no ETA for that feature.

I have resorted to manually switching to D3D11 Native in LAV settings when I want to watch 4K (which is not that often).
__________________
HTPC: Windows 10 22H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 536.40
el Filou is offline   Reply With Quote
Old 11th February 2018, 15:13   #22550  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
uhd playback work in copyback mode with dxva CP or d3d11 CP. matter.

there could be a lot of possible issues why it is not working but hard to address like this and i don't see a single reason why lavfilter has anything todo with that.
huhn is offline   Reply With Quote
Old 11th February 2018, 18:16   #22551  |  Link
PhantomF
Registered User
 
Join Date: Jun 2013
Posts: 3
Quote:
Originally Posted by el Filou View Post
The DXVA video decoder has no control over the GPU clocks, the hardware driver is responsible for that. Here's how you can confirm: with MPC-HC, go to Options => Internal Filters => Transform Filters, and uncheck H264/AVC. Then go to External Filters => Add Filter => Microsoft DTV-DVD Video Decoder, and click Prefer. Open a file with H264 video, make sure the Microsoft decoder is used (right click => Filters) and check your clocks again. If the same thing happens, then it's an AMD driver bug.

You're correct it does it using the Microsoft DTV-DVD Video Decoder as well. Wonder if this affects all AMD video cards or just a bug with mine. Like I said I have tried different drivers. Thanks!
PhantomF is offline   Reply With Quote
Old 11th February 2018, 19:37   #22552  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 131
Quote:
Originally Posted by nevcairiel View Post
It does nothing of that sort. It only reduces the mixing coefficients to avoid any potential of clipping - ie. it reduces the overall volume, the dynamic range remains untouched.
I understand. It was the tool-tip description that was confusing me: it says that the feature ensures a consistent volume level and that the volume level in one file will not change, so I assumed that the dynamics were affected in some way.

Last edited by Megalith; 11th February 2018 at 19:57.
Megalith is offline   Reply With Quote
Old 12th February 2018, 01:33   #22553  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 48
thanks for the input.
so i try a few things and apparently, i still use x86 mpc-hc.
after switching to x64, all 4k and 4khdr works with dxd11cb.
takenori is offline   Reply With Quote
Old 12th February 2018, 15:53   #22554  |  Link
pson80
Registered User
 
Join Date: Jun 2013
Posts: 3
Sorry for being a total noob about this and sorry again if I'm posting my question at the wrong place.
But all of a sudden and without any changes on my part mp4-files have issues with the sound. When opening the file in MPC-HC all I get is this warning that says I don't have the right codec installed. The files have worked before but could it be some stupid update to Win10 that has changed things?

I have Win10 build 16299 and when the problem was noticed I ran MPC-HC x64 1.7.13 with LAV 0.70.2.88 and tried with a clean install without change and then tried MPC-HC 1.7.14 with no change.

The text in the warning window is this if it's to any help.

Code:
LAV Splitter Source (internal)::Audio
LAV Audio Decoder (internal)::Output
Audio Switcher::Out

Media Type 0:
--------------------------
Audio: IEEE Float 44100Hz stereo 2822kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_IEEE_FLOAT {00000003-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 8
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0003
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 352800
nBlockAlign: 8
wBitsPerSample: 32
cbSize: 0 (extra bytes)

pbFormat:
0000: 03 00 02 00 44 ac 00 00 20 62 05 00 08 00 20 00 ....D¬.. b.... .
0010: 00 00                                           ..


Media Type 1:
--------------------------
Audio: PCM 44100Hz stereo 1411kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 4
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 176400
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 0 (extra bytes)

pbFormat:
0000: 01 00 02 00 44 ac 00 00 10 b1 02 00 04 00 10 00 ....D¬...±......
0010: 00 00                                           ..
And this is what MediaInfo says about the file
Code:
Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : mp4a-40-2
Duration                                 : 4 min 52 s
Bit rate mode                            : Constant
Bit rate                                 : 126 kb/s
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 4.38 MiB (9%)
Default                                  : Yes
Alternate group                          : 1
pson80 is offline   Reply With Quote
Old 12th February 2018, 16:09   #22555  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
You need to re-install your sound driver.
clsid is offline   Reply With Quote
Old 12th February 2018, 16:52   #22556  |  Link
pson80
Registered User
 
Join Date: Jun 2013
Posts: 3
Guess I could have tried that but didn't think that was the problem since sound worked in general, it was just MPC-HC.
What gave it away that this was what was needed? Cause it worked so thanks for that
pson80 is offline   Reply With Quote
Old 12th February 2018, 17:36   #22557  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Based on the error message and lots of experience. Decoding was working ok, it was connection to audio renderer that failed.
clsid is offline   Reply With Quote
Old 12th February 2018, 18:31   #22558  |  Link
Ironclad
Registered User
 
Join Date: Jun 2016
Posts: 7
Is there any interest in adding plugin support for external video manipulation such as Vapoursynth? All development of ffdshow has basically discontinued in favor of LAV, but this is one feature that I haven't been able to find a new solution for.
Ironclad is offline   Reply With Quote
Old 14th February 2018, 09:51   #22559  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I'm using latest DXVA Checker v4.0.0 with Windows 7 x64 SP1 with all updates installed.

My CPU/GPU is a SandyBridge Core i3-2100 - latest driver v4229- and using the MF64 Microsoft's H264 MFT decoder, the app allows me to benchmark the "Decoding Performance" using D3D11.

Playback mode for MS MFT D3D11 is disabled and all the other decoders like MS DS/LAV/Intel MFT can't be used with D3D11 even in "Decode Performance" mode.

So, only Ms MFT decoder can leverage D3D11 and only in "Decode" mode but:

How is that possible using Windows 7 ?
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 14th February 2018, 09:55   #22560  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
It probably uses DXGI_FORMAT_420_OPAQUE, which is the only supported D3D11 decoder output format on Windows 7, but you can't really do much with it. You can decode it, and display it somehow (although I dont think EVR itself even supports that), but you cannot access the data "untouched", as such it really doesn't work well for what LAV wants to do with it.

The problem on Windows 7 is not that the decoder doesn't work, because it technically does - the problem is that NV12/P010 are not supported in D3D11. You need Windows 8 for that. But without NV12/P010, the decoder is mostly useless for most use-cases.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 14th February 2018 at 09:58.
nevcairiel 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 13:00.


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