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 12th February 2019, 08:17   #23261  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
Quote:
Originally Posted by arrgh View Post
are we sure that we have already the "perfect/newest" libmfxsw32.dll?
Use the latest LAV nightly installer, it includes the latest libmfxsw32.dll

Alternatively, you can try these (for 32-bit players):

https://files.1f0.de/lavf/plugins/libmfxsw32-v1.7z
https://files.1f0.de/lavf/plugins/libmfxsw32-v2.7z
https://files.1f0.de/lavf/plugins/libmfxsw32-v3.7z (This is 8.18.6.8, the one the latest LAV nightly comes with)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 12th February 2019 at 08:19.
nevcairiel is offline   Reply With Quote
Old 12th February 2019, 11:19   #23262  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by Mevunky View Post
It just passes 2 channel PCM instead of the bitstream when I try. Many files tested, always works on old versions, does not bitstream on new versions.

No errors, just no bitstream but 2 channel PCM instead. I could work through a number of versions to isolate but I presume everyone is having the same issue?

https://github.com/Nevcairiel/LAVFilters/issues/243 - Potentially the same issue.
Maybe something wrong in detection bitstreaming support.

Check in other decoder/player.
__________________
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 12th February 2019, 14:51   #23263  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Quote:
Originally Posted by Mevunky View Post
It just passes 2 channel PCM instead of the bitstream when I try. Many files tested, always works on old versions, does not bitstream on new versions.

https://github.com/Nevcairiel/LAVFilters/issues/243 - Potentially the same issue.
Testing the sample Safari_ Dolby_Digital_Plus.m2ts available in Kodi samples page linked from this URL, bitstreaming works on my system. MPC-HC 1.8.4, Windows 1803, with internal and external LAV 0.73.1, and with various audio renderers.

What are the "old" LAV versions you tested with?
__________________
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 12th February 2019, 16:14   #23264  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Check which filters are used by MPC-HC. Bitstreaming doesn't work if you use ffdshow audio processor or AC3Filter.
clsid is offline   Reply With Quote
Old 12th February 2019, 16:23   #23265  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Mevunky says it works when using older versions of LAV though, which is strange and wouldn't point to a filter chain problem.
__________________
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 12th February 2019, 17:16   #23266  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Older versions did not have a fallback to normal decoding. So those filters would not connect.
clsid is offline   Reply With Quote
Old 12th February 2019, 22:37   #23267  |  Link
arrgh
Registered User
 
Join Date: Dec 2007
Posts: 125
Quote:
Originally Posted by nevcairiel View Post
Use the latest LAV nightly installer, it includes the latest libmfxsw32.dll

Alternatively, you can try these (for 32-bit players):
...
https://files.1f0.de/lavf/plugins/libmfxsw32-v3.7z (This is 8.18.6.8, the one the latest LAV nightly comes with)
arrgh is offline   Reply With Quote
Old 12th February 2019, 22:40   #23268  |  Link
arrgh
Registered User
 
Join Date: Dec 2007
Posts: 125
Quote:
Originally Posted by Aleksoid1978 View Post
I test latest MPC+BE + LAV on mvc-mkv - all perfect playback. But - i test on software decoding.
...my special circumstances are that I have a IGP HD620, not an ATI or Nvidia...
arrgh is offline   Reply With Quote
Old 13th February 2019, 07:22   #23269  |  Link
Mevunky
Registered User
 
Join Date: Feb 2019
Posts: 10
Quote:
Originally Posted by clsid View Post
Check which filters are used by MPC-HC. Bitstreaming doesn't work if you use ffdshow audio processor or AC3Filter.
LAV for everything (video, audio, splitter). Apologies on further inspection when it works its because its falling back to the MS DVD audio decoder! MPC-HC 1.7.13, however when using current MPC-HC 1.8.4 it uses LAV for audio but refuses to bitstream the eac3 and drops to stereo PCM.

Oddly in properties the audio stream is displayed incorrectly: Audio: DD+ 48000Hz 6ch 9216kbps (incidently this is the video bitrate not the audio bitrate)

Old LAV shows this correctly: Connection media type: Audio: DD+ 48000Hz 6ch 640kbps

Old LAV being 0.70.2.1-git.

Last edited by Mevunky; 13th February 2019 at 07:48.
Mevunky is offline   Reply With Quote
Old 13th February 2019, 07:23   #23270  |  Link
Mevunky
Registered User
 
Join Date: Feb 2019
Posts: 10
Quote:
Originally Posted by Aleksoid1978 View Post
Maybe something wrong in detection bitstreaming support.

