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 3rd December 2020, 17:43   #24101  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by quietvoid View Post
Hi nevcairiel.
With the new Matroska spec (though it's not implemented in FFmpeg, the code from Plex's patches is available), Dolby Vision metadata can be inserted and decoded from MKV headers.
Would it be possible to parse the HEVC RPU NAL units and make that information available to the renderer (for example, madVR) through the LAV decoder?
HW acceleration might cause issues, though.

I have working code to parse this RPU data (at least for profile 7 files), but I'm not sure if it's feasible for that metadata to be useful.
I think it would be nice if the renderer could have access to pre defined per-frame information about min, max, average luminance and etc.

Just wondering if it's something that would be possible, because I'd be interested in helping to add support.
I wouldn't mind supporting that, but getting a renderer to support it is the bigger problem here, as madVR seems to be stuck.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 3rd December 2020, 18:04   #24102  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Which is a shame because everything else is in place to play them. It would be really nice to have that support on a PC.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is online now   Reply With Quote
Old 4th December 2020, 18:54   #24103  |  Link
JarrettH
Registered User
 
Join Date: Aug 2004
Location: Canada
Posts: 860
Will there be further updates?
JarrettH is offline   Reply With Quote
Old 4th December 2020, 19:28   #24104  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
See here for the most up-to-date builds: https://files.1f0.de/lavf/nightly/?C=M;O=A

Here for commit/change log: https://github.com/Nevcairiel/LAVFilters/commits/master
__________________
Henry | LG OLED65C7P | Denon AVR-X3500H | ELAC Uni-Fi x7 | ELAC Debut 2.0 SUB3030 x2 | NVIDIA SHIELD TV Pro 2019 | Plex
VBB is offline   Reply With Quote
Old 4th December 2020, 20:07   #24105  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 570
Yea I think getting madshi to add support would be complicated.
Though NVIDIA seems to have APIs to enable the Dolby Vision playback chain on a display, no idea how the data is actually sent through.
It might just be the whole RPU, since the decoder is expected to verify the integrity of it.

I didn't really think this through.. maybe once people start sending patches to ffmpeg, as it appears Plex's code is incomplete.

Last edited by quietvoid; 4th December 2020 at 20:10.
quietvoid is offline   Reply With Quote
Old 5th December 2020, 06:27   #24106  |  Link
vosya
Registered User
 
Join Date: Nov 2013
Posts: 9
In version LAVFilters-0.74.1-91, LAV Splitter has stopped detecting the presence of an audio stream with the following characteristics in m2ts, mkv video containers (possibly in others):
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 29 min 9 s
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
In version LAVFilters-0.74.1-90, such streams are recognized normally.
vosya is offline   Reply With Quote
Old 5th December 2020, 11:18   #24107  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by vosya View Post
In version LAVFilters-0.74.1-91, LAV Splitter has stopped detecting the presence of an audio stream with the following characteristics in m2ts, mkv video containers (possibly in others):
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 29 min 9 s
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
In version LAVFilters-0.74.1-90, such streams are recognized normally.
Will be fixed soon, thanks!
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 7th December 2020, 17:24   #24108  |  Link
Brazil2
Registered User
 
Join Date: Jul 2008
Posts: 532
Quote:
Originally Posted by nevcairiel View Post
LAV Filters 0.74.1 (released 2019/03/19)
Please, make a new release.
Many people don't like to use beta versions and many sites won't spread beta versions as well.
Brazil2 is offline   Reply With Quote
Old 8th December 2020, 07:01   #24109  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Quote:
Originally Posted by Brazil2 View Post
Please, make a new release.
Just a wild guess here but I expect Nev would've released something this month if not early next anyway..
Nothing is stopping anyone using nightlies until then as these releases are essentially ongoing stable builds, a release build for LAV is no different from the nightlies other than in name.
ryrynz is offline   Reply With Quote
Old 8th December 2020, 08:37   #24110  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
nevcairiel thinks otherwise...
https://forum.doom9.org/showthread.p...08#post1833908
manolito is offline   Reply With Quote
Old 8th December 2020, 12:07   #24111  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Bruh, that was 2018, things have changed :P
ryrynz is offline   Reply With Quote
Old 8th December 2020, 13:41   #24112  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
There have been quite a lot of changes recently so I would assume you have to wait a bit for a release just to make sure everytrhing is OK. Wasn't there issues with hardware AV1 decode for instance?
Not useful to make a release if you've got to provide a hotfix quickly afterwards.
__________________
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 8th December 2020, 23:46   #24113  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
This 1440p VP9 Profile2 stream has massive frames drops with CUVID decoding. DXVA2 works fine.
https://www.youtube.com/watch?v=n3Dru5y3ROc
Played in MPC-HC with youtube-dl
clsid is offline   Reply With Quote
Old 9th December 2020, 10:24   #24114  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
As i've stated recently, I plan to make a release when AV1 is done and some additional fixes are in.

Quote:
Originally Posted by clsid View Post
This 1440p VP9 Profile2 stream has massive frames drops with CUVID decoding. DXVA2 works fine.
https://www.youtube.com/watch?v=n3Dru5y3ROc
Played in MPC-HC with youtube-dl
CUVID is not currently being developed further.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 9th December 2020, 14:23   #24115  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
May I suggest that you finally remove the obsolete and outdated QuickSync in upcoming release? And migrate existing setting to DXVA2 copyback.
And move CUVID to bottom of the dropdown list and maybe rename it to "CUVID (deprecated)". By not having the vendor name in front of the option should make some people less tempted to select the inferior choices.
clsid is offline   Reply With Quote
Old 9th December 2020, 16:24   #24116  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
yeah for some reason people like to say i selected cuvid because i have a nvidia card.
huhn is offline   Reply With Quote
Old 9th December 2020, 19:45   #24117  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
@clsid - Since you're here, did you recently increase the default built-in LAV stream analysis duration from 1000 to 2100? I only found this, because MPC-HC did a full reset for some reason, and that particular setting seems to have fixed my lossless audio dropouts on resume
__________________
Henry | LG OLED65C7P | Denon AVR-X3500H | ELAC Uni-Fi x7 | ELAC Debut 2.0 SUB3030 x2 | NVIDIA SHIELD TV Pro 2019 | Plex
VBB is offline   Reply With Quote
Old 9th December 2020, 21:17   #24118  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Yes, that fixes several (audio) issues. So maybe nev can change the default in the official builds as well.
clsid is offline   Reply With Quote
Old 9th December 2020, 23:44   #24119  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
The only thing that option is supposed to affect is detecting of streams in header-less containers. If it has any impact on actual playback, please give me a case to reproduce.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 10th December 2020, 01:27   #24120  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Yes, I changed it for solving issues with certain online streams. I don't have a working example for you.
I can't recall it having effect on local files. VBB's issue probably got solved by something else.
clsid 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 02:15.


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