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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th December 2011, 22:08   #7801  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
They do say talking about your problems helps......
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 28th December 2011, 00:43   #7802  |  Link
[ReX]
Registered User
 
Join Date: Jul 2007
Posts: 151
Just posting this in case it's helpful to anyone having the same problem.
I was having problems with inaudible voices with 6ch AC3 in AVI container (I assume it's commonly caused by the audio not being converted to Stereo), so I thought it was LAV Audio's fault, installed ffdshow (after trying a couple of old LAV Splitter versions) and made sure AC3 was decoded using it inside of MPC-HC, now the audio worked fine.
But I didn't settle for that, I then disabled AC3 decoding in ffdshow and re-enabled it in LAV Audio, and played the file using GraphStudio, the audio worked fine too.

Turns out the culprit was actually MPC-HC's internal AVI splitter, as soon as I disabled it and let LAV Splitter do its thing, the problem disappeared.

Edit: D'oh! Same thing happens with Haali if there's 6ch AC3 on MKV.

Edit #2: Everything started to magically work again without any workarounds, I don't know what the hell happened, but I'm glad it did.

Last edited by [ReX]; 28th December 2011 at 01:49.
[ReX] is offline   Reply With Quote
Old 28th December 2011, 10:38   #7803  |  Link
Milardo
Registered User
 
Join Date: Nov 2008
Posts: 137
Hi, will lavfilters support decoding raw video anytime soon?
Milardo is offline   Reply With Quote
Old 28th December 2011, 14:03   #7804  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by Mercury_22 View Post
Maybe this is the solution

OR newer Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) & Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
or increase the merit or remove (if exist) Haali's
Is there anything else I have to do in order to enable MKV playback in WMP? I've installed LAV Filters 0.43 with default settings and then installed VC++ 2010 runtimes (x86 & x64). I never installed Haali or anything like that...
Just for clarification - I do not want to use WMP as my preferred PC media player but I need it to be able to play MKV as this is the way how I stream media files from Windows 7 to my Samsung TV over LAN.
kypec is offline   Reply With Quote
Old 28th December 2011, 14:17   #7805  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
The runtimes are not needed anymore.

This will make WMP/WMC recognize mkv files:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mkv]
"PerceivedType"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Runtime"=dword:00000007
"Permissions"=dword:0000000f
"PerceivedType"="video"
__________________
MPC-HC 2.2.1
clsid is offline   Reply With Quote
Old 28th December 2011, 14:44   #7806  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by clsid View Post
The runtimes are not needed anymore.
This will make WMP/WMC recognize mkv files:
Thanks clsid, much appreciated. Unfortunately, though this registry hack indeed made MKV playable in WMP they're still not visible on my TV. Other containers (AVI/WMV/MP4) stream just fine, oh well, I'll have to live with portable USB HDD (un)plugging once in a while between my PC and TV for the time being...
kypec is offline   Reply With Quote
Old 28th December 2011, 17:51   #7807  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by kypec View Post
Thanks clsid, much appreciated. Unfortunately, though this registry hack indeed made MKV playable in WMP they're still not visible on my TV. Other containers (AVI/WMV/MP4) stream just fine, oh well, I'll have to live with portable USB HDD (un)plugging once in a while between my PC and TV for the time being...
Try this
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mka]
@="WMP11.AssocFile.MKA"
"Content Type"="audio/x-matroska"
"PerceivedType"="audio"

[HKEY_CLASSES_ROOT\.mkv]
@="WMP11.AssocFile.MKV"
"Content Type"="video/x-matroska"
"PerceivedType"="video"

[HKEY_CLASSES_ROOT\.mkv\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.MKA]
@="Matroska Media File"

