View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Plutotype
17th December 2015, 00:12
Hi folks,
Do LAVfilters support DCP package playback? xml and vid.mxf and aud.mxf
Thanks
Pluto
lowenz
17th December 2015, 16:15
Hello guys!
I enjoy testing LAV internal and other filters for HEVC playback but I can't find a way to disable the GPU acceleration of my 750 Ti (Maxwell 1): it seems the GPU drivers override every other options in MPC-HC / LAV if I use "modern" renderers.
Any suggestions?
Vasilich
17th December 2015, 23:33
with LAV you can set it to use CPU only when using decoder type "avcodec".
what do you mean under "modern renderers"? renderer can also use GPU for effects, so refer to wiki/forum for that particular renderers you use how to disable GPU usage by them.
lowenz
18th December 2015, 00:11
what do you mean under "modern renderers"? renderer can also use GPU for effects, so refer to wiki/forum for that particular renderers you use how to disable GPU usage by them.
VMR 7,9, EVR (and Sync).
0% GPU usage with a Radeon 7850 (windows 7), high GPU usage with the 750 Ti (windows 10)
lowenz
18th December 2015, 00:30
with LAV you can set it to use CPU only when using decoder type "avcodec".
HW acceleration is already disabled in MPC-HC/Lav configuration but the GPU (Nvidia Maxwell) usage is still high (vs AMD GCN @0%, same settings)
wanezhiling
18th December 2015, 02:28
Because the player can't detect the gpu usage on ATI/intel platform, so always 0%, that's not correct.
With nvidia, it's normal, you can check GPU-Z -> GPU Load.
lowenz
18th December 2015, 11:51
Because the player can't detect the gpu usage on ATI/intel platform, so always 0%, that's not correct.
With nvidia, it's normal, you can check GPU-Z -> GPU Load.
It's 0% with RTSS.
nevcairiel
18th December 2015, 11:57
Your stats are just wrong, then. Video Rendering will always take a bit of GPU load.
However, if hwaccel is turned off in LAV, then it will not touch the GPU at all. Anything that happens after LAV has decoded the image is entirely out of its hands, so not relevant to this thread.
Nullack
18th December 2015, 21:22
Bug Report: Forced subtitles are not appearing despite being enabled in LAV splitter. During playback LAV splitter identifies the auto subtitle stream for forced subtitles. However no forced subs are displayed such as in star wars episode 1 bluray disc chapter 14. Normal PGS type subtitles display fine.
I see the help text in LAV Splitter has a note saying the tick box for forced subtitles may not work for all bluray discs. Is there a way to fix this? Can I assist with testing? What is the issue causing some blurays to not work with forced subtitles.
Thanks
sneaker_ger
18th December 2015, 21:37
PGS subtitles in BluRay can mark certain subtitle pictures (not tracks!) as "forced". So you can have one track that has the complete English + alien dialogue of Star Wars in a single track. LAV can filter the non-alien parts out because they are not marked as forced if the user wishes so. Some authoring houses choose to not mark any subtitle pictures as "forced" at all, instead they just put the full dialogue (including the alien parts) in one track and the alien parts into another track. Since no picture is marked as forced LAV will filter everything out. Your only options:
1.) deactivate the respective LAV option or
2.) choose the respective full subtitle track (not the auto forced-only one) or
3.) re-author the file with some subtitle editor to make use of the flags
You might be forced to do 3.) in case you have not copied the track that only consists of the alien language parts from the BluRay. (or re-rip the BluRay, of course)
The problem is well known - there's nothing you can assist with.
Nullack
19th December 2015, 02:45
Thanks for the details. However this doesnt stand up to logical reason to say it cant be done programatically. Since the Xbox One can do it using the AMD x86 CPU thats in it, clearly it can be done in software. Also Cyberlinks PowerDVD does it, again some software compiled for the x86 platform. I assume the problem is the open source community was never given licences from the Bluray folk and hence all the open source stuff was clean room reverse engineered? And theres gaps in whats been discovered from that reverse engineering vs the actual spec?
nevcairiel
19th December 2015, 08:01
The information is just not present, the only way to do this is to use the full menu navigation, which is obviously not the goal here.
foxyshadis
19th December 2015, 14:19
The only way I can see a player accounting for that is by silently switching to a forced-only subtitle track if forced is selected and no forced subpictures are in the main track. Then you have to guess which track if none of them are marked forced either...
nevcairiel
19th December 2015, 14:33
and no forced subpictures are in the main track.
Unfortunately, you don't know that until the end of the movie. ;)
jkauff
19th December 2015, 16:36
@nevcairiel
You're working for JRiver now, I'm curious why the Red October version of LAV is always behind the LAV standalone released version. Is there a technical reason? I have LAV set up as external filters, which seems silly given how often MC21 is updated. Just curious.
I didn't post this in the JRiver forums because I didn't want to take the chance that I would embarrass anyone.
Stereodude
19th December 2015, 20:56
The information is just not present, the only way to do this is to use the full menu navigation, which is obviously not the goal here.
And yet, nearly everyone still insists there's no compelling use case to implement menu support via libbluray into players. The fact that none of the open source players (potentially excluding VLC) can properly play back many intact Blu-rays (after decryption) without requiring the user to manually futz with subtitles during playback somehow gets overlooked. :scared:
I know I just love having to pause a movie to go figure out if there are forced subtitles (by flagging or a VM command to pick a certain PGS track) in one of the other PGS subtitle tracks that I should be seeing when I hear foreign languages being spoken but aren't seeing any subtitles on the screen. Apparently only the end users, and none of the developers, are actually trying to play back intact decrypted Blu-rays. :confused:
nevcairiel
19th December 2015, 21:00
You are free to wish for any feature you want, but its not my responsibility to fulfill your wishes. I do perfectly fine without BD menus, in fact I would never use them even if I could. And yes, I do watch plenty Blu-rays, I just make them MKVs first. My remote control can't go to the PC and put a disc in, after all.
Stereodude
19th December 2015, 21:12
You are free to wish for any feature you want, but its not my responsibility to fulfill your wishes. I do perfectly fine without BD menus, in fact I would never use them even if I could.
No one said it was. That doesn't change the validity of the use case. The open source community is happy with half-ass Blu-ray playback. That point became crystal clear a long time ago. Unfortunately, there's no decent commercial software player. Arcsoft was the closest and they've since given up.
And yes, I do watch plenty Blu-rays, I just make them MKVs first. My remote control can't go to the PC and put a disc in, after all.
ROFL... Since when is watching .mkv files with the streams extracted from Blu-rays "watching a Blu-ray"? Am I listening to CDs when I play FLAC files in foobar?
nevcairiel
19th December 2015, 21:13
ROFL... Since when is watching .mkv files with the streams extracted from Blu-rays "watching a Blu-ray"? Am I listening to CDs when I play FLAC files in foobar?
Its the same end-result. I buy a disc, and I watch the movie in the evening, without any frustration during watching time.
Stereodude
19th December 2015, 22:30
Its the same end-result. I buy a disc, and I watch the movie in the evening, without any frustration during watching time.
Yes, because in the afternoon you spent an hour of your time to rip it, figure out which tracks should be included, and mux a mkv of it.
nevcairiel
19th December 2015, 22:35
Yes, because in the afternoon you spent an hour of your time to rip it, figure out which tracks should be included, and mux a mkv of it.
Its more like 5 minutes (10 max on stubborn discs) of unpacking the disc and starting the process and setting up the streams, and 20 for it to finish ripping, but that part is unattended of course.
I rather spent that time while I am working on the PC anyway, rather than when I want to just relax and watch the movie.
Anyway, enough of this discourse. LAV isn't going to offer BD menus now or any foreseeable future, but any other developer is of course free to build this!
dansrfe
19th December 2015, 23:12
Your sound card or speakers handles all of that. LAV doesn't do upmixing.
Actually I meant just downmixing to stereo with LFE frequencies. Do I just find the optimal LFE mix level by trial and error in the case where the speaker system "upmixes" 2.0 -> 2.1? Is 1 the max LFE level of the source?
AlexKane
19th December 2015, 23:19
Actually I meant just downmixing to stereo with LFE frequencies. Do I just find the optimal LFE mix level by trial and error in the case where the speaker system "upmixes" 2.0 -> 2.1? Is 1 the max LFE level of the source?
1 means no volume scaling.
videonerd
20th December 2015, 10:09
And yet, nearly everyone still insists there's no compelling use case to implement menu support via libbluray into players. The fact that none of the open source players (potentially excluding VLC) can properly play back many intact Blu-rays (after decryption) without requiring the user to manually futz with subtitles during playback somehow gets overlooked. :scared:
I know I just love having to pause a movie to go figure out if there are forced subtitles (by flagging or a VM command to pick a certain PGS track) in one of the other PGS subtitle tracks that I should be seeing when I hear foreign languages being spoken but aren't seeing any subtitles on the screen. Apparently only the end users, and none of the developers, are actually trying to play back intact decrypted Blu-rays. :confused:
Hi Stereodude, do not fool yourself to think that nevcairiel can actually add any features to lav filters (which is just a hack using ffmpeg). You are more likely to get that feature developed in lav filters if you chase the ffmpeg devs.
sneaker_ger
20th December 2015, 10:35
Nevcairiel is one of the most active ffmpeg developers. Don't mistake lack of interest for lack of ability.
https://github.com/FFmpeg/FFmpeg/commits?author=Nevcairiel
SeeMoreDigital
20th December 2015, 11:15
Hi Stereodude, do not fool yourself to think that nevcairiel can actually add any features to lav filters (which is just a hack using ffmpeg). You are more likely to get that feature developed in lav filters if you chase the ffmpeg devs.
How rude :eek:
e-t172
20th December 2015, 11:21
Actually I meant just downmixing to stereo with LFE frequencies. Do I just find the optimal LFE mix level by trial and error in the case where the speaker system "upmixes" 2.0 -> 2.1? Is 1 the max LFE level of the source?
The correct value for LFE when downmixing to two stereo channels is +10dB - 6dB = +4dB = 1.58.
The +10dB part is because of ITU-R BS.775 (https://www.itu.int/rec/R-REC-BS.775/en) which states that LFE should be played back 10dB louder than any of the main channels.
The -6dB part is to compensate for the fact that you're mixing LFE into two channels, not one. The reason it's 6dB and not 3dB is because, at these low frequencies, acoustic summation is typically coherent.
I believe the reason why nevcairiel did not make 1.58 the default is to avoid overloading stereo systems that don't have a lot of bass capability.
ryrynz
20th December 2015, 11:56
How rude :eek:
Obviously had no idea, was appropriately schooled.
filler56789
20th December 2015, 12:48
You are more likely to get that feature developed in lav filters if you chase the ffmpeg devs.
Unlikely. Hendrik Leppkes is good, whereas many /¿most? of the "regular FFmpeg-ers" are just bureaucrats.
Nullack
20th December 2015, 15:25
Hi Stereodude, do not fool yourself to think that nevcairiel can actually add any features to lav filters (which is just a hack using ffmpeg). You are more likely to get that feature developed in lav filters if you chase the ffmpeg devs.
Hendrik is an ffmpeg developer, look at his commits in the ffmpeg git log! It aint right to diss him in the way you have! I dont agree with his views on bluray menu playback where he considers it to not be important for the users, but the bloke has done a masterful job not only on lav filters, but also ffmpeg. Were lucky we benefit from his efforts. You should consider apologizing.
Nullack
22nd December 2015, 00:36
Yes it is, including 4K. Smooth as silk with little CPU utilisation. I did notice a strange value for the DXVA2 variable - I dont usually see that its more descriptive. As seen in the screenshot below:
http://i.imgur.com/nT2vCe0.jpg
huhn
22nd December 2015, 02:18
Does the latest Nvidia 361.43 WHQL driver released today fix anything with VP9 DXVA2 decoding on GM206 GPUs?
yes and it isn't hybrid.
Nullack
22nd December 2015, 06:40
For Hendrik:
* I see the Microsoft DXVA2 Spec Paper for VP9 is bundled into VP8 as well. Is there any future intent to add VP8 hardware assist in LAV filters since the two versions seem kinda intertwined? Currently VP8 is done in software.
* I also see on Microsofts DXVA2 Spec Paper website, MPEG 4 part two specification documents. Does LAV Filters intend to support stuff like xvid gpu acceleration?
Thanks
nevcairiel
22nd December 2015, 10:19
VP8 might happen when hardware starts supporting this, no plans for mpeg4pt2, its too much of a butchered and misused format that would only result in trouble.
v0lt
22nd December 2015, 17:20
The sample (http://www.mediafire.com/watch/9c7uq38m9b9ixzj/sample_HEVC_1080p_20sec.mkv) has artifacts when HEVC DXVA (Nvidia GTX 950).
pacuro
22nd December 2015, 20:25
Hi guys,
I do not know what I am doing wrong or maybe what still have to do.
Each time I enable VP9 decoding in LAV Video Decoder Properties tab, "tick" disappears when playing VP9 sample and software encoding is engaged.
Doing this with latest nightly MPC-HC and LAV (both portable) and can not obtain VP9 DXVA playback.:confused: Of course 361.43 drivers are installed.
AVC and HEVC DXVA still works though.
huhn
22nd December 2015, 22:27
you are most likely using the internal lavfilter version from MPC-HC not the new installed version for playback.
there are multiply ways to change this. one is to disable all internal filter in MPC-HC.
pacuro
22nd December 2015, 22:57
Thanks huhn. Chose external filter and it works now!
Could you please tell me what is the difference since both (installed in Windows and portable in MPC-HC filters catalog) LAV versions are the same (0.67.0.29). I prefer portable "things" over those with instalators. Portables work fine with AVC and HEVC...
Edit:
Quite interesting as I removed LAV from Windows and choose in external codecs portable one stored in MPC-HC directory. Works as well :)
Is there anything what should be fixed by developers in MPC-HC or LAV ?
hubblec4
23rd December 2015, 01:01
hi nevcairiel
I have some questions about nested chapters.
I will use ordered chapters too, cause its necessary for chapter segment linking
(which will work perfect, thank you so much).
It seems to me that LAV Splitter use the "main chapter" start and end time and the segment uid only.
1. Which parameter of a nested chapter is used in LAV Splitter?
The duration of an ordered-nested-chapter seems not to be used. Only the start time marks the chapter.
Also the segment uid will be ignored and an existing chapter-segment-link will not work.
I have uploaded a sample folder (http://forum.gleitz.info/attachment.php?attachmentid=98871&d=1450828621) with test files.
There are 3 episodes(separate folder) and a menu folder(all episodes together with two menu-"start".mkv's)
Epsiode 1 has an opening part(which will used for the other two episodes with chapter-segment-linking),
2 chapter parts and a credits part.
The other two episodes has 2 chapter parts and credits part only.
(Note: Only in the menu folder plays the episode 2 and 3 correct with the opening part from episode 1.)
The "without nested chapter menu.mkv" play all chapter-segment-links well and all durations correct.
The nested menu.mkv shows the opening part from episode 1 only one times.
The first nested chapter from episode 2 and 3 has a chapter-segement-link to episode 1 opening part
(00:00:00.000-00:00:02.000).
LAV Splitter menu -> chapters:
You see the episode 2/3 "main chapter", the first and the second nested chapter have the same time stamps.
2. Is this a bug or a not implemented feature?
Nested chapters are not really good documented and I think you has programmed this so good you knew.
3. Or could you find detailed specs?
I hope you have time for this topic.
hubble
huhn
23rd December 2015, 01:54
Thanks huhn. Chose external filter and it works now!
Could you please tell me what is the difference since both (installed in Windows and portable in MPC-HC filters catalog) LAV versions are the same (0.67.0.29). I prefer portable "things" over those with instalators. Portables work fine with AVC and HEVC...
Edit:
Quite interesting as I removed LAV from Windows and choose in external codecs portable one stored in MPC-HC directory. Works as well :)
Is there anything what should be fixed by developers in MPC-HC or LAV ?
mpc-hc will update the lavfilter version sometime in the feature that will fix it. they are simply "outdated".
overriding may work too.
Nullack
23rd December 2015, 01:55
The sample (http://www.mediafire.com/watch/9c7uq38m9b9ixzj/sample_HEVC_1080p_20sec.mkv) has artifacts when HEVC DXVA (Nvidia GTX 950).
Yes I too get artifacts on my 960 under copyback DXVA2. In software decoding there is no artifacts.
foxyshadis
23rd December 2015, 06:50
Is there anything what should be fixed by developers in MPC-HC or LAV ?
MPC-HC only uses official releases, so it'll be fixed shortly after nev releases a new stable version.
kasper93
23rd December 2015, 06:53
mpc-hc will update the lavfilter version sometime in the feature that will fix it. they are simply "outdated".
overriding may work too.
We are not outdated atm.
NikosD
23rd December 2015, 06:59
You and nevcairiel should be working closer and update your software synchronised.
ryrynz
23rd December 2015, 07:11
You and nevcairiel should be working closer and update your software synchronised.
LAV was updated 10 days ago, MPC-HC updated LAV 10 days ago (0.67.30) The MPC-HC devs will follow LAV and get email notifications when new changes
are made so you really can't really get any closer than that unless Nevcairiel updated MPC-HC himself. He could do this if he felt like it (he has rights to do so I believe)
but I doubt this will ever happen given he's not really associated with MPC-HC's development.
If you want bleeding edge then you use the external filters, I can't see anything changing in this regard.
huhn
23rd December 2015, 09:25
We are not outdated arm.
had no better word for it so i put it in "". doesn't change that his version wasn't the nightly.
mark0077
23rd December 2015, 20:26
Guys I'm using LAV Splitter / Audio / Video with mpc-hc latest beta. Just reformatted my PC and I'm not sure if my issue was there before or not but its there now. When I play an mkv file I have here which has a default first audio track of PCM s 24 LE, the LAV Audio Decoder isn't showing up in the filters list. When I switch tracks to the 5.1 track, LAV Audio Decoder kicks in. The strange thing is, when I switch back to the 2 channel track, LAV Audio Decoder is still in use.
Whats causing this, is it MPC or LAV Splitter or something else? Just that I use LAV Audio delay functionality as my TV has quite a bad video delay, so its noticeable that LAV Audio isn't in use as the audio is all out of sync.
clsid
23rd December 2015, 21:07
PCM is uncompressed audio and doesn't require any decoding. The reason why LAV gets used after track switching is because (by default) the decoder isn't removed from the filter graph during switching.
The audio switcher in MPC-HC also has a delay option that you could use instead.
mark0077
23rd December 2015, 21:08
Ah OK thanks. Its just not ideal as things like upmixing / audio delay all need to be replicated in the likes of mpc-hc then. Is there any other way clsid to force LAV Audio to be used so that I don't have to get those other LAV features working elsewhere for PCM?
clsid
23rd December 2015, 21:35
Delay works independently of mixing. And while LAV can increase the number of channels, it doesn't actually upmix, it just adds silent channels.
If that PCM track is stereo and you want 5.1, then simply set Windows to 5.1 and your sound driver will do the mixing.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.