View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Klaus1189
26th January 2018, 13:52
I could add it, but then nothing would show it. Yay? Guess its not my problem anymore then =p
Do you please add support for WebVTT, so it is left on subtitle renderer to support it?
huhn
26th January 2018, 14:03
Does it make sense to ask the devs of this project for WEBVTT?
sorry no clue.
if they cares about it i guess so.
at least i don't see a reason why it should be out of scope for assfilter_mod but i guess yet PGS is more important.
nussman
26th January 2018, 14:25
Does it make sense to ask the devs of this project for WEBVTT?
Does it make sense to ask this here?
Why not just asking in the assfiltermod thread?
PCU
26th January 2018, 14:38
when i play h.265 format with dxva 2 ticked, mpc-hc (x64, latest official version) freezes & must end task the process.
intel hd 6000 gpu. win 8 pro x64.
Bozotheclown
26th January 2018, 16:28
Why D3D11 is supported only under win8 and newer?
I try to activate it under Win7_64. DX11 is working under Win7.
nevcairiel
26th January 2018, 16:29
Windows 7 does not support D3D11 decoding, its as simple as that. You can search the thread for when D3D11 was first introduced in LAV for more detailed explanations which features are unsupported in 7.
Bozotheclown
26th January 2018, 19:26
Thanks, but is not as simple as it looks like because it's module from DXv11 and DX11 is supported by Win7. Anyway it looks like now Win8.1 is the best option, and its time for next step.
ps. I Think that "Platform Update for Windows 7 SP1" solve this issue.
clsid
26th January 2018, 19:28
No, platform update does not make a difference.
nevcairiel
26th January 2018, 19:30
You basically need 11.1, which is not available until Windows 8.
For reference:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb173059 - look for DXGI_FORMAT_NV12
Direct3D 11.1: This value is not supported until Windows 8.
You can play games on Windows 7 with D3D11, but you cannot use the video decoder.
PCU
26th January 2018, 19:48
so h.265 hardware acceleration is not supported in dxva2 for hd 6000?
nevcairiel
26th January 2018, 19:52
I don't memorize every single generation of hardware. Its quite possible that it is not. I believe Skylake was the first to add full HEVC/H265 hardware acceleration (8-bit only, 10-bit hybrid), so that would be a no then.
This page seems to agree: https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
PCU
26th January 2018, 20:12
I don't memorize every single generation of hardware. Its quite possible that it is not. I believe Skylake was the first to add full HEVC/H265 hardware acceleration (8-bit only, 10-bit hybrid), so that would be a no then.
This page seems to agree: https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
:thanks:
arrgh
28th January 2018, 21:16
You should really not speculate about peoples motivations. It'll only result in people getting pissed off and ignoring you in the future. Just sayin'
I didn't even like 3D before I ever implemented 3D MVC decoding, and yet its still something that exists. Weird, huh?
the intention was not to "piss-off", but to indicate that I'm aware of the fact that your patience with Intel and/or MVC is limited...
Software decoding is independent of the OS you use, or the drivers you have installed, so if you're seeing issues on one OS and not on another, its far more likely that this is caused by the rendering - which is outside of LAVs control.
As a test, you should run it in SBS mode instead of frame-packed 3D, this avoids a lot of weirdness with 3D in the drivers, and could point you into the direction of whats going on.
...and that was a very helpful hint! Indeed, madVR .11 set in "devices/.../properties/3D format" to "side-by-side" presents with LAV .88 two squeezed pictures (D3D9 is used for this); the TV signals: "3D detected"; when I push the 3D-button on the TV-remote I get a smooth 3D picture !
https://frupic.frubar.net/36394
So, I moved back to Win8.1x64 and there the outcome was the same. Even with Intel driver .4821.
(Later I even set madVR back to Auto; if I just start the film and do nothing, it runs ok; but as soon I "FF" or go with the mouse over the seek-bar everything breaks down)
So, my question is : is qualitywise the outcome of the “side-by-side” trick in madVR the same as with “auto” (are 2 full HD pictures sent to the TV which it combines to a 3D)?
---
Then I followed a different thought : basically all MVC-files should be the same (right?) – a H264 base video and the ssif-stream are muxed with audio and sups to an mkv… why are some played and others not…?
Of my 65 3D-movies 28 work with LAV .83 (using hardware decoding) the others not. What’s the difference? Since my expertise is limited in this area, I simply used MediaInfo…
The differences MediaInfo reports are only in:
“Multiview layout laced” (present or not present)
ReFrames : 2, 3 or 4
GOP : M=1, with N= 5, 7, 10, or 12; or: M= 3, with N=9, 12 or 24
https://frupic.frubar.net/36395
Generally said the outcome was unfortunately inconclusive; this are the trends :
Of the working files 2/3 had Reframes=2 and GOP =M1, with N=5 or 9 or 10; or it was not set at all;
Some had Reframes=4, mostly with GOP = M=1, N=12 or M=3, N=24; very few has Reframes=3;
Of the not working Files 78% had
ReFrames : 3 with GOP : M=1, N=12 (70%; only one exception : N=7) or GOP not set at all (30%);
…maybe there is something completely different one could look for but I don’t have the knowledge and tools…?
But bottom line is : I should move back to the madVR thread, right?
amayra
29th January 2018, 11:08
Does Hyper-Threading make a difference for LAV Filters ?
Aleksoid1978
29th January 2018, 11:32
Maybe you upload short sample of "bad files" for testing.
arrgh
29th January 2018, 21:45
Maybe you upload short sample of "bad files" for testing.
have sent you a PM
Thanks
P.J
30th January 2018, 10:25
You do realize that even if this was supported, that LAV wouldn't actually do any cropping, but just forward these values to the renderer, so the renderer does the cropping, right?
Since SVP uses ffdshow, and ffdshow is dead and buried, nothing would change there. :)
But MPC Video decoder supports it perfectly :rolleyes:
runner
30th January 2018, 16:50
From what I'm told from other users, the latest nightlies should be working fine for UHD BD.
I tried with different ISO of BDUHD and I can not start the main movie using mpchc and mpcbe set with external filters
huhn
30th January 2018, 17:55
But MPC Video decoder supports it perfectly :rolleyes:
your quote is from 2013
P.J
30th January 2018, 19:20
your quote is from 2013
Yes, but still not fixed =/
nevcairiel
30th January 2018, 19:23
Container cropping is an obscure niche case and not likely to ever be supported.
P.J
30th January 2018, 21:11
Container cropping is an obscure niche case and not likely to ever be supported.
But it's very useful =/
Check this: https://www.sendspace.com/file/sjgj65
PCU
30th January 2018, 21:29
soom ffmpeg will support .usm (container) file format:
https://trac.ffmpeg.org/ticket/6995
huhn
31st January 2018, 04:46
Container cropping is an obscure niche case and not likely to ever be supported.
madVR has basic support for it now.
madVR v0.92.3
* added (limited) support for cropping through the DirectShow pin info
but if i'm not mistaken it reads it from the video stream not the container.
but this is just a fix for a bad encoded video...
clsid
31st January 2018, 15:57
P016 is still broken on Win10 build 16299 for at least some recent Intel drivers. So the current workaround needs some adjustment.
clsid
31st January 2018, 16:00
I tried with different ISO of BDUHD and I can not start the main movie using mpchc and mpcbe set with external filtersBluray requires the internal MPEG source filters to be enabled.
Use MPC-HC 1.7.14, which includes latest LAV Filters:
https://forum.doom9.org/showthread.php?t=175209
nevcairiel
31st January 2018, 17:43
P016 is still broken on Win10 build 16299 for at least some recent Intel drivers. So the current workaround needs some adjustment.
It was disabled because of general failure in EVR with >8 bit formats, not driver issues. Those issues have been resolved.
onur
1st February 2018, 01:52
Hi, i have a Problem with mp4 Video Export and Powerpoint 2016.
Exported Powerpoint Video is flickering when playing with DXVA2 Video Player.
Flicker occurs on Page Change.
Steps to reproduce:
Open Powerpoint 2016, Empty Project, make 2 Pages (first with white background, second black background).
Export Video as mp4.
Play video with MPC-HC - with enabled DXVA2.
tested with MPC-HC(LAV) and VLC with DXVA2 enabled (nativ and copy back).
tested with Intel HD Graphics, and Nvidia Graphics.
Flickering only occurs when exporting mp4 - no problems with wmv.
Flickering only occurs with Powerpoint 2016 - no problems with Powerpoint 2010+http://skp.mvps.org/videotools.htm
Flickering only occurs with DXVA2 Playback - no Probs with Software Decoder.
is this a Powerpoint or LAV and VLC Bug?
regards, onur
Aleksoid1978
1st February 2018, 05:18
Hi, i have a Problem with mp4 Video Export and Powerpoint 2016.
Exported Powerpoint Video is flickering when playing with DXVA2 Video Player.
Flicker occurs on Page Change.
Steps to reproduce:
Open Powerpoint 2016, Empty Project, make 2 Pages (first with white background, second black background).
Export Video as mp4.
Play video with MPC-HC - with enabled DXVA2.
tested with MPC-HC(LAV) and VLC with DXVA2 enabled (nativ and copy back).
tested with Intel HD Graphics, and Nvidia Graphics.
Flickering only occurs when exporting mp4 - no problems with wmv.
Flickering only occurs with Powerpoint 2016 - no problems with Powerpoint 2010+http://skp.mvps.org/videotools.htm
Flickering only occurs with DXVA2 Playback - no Probs with Software Decoder.
is this a Powerpoint or LAV and VLC Bug?
regards, onur
Upload short sample.
onur
1st February 2018, 14:00
attachment is now in original post.
mp4 and powerpoint file.
LigH
1st February 2018, 18:02
Attaching the files to your post was no perfect idea; this forum requires moderators to approve attachments, that may take a while...
ajp_anton
5th February 2018, 21:38
I have a question regarding the advanced subtitle selector. What happens if the preferred subtitle language doesn't exist? If one speaks multiple languages, can I set a "priority list" of subtitles that I prefer to activate?
For example: If audio is japanese, activate finnish subtitles. If it doesn't exist, then swedish subtitles, and if that also doesn't exist, "fall back" to english subs.
sneaker_ger
5th February 2018, 21:42
The priorities are from left to right.
jpn:fin;jpn:swe;jpn:eng
ajp_anton
6th February 2018, 13:17
Thanks. So even if it matches the audio language, it moves on to the next one if it can't match the audio:subtitle pair. I finally got it working with MPC-HC, but I was first testing with Jriver, where I couldn't get it working. Will ask in their forums.
el Filou
6th February 2018, 14:37
@nevcairiel : would it be possible to add an option to choose a different deinterlacing type for SD and HD resolutions?
For HD I find the hardware deinterlacing to be more pleasing to the eye and also my CPU can't handle YADIF, but for SD YADIF looks better than hardware and no problem for the CPU.
madshi
7th February 2018, 09:21
Just ripped my "Despicable Me" UHD Blu-Ray disc (German), worked fine. Then I tried making it play with MPC-HC, using latest LAV Nightly build. It's a seamless branching disc. The auto-selection of the right playlist doesn't seem to work. If I drag "index.bdmv" into the media player, nothing happens. However, using eac3to to identify the movie playlist and then dragging the playlist file into the media player works fine.
Is this something that would need to be fixed in MPC-HC or in LAV?
nevcairiel
7th February 2018, 09:45
Works fine for the UHD disc I have. Make sure to disable the internal MPEG TS/PS/PVA demuxer so that the external LAV can fully take over. Probably something in MPC-HC that doesn't like the increased version number in the Blu-ray files?
madshi
7th February 2018, 10:40
Just checked, it works with MPC-BE, but not with MPC-HC, so not your fault.
PhantomF
10th February 2018, 02:33
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.
Khaled1323
10th February 2018, 03:54
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
https://image.prntscr.com/image/6uOS22rzRHS3e9AA-BGc8Q.png
mkver
10th February 2018, 06:07
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.
Khaled1323
10th February 2018, 07:58
Can you show me an example I have no idea how it should be
nussman
10th February 2018, 10:02
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.
sneaker_ger
10th February 2018, 11:53
^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.
el Filou
10th February 2018, 13:22
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.
takenori
10th February 2018, 22:50
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?
Megalith
11th February 2018, 02:10
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 (https://forum.doom9.org/showthread.php?p=1792907#post1792907) 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.
nevcairiel
11th February 2018, 08:05
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.
el Filou
11th February 2018, 14:40
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.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).
huhn
11th February 2018, 15:13
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.