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 29th May 2020, 23:25   #23901  |  Link
bacondither
Registered User
 
Join Date: Oct 2013
Location: Sweden
Posts: 128
Dav1d 0.7 is out, with some speedups for 8-bit decoding.
bacondither is offline   Reply With Quote
Old 30th May 2020, 09:57   #23902  |  Link
KoD
Registered User
 
Join Date: Mar 2006
Posts: 567
amichaelt, nevcariel, thank you both!
KoD is offline   Reply With Quote
Old 30th May 2020, 21:58   #23903  |  Link
Liisachan
李姗倩 Lǐ Shān Qiàn
 
Liisachan's Avatar
 
Join Date: Nov 2002
Posts: 1,340
Hi, I happened to notice something minor. The language code ain (for Ainu; a minority language in Japan) is defined in ISO 639-2 and supported by MKVToolNix (you can create an MKV with an "ain" track), but it seems that LAV Filters don't recognize this language code...
Liisachan is offline   Reply With Quote
Old 1st June 2020, 11:52   #23904  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by bacondither View Post
Dav1d 0.7 is out, with some speedups for 8-bit decoding.
Tested some huge gains in speed with 10-bit as well. Beautiful work.
ryrynz is offline   Reply With Quote
Old 1st June 2020, 14:01   #23905  |  Link
Damien147
Registered User
 
Join Date: Mar 2011
Posts: 380
I have this happening to me for months.It always happens with MPC-HC,I use D3D11 native.
I have tried various AMD drivers with DDU or factory reset installation but it still happens.I also tried with no CPU OC (i5 760) just in case to make sure it's not me,haven't touched anything else.Any ideas?
win 10 1909
MPC-HC 1.9.3
GPU RX 470(20.5.1 driver)

edit:Just discovered that it happens with software decoding too.I am confused now.

Last edited by Damien147; 1st June 2020 at 18:29.
Damien147 is offline   Reply With Quote
Old 1st June 2020, 22:29   #23906  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
I have a question about something that's been bugging me forever: Is it normal for the lossless sound formats to drop the bit-stream when paused for longer than a few seconds? If so, is there a workaround? Sorry if this is not LAV related.
__________________
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 2nd June 2020, 00:18   #23907  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by VBB View Post
I have a question about something that's been bugging me forever: Is it normal for the lossless sound formats to drop the bit-stream when paused for longer than a few seconds? If so, is there a workaround? Sorry if this is not LAV related.
Regression since 0.72.0. Best thing I've found you can do is wait a few seconds, resume. If it doesn't work, pause, wait a few seconds, resume, etc. until it works again.
Snowknight26 is offline   Reply With Quote
Old 2nd June 2020, 00:20   #23908  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
OK, so it's not just me. I've been doing the same, but figured there has to be a better way. Thanks for the reply!
__________________
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 2nd June 2020, 00:23   #23909  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by Snowknight26 View Post
Regression since 0.72.0. Best thing I've found you can do is wait a few seconds, resume. If it doesn't work, pause, wait a few seconds, resume, etc. until it works again.
Its the audio renderers job to preserve the stream during pause. In fact a decoder hardly even notices when something is paused. It'll just send data as long as a renderer accept it, and then wait until the renderer wants more data.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd June 2020, 00:26   #23910  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
Do you have any recommendation, Nev? I've been using MPC-HC with the built-in renderer, set to exclusive. Not sure what to do here.
__________________
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 2nd June 2020, 07:52   #23911  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
I don't know of any that really implement pausing with bitstreaming properly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd June 2020, 08:21   #23912  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,786
MPC-BE's WASAPI Audio Renderer implement pausing with bitstreaming, what's a problem ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 2nd June 2020, 10:16   #23913  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by Aleksoid1978 View Post
MPC-BE's WASAPI Audio Renderer implement pausing with bitstreaming, what's a problem ?
Yes, cheers, I asked for it and You were kind enough to implement it

