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, 02:33   #22581  |  Link
PhantomF
Registered User
 
Join Date: Jun 2013
Posts: 2
I'm having a strange issue with LAV Video Filter. 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. If I disable DXVA2 in the video filter settings this doesn't happen and GPU clocks are normal after stopping video playback.

This happens in both MPC-HC and NextPVR where I use the LAV Video filter. I've tried a few different LAV builds including the newest nightly with same results as well as a few different video card drivers. Any idea what is causing this issue as it is extremely annoying having to restart the PC after watching TV or videos and before playing games. I'm running the latest build of Win10 Pro 64bit and I'm using the 32-bit version of the LAV filters as that's required for MPC-HC/madVR and NextPVR playback.
PhantomF is offline   Reply With Quote
Old 10th February 2018, 03:54   #22582  |  Link
Khaled1323
Registered User
 
Join Date: Nov 2017
Posts: 5
LAV filtter doesn't show in Graphstudio

I have been using Lav for a long time and just passed a comment where he mentioned using Graphstudio to check if it's working or not. Surprisingly It doesn't look like it working on me. Does this look right? I'm using madvr with mpp and Lav fillters
Khaled1323 is offline   Reply With Quote
Old 10th February 2018, 06:07   #22583  |  Link
mkver
Registered User
 
Join Date: May 2016
Posts: 103
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   #22584  |  Link
Khaled1323
Registered User
 
Join Date: Nov 2017
Posts: 5
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   #22585  |  Link
nussman
Registered User
 
Join Date: Nov 2010
Posts: 192
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 online now   Reply With Quote
Old 10th February 2018, 11:53   #22586  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,053
^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   #22587  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 292
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: W10 1709, E7400, NVIDIA 1050 Ti, DVB-C, Panasonic GT60 | Desktop: W10 1803, 4690K, AMD 7870, Dell U2713HM | Laptop: Insider Slow, i5-2520M | MediaPortal 1/MPC-HC, LAV Filters, ReClock, madVR
el Filou is offline   Reply With Quote
Old 10th February 2018, 22:50   #22588  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 41
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   #22589  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 90
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   #22590  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,351
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   #22591  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 292
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: W10 1709, E7400, NVIDIA 1050 Ti, DVB-C, Panasonic GT60 | Desktop: W10 1803, 4690K, AMD 7870, Dell U2713HM | Laptop: Insider Slow, i5-2520M | MediaPortal 1/MPC-HC, LAV Filters, ReClock, madVR
el Filou is offline   Reply With Quote
Old 11th February 2018, 15:13   #22592  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 4,889
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   #22593  |  Link
PhantomF
Registered User
 
Join Date: Jun 2013
Posts: 2
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   #22594  |  Link
Megalith
Registered User
 
Join Date: Mar 2011
Posts: 90
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   #22595  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 41
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   #22596  |  Link
pson80
Registered User
 
Join Date: Jun 2013
Posts: 2
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   #22597  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,804
You need to re-install your sound driver.
clsid is offline   Reply With Quote
Old 12th February 2018, 16:52   #22598  |  Link
pson80
Registered User
 
Join Date: Jun 2013
Posts: 2
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   #22599  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,804
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   #22600  |  Link
Ironclad
Registered User
 
Join Date: Jun 2016
Posts: 6
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
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 15:01.


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