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 18th August 2020, 08:32   #24001  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by NikosD View Post
Haswell's and probably onwards Intel's HW H.264 is the fastest (even from Turing) and I have already tested 4K H.264 L5.2 Ref 16 with huge bandwidth (1Gbps) and with success
And I have to correct myself, as 4K H.264 L5.2 samples of my test, had Ref 5 and 1080p H.264 L5.2 samples had Ref 16.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 18th August 2020, 08:47   #24002  |  Link
alleway
Registered User
 
Join Date: Mar 2020
Posts: 29
hi i would like to know is there a way lav is able to decode dts:x. if i set atmos to bitstream my avr will indicate atmos is playing but for dts:x when i set it to bitstream my avr doesnt indicate it is playing dts:x. my avr is atmos and dts:x capable.
alleway is offline   Reply With Quote
Old 18th August 2020, 08:53   #24003  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Quote:
Originally Posted by NikosD View Post
And I have to correct myself, as 4K H.264 L5.2 samples of my test, had Ref 5 and 1080p H.264 L5.2 samples had Ref 16.
Thats the big limit there, more then 5 ref frames at 4K is going over the L5.2 limit and likely causing these issues.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th August 2020, 09:13   #24004  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
Quote:
Originally Posted by alleway View Post
hi i would like to know is there a way lav is able to decode dts:x. if i set atmos to bitstream my avr will indicate atmos is playing but for dts:x when i set it to bitstream my avr doesnt indicate it is playing dts:x. my avr is atmos and dts:x capable.
No, LAV does not decode DTS:X, but if its present in the bitstream then the full bitstream is being send untouched to your receiver. LAV does not modify it at all.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th August 2020, 09:33   #24005  |  Link
alleway
Registered User
 
Join Date: Mar 2020
Posts: 29
Quote:
Originally Posted by nevcairiel View Post
No, LAV does not decode DTS:X, but if its present in the bitstream then the full bitstream is being send untouched to your receiver. LAV does not modify it at all.
thanks nev for the info. so dts:x audio will still be present if i set it to bitstream right?
alleway is offline   Reply With Quote
Old 18th August 2020, 10:37   #24006  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
It should be. LAV does not modify it at all.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th August 2020, 10:57   #24007  |  Link
alleway
Registered User
 
Join Date: Mar 2020
Posts: 29
Quote:
Originally Posted by nevcairiel View Post
It should be. LAV does not modify it at all.
got it. thanks nev👍👍
alleway is offline   Reply With Quote
Old 18th August 2020, 11:31   #24008  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by nevcairiel View Post
Thats the big limit there, more then 5 ref frames at 4K is going over the L5.2 limit and likely causing these issues.
The first HW decoders of H.264 could properly decode 1080p up to L4.1 with maximum number of ReF 4, which was the level used by Blu-ray.
It took years for HW decoders to support properly H.264 1080p L5.1 Ref 16, due to very limited commercial support.
I still remember that 1080p H.264 L5.1 Ref 16 Samsung demo clip with something like an aquarium, which was a nightmare to decode for HW H.264 decoders of that time.
Likewise, due to very limited commercial support of beyond UHD use of H.264 codec, I don't expect companies to revise their HW H.264 decoder soon (or ever) in order to support L6.x
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 20th August 2020, 12:22   #24009  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,662
HEVC sample that decodes wrong with DXVA2. Playback is ok with software decoding or CUVID.

Problem seems to be that main10 dxva2 decoder is used, while this video is 8bit. MediaInfo indicates profile "Main 10@L4.1@Main".
clsid is offline   Reply With Quote
Old 20th August 2020, 23:11   #24010  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
Nev, just wanted to let you know that the cert to 1f0.de has expired again, which you probably already know
__________________
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 21st August 2020, 06:58   #24011  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
It was supposed to have moved to a new server by now, but I haven't had the time to finish the move... But i updated the old certificates in the meantime.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th August 2020, 14:57   #24012  |  Link
chainik_svp
Registered User
 
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
nevcairiel
Could you please give a small hint regarding DirectShow magic?
https://forum.doom9.org/showthread.php?t=180424 - a DS transform filter running Avisynth script. We want to pass-through HDR meta-data from LAV to madVR. What could be the easiest way to do this?
AFAIU IMediaSideData must be attached to the media sample. But when I simply trying to QueryInterface() on the received IMediaSample - it doesn't work. What am I doing wrong? o_O
Probably there's another way to simply copy that "attached" data block from the input sample to output, w/o "parsing" it?
__________________
SVPflow motion interpolation

Last edited by chainik_svp; 27th August 2020 at 15:00.
chainik_svp is offline   Reply With Quote
Old 27th August 2020, 16:18   #24013  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
If you are implementing your own sample allocator, you need to make sure that it implements IMediaSideData on the samples, otherwise it wouldn't come from anywhere. I don't think LAV actually implements it on a normal sample allocator, since in practically every normal case its provided by the renderer. So if you want to sit between LAV and madVR, you would either pass the madVR allocator to LAV, or implement IMediaSideData on a new one.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 27th August 2020, 16:48   #24014  |  Link
chainik_svp
Registered User
 
Join Date: Mar 2012
Location: Saint-Petersburg
Posts: 239
Ah! indeed the IMediaSideData interface is available for the output samples. The picture begins to take shape...
__________________
SVPflow motion interpolation
chainik_svp is offline   Reply With Quote
Old 28th August 2020, 08:14   #24015  |  Link
vosya
Registered User
 
Join Date: Nov 2013
Posts: 9
In the PotPlayer's settings of the built-in video decoder there is an option "Use output queue". Activating it seems to result a more stable FPS on heavy videos. Is there something similar in LAV Video Decoder and is such functionality generally useful?
vosya is offline   Reply With Quote
Old 28th August 2020, 09:55   #24016  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,996
it's in the lav splitter part but except for streaming or in slow local networks this shouldn't help you. render queue like in madVR or EVR should do what you ask for but that's not lav filters job.
huhn is offline   Reply With Quote
Old 28th August 2020, 15:42   #24017  |  Link
vosya
Registered User
 
Join Date: Nov 2013
Posts: 9
Quote:
Originally Posted by huhn View Post
render queue like in madVR or EVR should do what you ask for but that's not lav filters job.
Don't you think that the video decoder and the video renderer are different entities, and the queues in them are also different, independently controlled? This is obviously observed in the mentioned PotPlayer.
vosya is offline   Reply With Quote
Old 28th August 2020, 20:09   #24018  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,996
no because it was possible to break hardware decoding with to big queue in madVR.
huhn is offline   Reply With Quote
Old 28th August 2020, 23:20   #24019  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,359
There is no functional difference on which side the queue is.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 29th August 2020, 04:43   #24020  |  Link
vosya
Registered User
 
Join Date: Nov 2013
Posts: 9
Quote:
Originally Posted by nevcairiel View Post
There is no functional difference on which side the queue is.
The video renderer I use, Overlay Mixer - it seems to me has no queue at all. Therefore, there is no alternative to a queue in a video decoder.
vosya 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 22:09.


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