[HKEY_CLASSES_ROOT\WMP11.AssocFile.MKV]
@="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]
"mka"="audio"
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Descriptions]
"819"="Matroska Media File (*.mkv;*.mka)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]
"819"="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Types]
"819"="*.mkv;*.mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Extension.Handler"="WMP11.AssocFile.MKA"
"Extension.MIME"="audio/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="audio"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Extension.Handler"="WMP11.AssocFile.MKV"
"Extension.MIME"="video/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="video"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Audio\MKA]
@="Matroska Media File"
"Extensions"=".mka"
"MIME Types"="audio/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Video\MKV]
@="Matroska Media File"
"Extensions"=".mkv"
"MIME Types"="video/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mka"
"Extensions.CommaSep"="mka"
"Extensions.SpaceSep"=".mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mkv"
"Extensions.CommaSep"="mkv"
"Extensions.SpaceSep"=".mkv"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\MLS\Extensions]
"mka"="audio"
"mkv"="video"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Descriptions]
"819"="Matroska Media File (*.mkv;*.mka)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]
"819"="Matroska Media File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Types]
"819"="*.mkv;*.mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Extension.Handler"="WMP11.AssocFile.MKA"
"Extension.MIME"="audio/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="audio"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Extension.Handler"="WMP11.AssocFile.MKV"
"Extension.MIME"="video/x-matroska"
"MediaType.Description"="Matroska Media File"
"PerceivedType"="video"
"Permissions"=dword:0000000f
"Runtime"=dword:00000007

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Audio\MKA]
@="Matroska Media File"
"Extensions"=".mka"
"MIME Types"="audio/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Video\MKV]
@="Matroska Media File"
"Extensions"=".mkv"
"MIME Types"="video/x-matroska"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mka"
"Extensions.CommaSep"="mka"
"Extensions.SpaceSep"=".mka"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]
@="Matroska Media File"
"Extension.Key"=".mkv"
"Extensions.CommaSep"="mkv"
"Extensions.SpaceSep"=".mkv"
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 28th December 2011, 19:24   #7808  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Mercury, thanks for info but I installed AllShare software (DLNA server provided by Samsung) meanwhile and it works just fine. Its configuration is also much more convenient for me so I'll just stick with that
kypec is offline   Reply With Quote
Old 29th December 2011, 02:52   #7809  |  Link
mllmx
Registered User
 
Join Date: Sep 2011
Posts: 4
Quote:
Originally Posted by pankov View Post
Guys,
today I tried to bistream some DTS in WAV and sadly it didn't work. It either crashed the player (tested with Zoom Player, MPC-HC and Graph Studio) or resulted in some strange noise clicks in the speakers connected to the receiver (Integra DTR-40.3).
Strangely it worked a few times but only if I start the playback without bitstreaming and enable it afterwards in LAV Audio's config.
Is this problem happening only to me or there is some kind of general limitation? If it's not possible to make it work is it at least possible to make it not crash the player?
I have absolutely no problems with such files if I decode the stream with LAV Audio and then send it as multichannel PCM over the HDMI output of my video card.
having the same issue with .43, any other way to get bitstreaming to work?
mllmx is offline   Reply With Quote
Old 29th December 2011, 06:15   #7810  |  Link
mindbomb
Registered User
 
Join Date: Aug 2010
Posts: 576
any chance you can add a screen capture type thing to lav video?
so you can take screenshots with madvr.
mindbomb is offline   Reply With Quote
Old 29th December 2011, 06:35   #7811  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
That's more like a renderer thing.
__________________
MSI MAG X570 TOMAHAWK WIFI, Ryzen 5900x, RTX 3070, Win 10-64.
Pioneer VSX-LX503, LG OLED65C9
Andy o is offline   Reply With Quote
Old 29th December 2011, 08:04   #7812  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Use FRAPS or Afterburner for screenshots with MadVR FSE or use windowed mode.
ryrynz is offline   Reply With Quote
Old 29th December 2011, 16:42   #7813  |  Link
Mr.White
Registered User
 
Join Date: May 2011
Location: Sweden
Posts: 7
Quote:
Originally Posted by mllmx View Post
having the same issue with .43, any other way to get bitstreaming to work?
Bitstreaming DTS in WAV works for me with MPC-HC, LAV Splitter and ReClock.
It doesn’t work if i ad LAV Audio to External Filters in MPC-HC so it gets loaded, then MPC-HC crash!
__________________
You shoot me in a dream, you better wake up and apologize.
Mr.White is offline   Reply With Quote
Old 29th December 2011, 17:20   #7814  |  Link
mllmx
Registered User
 
Join Date: Sep 2011
Posts: 4
Quote:
Originally Posted by Mr.White View Post
Bitstreaming DTS in WAV works for me with MPC-HC, LAV Splitter and ReClock.
It doesn’t work if i ad LAV Audio to External Filters in MPC-HC so it gets loaded, then MPC-HC crash!
So I removed the wav headers with wav2dts and put them inside an mka with mkvmerge(I found that it also works if I just use the wav without using wav2dts as mkvmerge removes the header itself) and they play just fine by disabling lavaudio and letting ffdshow do the bitstreaming. I wonder if lavaudio has an issue with the header stripping part or maybe with the sampling rate, who knows? I just wish I could use lavaudio for this files too, since I’m already using it to bitstream DTS-HD and TrueHD to my receiver.