Quote:
Originally Posted by nevcairiel View Post
I don't know of any that really implement pausing with bitstreaming properly.
Quote:
Originally Posted by VBB View Post
Do you have any recommendation, Nev? I've been using MPC-HC with the built-in renderer, set to exclusive. Not sure what to do here.
MPC-HC's own audio renderer (Sanear) does this as well (but had some bugs with it, I'm not sure that's still the case), maybe that's the issue.

Quote:
Originally Posted by Snowknight26 View Post
Regression since 0.72.0. Best thing I've found you can do is wait a few seconds, resume. If it doesn't work, pause, wait a few seconds, resume, etc. until it works again.
@VBB, try it with older Lav filters, maybe ...
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config
chros is offline   Reply With Quote
Old 2nd June 2020, 10:50   #23914  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by chros View Post
MPC-HC's own audio renderer (Sanear) does this as well (but had some bugs with it, I'm not sure that's still the case), maybe that's the issue.
Thats not what I'm talking about. I don't care if other audio is muted or not during pause. In fact thats the opposite of proper bitstreaming.

But theoretically during pause the audio renderer is supposed to keep sending bitstream data to the receiver so it doesn't drop the stream, its called a "pause burst", so you can flawlessly resume right away. I'm not aware of any renderer that performs this task, they all seem to only pass data through, and not sending anything during pause, leaving users to blame the decoder if weird stuff happens during pause.

The "regression" mentioned is just another symptom of that, and only for TrueHD, because I implemented proper compliant TrueHD bitstreaming (before that, high-bitrate TrueHD+Atmos would constantly glitch), but due to the way that works, the lack of a proper pause causes even more of a glitch then other methods (because TrueHD actually has a concept of key frames, and if you lack one of those you get a bigger audio gap). And it only affects certain kinds of AVRs, which I like to call "bad ones" (and it can also be triggered by bad TrueHD authoring, or more often bad remuxing into MKV)

Its not something that can ever be fixed in LAV, since LAV just packs the audio into the proper package for bitstreaming. The actual hardware interaction is in the audio renderer.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 2nd June 2020 at 10:59.
nevcairiel is offline   Reply With Quote
Old 2nd June 2020, 11:36   #23915  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,786
Good way for audio renderer - on pause or when mute - send "silence"(WASAPI have flag for send silence data) to the audio device. Send "real" bitstream with silence - i think it's not possible
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 2nd June 2020, 13:17   #23916  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
"Pause bursts" are not silence as such, they are special control signals that tell the receiver to wait and hold.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd June 2020, 13:30   #23917  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,786
Quote:
Originally Posted by nevcairiel View Post
"Pause bursts" are not silence as such, they are special control signals that tell the receiver to wait and hold.
It there any documentation about it ?
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 2nd June 2020, 19:00   #23918  |  Link
VBB
Registered User
 
VBB's Avatar
 
Join Date: May 2016
Location: Long Beach, CA, USA
Posts: 620
Thanks for all the detail, guys. What I still don't understand is, why does this only happen with the lossless formats, and not with the lossy ones?
__________________
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 5th June 2020, 07:39   #23919  |  Link
pacuro
Registered User
 
Join Date: Sep 2015
Location: Opole, Poland
Posts: 20
@nevcairiel could you please release new nightly Lav with dav1d 0.7.0 ? These improvements in speed are the missing few % in my setup to play av1 4k60 smoothly. Thanks in advance!
__________________
LIT BRO: i5-9500, Z370, RTX2060
BIG BRO: i5-10500, H570, GTX1660S
HTPC: i7-11700K, Z570, Topping D10s • MPC-HC + LAV, foobar2000
pacuro is offline   Reply With Quote
Old 6th June 2020, 11:56   #23920  |  Link
pankov
Registered User
 
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
Quote:
Originally Posted by Aleksoid1978 View Post
MPC-BE's WASAPI Audio Renderer implement pausing with bitstreaming, what's a problem ?
Alex,
is this renderer available as a standalone filter for 32-bit apps?
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS
NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V
Win 10 64bit 1803 + Zoom Player v14
pankov 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 01:21.


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