Haali media splitter got messed up for HE-AAC audio.

View previous topic View next topic Go down

Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Wed Aug 07, 2013 5:47 pm

As the topic and the pic below,why there are 2 MPEG-TS in settings....I wonder if the 2nd is for mpeg file to use microsoft splitter?

Pic deleted cause it's useless now


Last edited by jc3213 on Tue Aug 13, 2013 5:28 pm; edited 4 times in total

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Admin on Thu Aug 08, 2013 12:41 am

Yes, your assumption is correct. The second option is supposed to say "MPEG-PS" instead.

The Microsoft splitter are now globally used by default again for AVI and MPEG.
MPC-HC will still use LAV Splitter by default. That can be disabled in its Internal Filter settings if desired.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Fri Aug 09, 2013 5:25 pm

Admin wrote:Yes, your assumption is correct. The second option is supposed to say "MPEG-PS" instead.

The Microsoft splitter are now globally used by default again for AVI and MPEG.
MPC-HC will still use LAV Splitter by default. That can be disabled in its Internal Filter settings if desired.
This is great,I can't wait for the new stable release! Thanks man,you and your codec are the beeeeeest!!!

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Sun Aug 11, 2013 9:26 pm

I still get AVI played in game using LAV splitter and Lav video decoder as source filter.and they won't terminate their process(still tray icon in taskbar) after video is ended.