Check in other decoder/player.
Other decoders/players all work fine... hmmmm...
Mevunky is offline   Reply With Quote
Old 13th February 2019, 13:40   #23271  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 652
Hi, nevcariel, could you have a look at this https://superuser.com/questions/8422...e-aggressively and explain how to properly implement that "hack" in recent versions of LAV?
It mentions MPC-HC in the title but it's all about LAV Splitter in reality.
ashlar42 is offline   Reply With Quote
Old 13th February 2019, 13:43   #23272  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
Did you look at the LAV settings? You can configure that since forever.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th February 2019, 13:50   #23273  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 652
Quote:
Originally Posted by nevcairiel View Post
Did you look at the LAV settings? You can configure that since forever.
Yeah, I did but maybe I misinterpreted what the hack was saying (and, actually, I asked for an explanation specifically because I did not understand it ).

So to increase the amount of "read ahead" caching what is the correct way of setting LAV Splitter? Sorry if it's been asked before or it's by now "old knowledge".

Thank you.
ashlar42 is offline   Reply With Quote
Old 13th February 2019, 14:00   #23274  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
Change the value "Maximum Queue Packets". It's the now-configurable setting that is referenced as a #DEFINE in the discussion from your link

Quote:
Originally Posted by Mevunky View Post
when it works its because its falling back to the MS DVD audio decoder!

Oddly in properties the audio stream is displayed incorrectly: Audio: DD+ 48000Hz 6ch 9216kbps (incidently this is the video bitrate not the audio bitrate)
Could you test with this audio-only sample: https://samples.ffmpeg.org/A-codecs/...h_5.1_640.eac3 ?
__________________
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

Last edited by el Filou; 13th February 2019 at 14:19.
el Filou is offline   Reply With Quote
Old 13th February 2019, 14:17   #23275  |  Link
ashlar42
Registered User
 
Join Date: Jun 2007
Posts: 652
Quote:
Originally Posted by el Filou View Post
Change the value "Maximum Queue Packets". It's the now-configurable setting that is referenced as a #DEFINE in the discussion from your link
I'm experimenting with it but it seems that, no matter what I set there, MPC-HC x64 doesn't use more than about 450MB of RAM (I have 32GB). Last attempt had me setting Maximum Queue Memory at 8192 and Maximum Queue Packets at 100,000. And still MPC-HC is using 450MB of RAM.
ashlar42 is offline   Reply With Quote
Old 13th February 2019, 14:43   #23276  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
The buffer size reported by MPC on my install does indeed grow when I change that setting in LAV Splitter.
This is with the default 350 packets: https://drive.google.com/open?id=1jQ...1oGqPW-kOyZzq-
And this is with it set to 3500, and the buffer is indeed ~10x bigger: https://drive.google.com/open?id=1F9...oTLVZaTzIuf3ao
Does that value change on your install when you change settings in LAV Splitter?

(Edit: when I set the values to 1024 MB/700000 packets, the private working set size of MPC grows to 1,3 GB of RAM, so it is working as intended)
__________________
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

Last edited by el Filou; 13th February 2019 at 19:46.
el Filou is offline   Reply With Quote
Old 13th February 2019, 14:54   #23277  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
It isn't a file buffer. It is a decoding buffer. So if decoding is relatively slow, then it will take longer to fill the buffer. Try pausing and it should keep growing. It works correctly here. You may need to use larger packet value.

@Mevunky
If older version fall back to using MS decoder it means bitstreaming failed then as well.
If you are using S/PDIF then you should only enable AC3 and DTS. Other formats require HDMI.
If even plain AC3 and DTS are not working then you need to select correct audio device in output settings of MPC-HC.
clsid is offline   Reply With Quote
Old 13th February 2019, 15:28   #23278  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 896
From what I understand, Mevunsky is saying that when it falls back to MS Decoder it does bitstream successfully?
Is it possible that the MS Decoder decodes the EAC3 and re-encodes it to basic DD640 to bitstream it? I seem to have read somewhere in a Dolby document that licensed EAC3 decoders can do that.
__________________
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 13th February 2019, 17:20   #23279  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
Quote:
Originally Posted by clsid View Post
It isn't a file buffer. It is a decoding buffer. So if decoding is relatively slow, then it will take longer to fill the buffer. Try pausing and it should keep growing. It works correctly here. You may need to use larger packet value.
Its actually a demuxing buffer, which is pretty close to a file buffer, since demuxing is generally pretty cheap.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th February 2019, 18:04   #23280  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by huhn View Post
i'm pretty sure your browser is using hardware deinterlancing.

looks like a limitation yadif.
Browser? It was a screencast/recording from SmartDVB. Using Yadif.

The note about google was for the only preview video by google which is de-interlaced and re-encoded. So no deinterlacing by the browser comes into play.
mzso 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 08:59.


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