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. |
4th September 2011, 16:55 | #5221 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
no idea, probably not.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
4th September 2011, 20:45 | #5222 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
|
|
4th September 2011, 20:49 | #5223 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
LAV Filters 0.34
Code:
LAV Splitter - Improve playback of VC-1 in EVO - Support for SSA subtitles in AVI - Support for H264 in VFW mode in MKV LAV Video - New optimized pixel format converters (faster and more accurate) - New YUV->RGB converter - Support for PNG video I finished implementing the YUV -> RGB converter and all important YUV -> YUV converters. There are quite some significant speed ups in this version, especially if you're dealing with dithering (10bit content, 8bit output). RGB The new RGB converter is also working nicely, using bilinear interpolation and high-precision RGB conversion. It supports the BT.601, BT.709 and SMPTE 240M transfer matrices, and properly handles both TV and PC range input and output. I did not add options to configure the input format (levels/matrix), because i do hope that files are properly encoded. I wouldn't want to switch that setting around on every file i play, now would i. Quality In theory, its mathematically slightly more accurate then ffdshows HQ RGB option. In reality, i couldn't detect any difference between the two. Note that LAV Video uses the proper chroma siting for H264/MPEG2, while ffdshow seems to assume the "old" chroma siting used by MPEG1/H263. This is a very minor difference, and like i said, i didn't see the difference. Performance The converter itself is really fast, and in addition its also multi-threaded. I did get performance numbers slightly above ffdshows values out of it, and any modern system should be able to use it fluidly. Features In addition to all the "usual" features, it supports native 9/10-bit input, without any notable degredation. It can output TV or PC range, or an untouched range (as the YUV was). I decided to set the default to PC range, because thats how most other filters and renderers work. It'll also let the renderer know which range is used, however only madVR understands this hint as of now. Now, why would you use RGB instead of native YUV output? The thing is that alot of renderes by default have a pretty bad chroma upsampling. I'm talking about EVR/VMR here, the "trusted" default renderes on every Windows system. They usually rely on the GPU to actually convert the YUV to RGB, and the quality of that process leaves alot to be desired. So with EVR/VMR, it can give you a quality boost if you actually use RGB. With a modern renderer like madVR, its usually not recommended to use RGB, unless you have a post-processing filter that requires it. Note that converting interlaced YUV to RGB will stop the deinterlacing process from working! Anyhow, i hope everything works fine, and i can focus on other things again. All these converters was a nice exercise in assembler/intrinsics, but at some point, you just have enough of those.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 5th September 2011 at 10:48. |
4th September 2011, 20:56 | #5224 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Quote:
I'll focus on that over the next weeks, its been too long on my list.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
4th September 2011, 21:19 | #5225 | Link | |
Registered User
Join Date: Nov 2006
Posts: 799
|
Quote:
|
|
4th September 2011, 22:25 | #5226 | Link |
Registered User
Join Date: Sep 2010
Posts: 321
|
Thanks for the update Nev! I have a quick question which I tried searching for in this thread but didn't find anything on it. Regarding the setting "Use High-Quality Format Conversions", under what scenarios would enabling this option which is disabled by default benefit me?
I'm guessing this setting is more for a scenario where I run solely LAV Video decoder > EVR. As I'm running ffdshow raw video filter to get YADIF deinterlacing + MadVR, then this setting wouldn't do anything for me correct? Thanks again for an awesome set of filters!
__________________
MPC-HC/MPC-BE, Lav Filters, MadVR CPU: AMD Ryzen 5 1600, Video: AMD Radeon RX Vega 56 -> TCL S405 55", Audio: Audio-Technica M50S |
4th September 2011, 22:27 | #5227 | Link | |
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
BTW, congrats on the new converters, massive work right there. Everything seems to be working just fine, and the YUV->RGB one is even faster than ffdshow's! |
|
5th September 2011, 00:20 | #5228 | Link | |
_
Join Date: May 2008
Location: France
Posts: 692
|
Quote:
Thanks to another computer, I've found the problem: when I double click on "ffdshow audio processor" in MPC external filters, the options window does NOT open... I've tried to rename the registry for ffdshow, without success. I'll do tests soon in order to fix this... |
|
5th September 2011, 05:52 | #5229 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Quote:
It controls swscale and its scalers, switching them into high-quality mode. But swscale is only used if no hand-optimized converter is found. So it'll only be used for very rare combinations of formats, which i didn't optimize manually. All of the new converters always use the highest quality, because they are fast as it is. In conclusion, i really cannot say when it'll be beneficial. I might even remove it again, and turn it on by default. It really only was for RGB conversion before, but i wrote my own now ..
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
5th September 2011, 10:06 | #5230 | Link |
Registered User
Join Date: Feb 2006
Posts: 6
|
Both PotPlayer and MPC-HC had been giving me some annoying audio crackling with FFmpeg filters and HD videos on my laptop, I guess because it's not very powerful and it couldn't "keep up", but I switched to LAV filters today and both audio and video are smooth as silk! So, this post is just to thank you for your work, these filters are awesome, and so are the developers... keep it up!
|
5th September 2011, 10:38 | #5231 | Link |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
when selecting certain .mpls or .m2ts files in explorer (mostly not the main movie files/playlist, but others as it seems), theres sometimes a long time of wait and cpu load, before I can do anything else. why is that? (got LAV splitter, mediainfo, haali installed)
has it to do with the general readability of the playlist/file, in regards of which audio/video tracks it includes? or maybe with the number of .m2ts files a playlist includes?
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) Last edited by Thunderbolt8; 5th September 2011 at 10:41. |
5th September 2011, 13:56 | #5232 | Link |
Registered User
Join Date: Jun 2010
Posts: 29
|
How to set audio to stereo in LAV audio decoder?
And a render problem with mpc-hc http://forum.doom9.org/showthread.ph...30#post1523830 |
5th September 2011, 14:14 | #5233 | Link | |
Registered User
Join Date: Feb 2010
Posts: 364
|
LAV Audio has no mixing capabilities yet.
You can use the Windows mixer or ffdshow (in raw mode) to mix the channels. Quote:
|
|
5th September 2011, 16:07 | #5234 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
@nev
you should keep an eye on this http://forum.doom9.org/showthread.php?p=1523826 it currently crashes a lot with *.ts files it gets via Lav Splitter unfortunately (funny is all of those crashy ones work with MPC-HC Internal Splitter though some of them have no audio in the end like the Portuguese Latm samples that also crash it, those with the wrong Audio track ids)
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 Last edited by CruNcher; 5th September 2011 at 16:12. |
5th September 2011, 16:08 | #5235 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Its based on ffdshow, i don't expect it to do anything BUT crash.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
5th September 2011, 18:26 | #5237 | Link |
Registered User
Join Date: Apr 2010
Posts: 235
|
Hi nev,
Have a question to the RGB converter output settings. In which typical scenarios you generally recommend to use 16-235 / 0-255 / untouched? Thanks
__________________
__________________ System: Intel Core i5-6500, 16GB RAM, GTX1060, 75" Sony ZD9, Focal speakers, OS Win10 Pro, Playback: madvr/JRiver |
5th September 2011, 18:51 | #5238 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Quote:
For madVR, you should not use RGB at all, just leave all YUV modes checked, and it should not matter. If for some arcane reason you do want RGB with madVR, untouched is probably best.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
5th September 2011, 18:55 | #5239 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
@nev
sorry i was to optimistic there is a major drawback with ffdshow-quicksync it seems to be a direct native Intel API implementation like Nvcuvid not DXVA2 and the overhead is too huuuuuge for a small HD2000 and imho even questionable for general playback purposes @ all http://forum.doom9.org/showthread.ph...06#post1523906
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 Last edited by CruNcher; 5th September 2011 at 19:05. |
5th September 2011, 19:12 | #5240 | Link | |
Registered User
Join Date: Apr 2008
Posts: 546
|
Quote:
|
|
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|