I just find out that disabling the "use DTD-HD framing for all DTS types" option allows lavaudio to bitstream without crashing MPC, but the sound is really pitchy, it's like 1.5x faster than it should(I've never heard the chipmunks singing a Beatles song before)

Last edited by mllmx; 29th December 2011 at 17:29.
mllmx is offline   Reply With Quote
Old 29th December 2011, 17:32   #7815  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
I'm probably missing something obvious but what is the advantage of bit-streaming to your receiver or TV, rather than simply decoding and sending PCM (which is supported by HDMI up to 7.1, 24 bit, 192 kHz).
DragonQ is offline   Reply With Quote
Old 29th December 2011, 17:59   #7816  |  Link
mllmx
Registered User
 
Join Date: Sep 2011
Posts: 4
Quote:
Originally Posted by DragonQ View Post
I'm probably missing something obvious but what is the advantage of bit-streaming to your receiver or TV, rather than simply decoding and sending PCM (which is supported by HDMI up to 7.1, 24 bit, 192 kHz).
Well it’s really more of a personal preference thing, but I can tell you from my own experience that for instance the PCM signal is fairly quitter than the bitstreamed one so I have to use more power to achieve the same volume, I can’t use any sound mode with PCM (PLIIx, etc), I have to rely on windows mixer that may or may not alter the original signal or use reclock with WASAPI exclusive hence adding one more link to the filter chain, you also may encounter with the Bluray swap surround thing (BS-SS) and finally I really like to see my receiver lighting up the DTS, DTS-HD logo instead of the “MULTCH IN 7.1” legend.
mllmx is offline   Reply With Quote
Old 29th December 2011, 20:26   #7817  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
I have an MKV file that plays fine when using the MPC-HC decoder but not when using the LAV Video Decoder (CUVID disabled). It plays a second or so, then freezes, then continues, with a crazy graph. Here's a sample:

http://www.mediafire.com/?54asyk494jkgd20

It doesn't seem to matter if I tick or untick LAV Splitter (which is set to "preferred") within MPC-HC, although I'm not entirely sure whether it's being used or not.
DragonQ is offline   Reply With Quote
Old 29th December 2011, 21:29   #7818  |  Link
Mr.White
Registered User
 
Join Date: May 2011
Location: Sweden
Posts: 7
Quote:
Originally Posted by DragonQ View Post
I have an MKV file that plays fine when using the MPC-HC decoder but not when using the LAV Video Decoder (CUVID disabled). It plays a second or so, then freezes, then continues, with a crazy graph. Here's a sample:

http://www.mediafire.com/?54asyk494jkgd20

It doesn't seem to matter if I tick or untick LAV Splitter (which is set to "preferred") within MPC-HC, although I'm not entirely sure whether it's being used or not.
Same for me if i use LAV splitter/Audio/Video + EVR, plays fine if i switch to madVR!
__________________
You shoot me in a dream, you better wake up and apologize.
Mr.White is offline   Reply With Quote
Old 30th December 2011, 15:22   #7819  |  Link
dbone1026
Registered User
 
Join Date: Jun 2008
Posts: 211
Nev,

This is going to sound like a rather dumb question. Using Lav + MPC HC, if I have these settings checked off only subtitles that have been flagged as forced will be presented to MPC HC, correct?



The reason why I ask, I was doing a test to see if MakeMKV was setting the forced subtitle flag. I created an mkv of District 9, and using the LAV setting above the forced subtitles appear properly in MPC HC (which would indicate that the forced flag has been properly set).

However, if I take the same mkv and dump it into mkvmerge the subtitles are not flagged as forced, just default. I am guessing now that this may just be an issue with how mkvmerge shows (possibly not keeping the flag MakeMKV creates)

__________________
Cheers,
Damian

Blog - http://www.adigitalhomeblog.com
MSS.net blog (contributing editor) - http://www.mediasmartserver.net
dbone1026 is offline   Reply With Quote
Old 30th December 2011, 15:32   #7820  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Sounds like mmg has it wrong.
You can always check in MPC-HC by going to the Filters -> LAV Splitter context menu, which would show the flags it detected.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 05:29.


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