I've had a look in Codec Tweak Tool, that both microsoft one and Lav one are (recommended),and it's using Lav as source splitter (I haven't changed anything during installation).

I've tried a clean install and figured out that the setting won't work during installation.I've changed it back to microsoft one manually.





And I still can't see how to make MPEG use microsoft splitter via Codec Tweak Tool


Last edited by jc3213 on Tue Aug 13, 2013 12:47 pm; edited 2 times in total

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Admin on Mon Aug 12, 2013 2:25 am

Which game?

If the tray icon was still showing, it does not mean there is a process still running. Sometimes Windows fails to refresh the tray. Moving the mouse over the icon will then make it disappear (if process was terminated).

Was a restart required at the end of the install? That could be a reason why the merit of LAV Splitter was not lowered. Filter registration is postponed when a restart is needed. In that case you will end up with the default merit.

It is not (yet) possible to choose a MPEG splitter based on merit. The CTT only allows choosing between forcing a splitter and using the one with highest merit. Many different MPEG splitters exist, so implementing a merit based selection is much more complex than for AVI. Maybe in the future. Meanwhile, it is a simple matter of disabling MPEG in LAV Splitter settings.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Mon Aug 12, 2013 3:49 am

Admin wrote:Which game?

If the tray icon was still showing, it does not mean there is a process still running. Sometimes Windows fails to refresh the tray. Moving the mouse over the icon will then make it disappear (if process was terminated).

Was a restart required at the end of the install? That could be a reason why the merit of LAV Splitter was not lowered. Filter registration is postponed when a restart is needed. In that case you will end up with the default merit.

It is not (yet) possible to choose a MPEG splitter based on merit. The CTT only allows choosing between forcing a splitter and using the one with highest merit. Many different MPEG splitters exist, so implementing a merit based selection is much more complex than for AVI. Maybe in the future. Meanwhile, it is a simple matter of disabling MPEG in LAV Splitter settings.
I've installed 9.9.9 beta3 for some days,it won't be a problem that my system need restart.I've installed 9.8.0 once again then 9.9.9 beta3, it is still the same.Settings during the installation won't work and it still uses LAV for AVI files.By the way, I'm using a 32bit Windows 7,wonder if that is the problem?

I meant that the tray icon keeps in the taskbar,when I'm playing the game,but the video of the game is ended (game is still running) both Lav splitter and Lav video decoder if not change anything,and only Lav video decoder if use microsoft for AVI.And in 9.8.0,there won't be any tray icons,but the uninstaller warns the game must be closed,I can not figure out what's going on.

EDIT: I've uninstalled K-lite 9.8.0,it reminds me that the game I'm playing is still opened and asked me to close it.Maybe some files in 9.8.0 is used,but there is no tray icon(WTF).

Then the uninstalling program says I need a restart,then I restart my PC and have 9.9.9 beta 3 installed. Lav splitters is still used for AVI and in CTT it chooses Lav,but I seleted microsoft during installation (which is chosen as default)


Last edited by jc3213 on Tue Aug 13, 2013 1:05 am; edited 2 times in total

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Mon Aug 12, 2013 2:45 pm

Sorry for double posting.

My codec settings got messed up.This happened after yesterday I manually installed MPC-HC(exe format, and 7z format),Lavsfilters(zip format),HaaliMKVsplitter(exe format).When I was transcoding I found the problem.Any file,the transcoded .avs.wav file and the .aac file only have 1/2(50%) speed while playback.This happens only when a mkv file contains aac audio(mp2,mp3,flac works good)

EDIT:I find that if ffdshow uses libavcodec the audio will get 50% speed,if use libfaad2 it works good.The .wav extract using libavcodec is only half the bitrate and sample rating(normally 1411kbps@44.1 KHz but only 705kbps@22.05KHz) and half the size of libfaad2,which is half the speed in playback as libfaad2 too.

EDIT2:I've tried Lav Media Splitter for MKV and libavcodec for AAC decode, it works good. Only Haali media splitter and libavcodec for aac has this problem.Maybe there's some problem when I tried to install haaliMKVsplitter.but how could I fix it?

EDIT3:I've tried uninstall K-lite.then install Haali. Then use regsvr32 /u to Unreg all haali components,then uninstalled Haali,and search for Haali in registries.Then reinstalled K-Lite,but it doesn't work.I've uninstalled K-Lite,and then reboot,go to Windows Safe Mode then reinstalled K-Lite,the problem is still there.$#*(%@#&($*#(@*

Pic deleted cause it's useless now


Last edited by jc3213 on Tue Aug 13, 2013 12:47 pm; edited 2 times in total

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Admin on Tue Aug 13, 2013 1:07 am

If the uninstaller ask to close the game it means that the game is still running and is also using a component from the pack. Assuming you were not actively playing the game at that moment, it seems that the game process was not terminated properly. You should be able to see the process in the Windows Task Manager (Ctrl+Alt+Esc).

Try selecting LAV Audio decoder for AAC.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Tue Aug 13, 2013 1:20 am

Admin wrote:If the uninstaller ask to close the game it means that the game is still running and is also using a component from the pack. Assuming you were not actively playing the game at that moment, it seems that the game process was not terminated properly. You should be able to see the process in the Windows Task Manager (Ctrl+Alt+Esc).

Try selecting LAV Audio decoder for AAC.
Here's my tests.
1) If I use Haali (which get messed up) for MKV, ffdshow(libavcodec) and LAV audio for AAC, it will extract .avs.wav with half bit-rate half sampling-rate and half playback speed,half the length(not playback time,but the audio contents),that's everything at half rate but 16bit width
2) If I use Lav for MKV, ffdshow(libavcodec / libfaad2) and LAV audio works good.
3) If I use Haali (messed up) for MKV, ffdshow(libfaad2) for AAC,it works good.

All these happen while transcode,they work good while playback.I'm getting mad on this,maybe it's better to reinstall my OS.


And about the tray icon. 9.8.0 there's no tray icon,only uninstaller warns if the game is still running. It maybe as you said that some components were in use but I don't know which. 9.9.9 beta3 there is tray icons.and they won't be closed untill game process is ended.That means if I'm playing the game,but the movie ends,the tray icon will stuck in taskbar only if I close the game.


Last edited by jc3213 on Tue Aug 13, 2013 12:51 pm; edited 1 time in total

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Tue Aug 13, 2013 10:34 am

I've tried the GraphStudioNext,and find out something suspicious






lSampleSize for Haali is 1 and LAV is 256000
nSamplePerSec for Haali is 22050 and LAV is 44100
nAvgBytesPerSec for Haali is 88200 and LAV is 11872
nBlockAlign and wBitsPerSample is also different for the two.


I find out that all those MKV files coutain HE-AAC audio with multi-profile like below has the problem with Haali Media Splitter,and other AAC file works fine. I've tried to search with google for solution as well,but nothing useful hitted.........What's the problem with Haali Media Splitter? It works good for me in the past.....
Format profile : HE-AAC / LC
Sampling rate : 48.0 KHz / 24.0 KHz (or 44.1 KHz / 22.05 KHz)


EDIT:I've done some tests with result of decoder's output info.There are 6 patterns, Haali + ffdshow(libavcodec) Haali + ffdshow(libfaad2) Haali + LAV Audio, LAV + ffdshow(libavcodec) LAV + ffdshow(libaac2) LAV + LAV Audio. Here's the link to download the pics of results. filecloud.io 69gf3v8i

EDIT2:I could hardly remember that the last time I converted the test.mkv(HE-AAC/LC) K-Lite seems to be using LAV Splitter for MKV at that time.Maybe that's why I haven't met the problem.Well,who knows?Wonder if this is Haali's bug,it will be fixed or not?

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Admin on Wed Aug 14, 2013 12:41 am

You can easily disable the tray icons if you don't want to see them. You can find options for it in the individual filters, and also in the installer. The LAV Filters did not have tray icons a few months ago, so that is why you did not see them back then.

HE-AAC internally uses half the sampling rate of 'normal' AAC. This may confuse the MKV muxer, resulting in some invalid values being stored in the MKV header. That value doesn't get used in all situations, so that could be why normal playback worked for you. Here is some info:
https://trac.bunkus.org/ticket/548
MKVToolNix contains a header editor. You could use that to verify if the value is correct and adjust it if needed for you existing files.

You can safely use LAV for MKV if you want. Current version works very good and all missing features have been implemented in the past months. It will likely even become the default in the future.


Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by jc3213 on Wed Aug 14, 2013 1:05 pm

Admin wrote:You can easily disable the tray icons if you don't want to see them. You can find options for it in the individual filters, and also in the installer. The LAV Filters did not have tray icons a few months ago, so that is why you did not see them back then.

HE-AAC internally uses half the sampling rate of 'normal' AAC. This may confuse the MKV muxer, resulting in some invalid values being stored in the MKV header. That value doesn't get used in all situations, so that could be why normal playback worked for you. Here is some info:
https://trac.bunkus.org/ticket/548
MKVToolNix contains a header editor. You could use that to verify if the value is correct and adjust it if needed for you existing files.

You can safely use LAV for MKV if you want. Current version works very good and all missing features have been implemented in the past months. It will likely even become the default in the future.

I have MKVToolNix installed and muxed many .mp4 to .mkv,but this one is default .mkv so I haven't tried with it.Maybe I shall try your way.

For the tray-icon.I've enabled LAV's tray icon during installation of 9.8.0,and still don't see any of them when I'm playing that game.But for 9.9.9 beta 3,when video start the LAV tray icon pops up and stuck in the taskbar. This(stuck in taskbar) doesn't happen to all games, I see only this one,LAV icon will dismiss when video ends for others.Maybe I'm just too sensitive.

Anyway,thanks man! You and your works are appreciated

jc3213

Posts : 22
Join date : 2012-07-22

View user profile

Back to top Go down

.mp4 Format audio sucks

Post by rajni1402 on Thu Jan 16, 2014 3:35 am

Hi
i have installed K-Lite Mega Codec Pack 10.15 in my laptop and it plays my regular audio and video formats except .mp4 format. when i play .mp4 file(video 1084 pixel), the video plays well but audio output comes and goes off alternatively for three seconds. but if i play the same file in VLC media player, it plays well without any flaw. but i am used to the controls of Media Player Classic. Please help.

i tried disabling all enhancements in speaker configuration, but no help.
software: Windows 8.1; K-Lite Mega Codec Pack 10.15.
Hardware: Core 2 Duo @ 1.8Ghz, 3GB DDR2 RAM, NVidia Graphics Card, 5400 RPM HDD.

rajni1402

Posts : 1
Join date : 2014-01-16

View user profile

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Admin on Thu Jan 16, 2014 6:25 am

Disable AAC in ffdshow audio decoder. Then LAV audio decoder will be used instead.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Haali media splitter got messed up for HE-AAC audio.

Post by Sponsored content Today at 4:36 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum