Jump to content

HFSLIP your codecs


tommyp

Recommended Posts

Bingo...

I've found a solution for both my problems.

The actual culprit is the AC3Filter / DirectShow decoder. Two versions are included in these codec packages of which version 1.01a RC5 is the default. Changing that to version 0.70b fixes all problems (and I can keep the Frauenhofer codec in).

So here's what I'm after now... :rolleyes:

- the mega pack, but with a different version of the AC3 filter and newer QT & Real codecs (I just checked and the Real codecs are also outdated)

- Media Player Classic PLUS Windows Media Player 6.4 (ie, don't overwrite mplayer2.exe)

- add M4A to the list of extensions into the "MPEG4 FILE" category (MPC plays them fine with the mega pack but the type is not created)

Edited by Tomcat76
Link to comment
Share on other sites

  • 2 months later...

Sorry for the late reply but I am here now.

@Oleg_II

I tryed your suggestion of mplayer and mpui. What a nice app. :thumbup

I want it in but it doesn't show up, can you suggest a fix:

copy mplayer.exe to HFEXPERT\WIN\SYSTEM32

copy mpui.exe to HFEXPERT\APPREPLACEMENT and rename it mplayerc.exe

I get mplayer but no mplayerc :(

Do I need to remove a ";" from one of Fred's files?

I am using HFSLIP version 51202

Link to comment
Share on other sites

Squeeto - The file should be named mplayer2.exe. If you use NLITE, don't remove wmplayer 6, and don't use any modified mplayer2.inf's either (in other words, delete the mplayer.in_ from FDV's fileset. After that, you should be in businesss. Have fun replacing applications. Also, use the latest HFSLIP if you can. Sorry if I stepped on your toes Oleg2. :whistle:

Link to comment
Share on other sites

No, hmm? Didn't work. Usually flawless!

I retried with version 60107. Now I can't get past the boot loader. :o

CDBOOT: Couldn't find NTLDR

I did notice something fly by that said some error about not finding HFEXPERTREG.TXT or such.

I also notice that my extra directories didn't get copied over to SOURCESS also.

I'll try again and watch closer but there is not much day left and the wife hates this. :unsure:

Link to comment
Share on other sites

copy mpui.exe to HFEXPERT\APPREPLACEMENT and rename it mplayerc.exe
Don't know if I correctly understand what you're trying to do, but APPREPLACEMENT is meant to replace existing applications. Is the "real" mplayerc.exe present in your source (or going to be while running HFSLIP)? If not, it cannot be replaced either. Edited by Tomcat76
Link to comment
Share on other sites

I think Fred provided the ability to use mplayerc.exe in his fileset to replace mplayer2.exe. He sets this up in his mplayer2.in_ file.

Ok, I didn't know this; I just read it above.

So I am using Fred's fileset and I want to use mplayer instead of mplayer2 or mplayerc.

If mplayerc is the new fix then I should be able to replace it in HFEXPERT\APPREPLACEMENT

OR

remove Fred's fix (mplayer2.in_) and replace mplayer2 in APPREPLACEMENT as TommyP says.

APPREPLACEMENT is meant to replace existing applications

Maybe the first doesn't work because mplayerc isn't set up yet to replace :}

Link to comment
Share on other sites

Squeeto :hello:

I use my own INF with all settings ;)

If I'm not mistaken you should:

- place MPLAYER.EXE and MPUI in one directory (I place both in SYSTEM32);

- rename MPUI.EXE to MPLAYERC.EXE;

- uncomment MPLAYER2.INF in SYSSETUP.IN_ file (right click, choose open with Notepad, edit and save).

This INF is included with FDV's filesetn but it's "idle" - it is not installed by default (commented in SYSSETUP.INF). I don't use this file either, I usually associate media files with MPUI and make a shortcut for MPUI.EXE in start menu ;)

Try listening to the Internet radio with this thing :) Here is one link for you:

mplayer.exe http://horus.mtu.ru:9000/

It is in Russian just for an example.

By the way I've just found how to use MPLAYER for replacing work of DVDPLAY.EXE (autoplaying when DVD is inserted). Will comment that later.

Edited by Oleg_II
Link to comment
Share on other sites

I don't use this file either, I usually associate media files with MPUI and make a shortcut for MPUI.EXE in start menu

I may have to do something similar. I now have mplayerc to SYSTEM32 but no shortcut and it doesn't associate with an avi. I did remember to copy back in mplayer2.in_.

One small factor - HFSLIP 60107 doesn't work for me, I copied the zip over the older 51202 (usually so rock solid, I didn't think to keep the older) and I had to perform this test on a dated 51115 version.

If I can't later get suitable results could you show me how to make an association to say .avi files?

Once again thanks Oleg_II.

Link to comment
Share on other sites

There's three options.

If you are not using FDV's fileset. Put the renamed mplayer2.exe in the APPREPLACEMENT folder. Done.

If you are using FDV's fileset, put the renamed mplayer2.exe in the appreplacement folder, delete FDV's mplayer2.in_ file, and modify sysoc.inf such that mplayer2.in gets installed. With FDV's mplayer2.inf file, it wants to put the exe file in a folder somewhere else.

The last option is to run a commandline on the mplayer2.exe file once installed. You need to do a regaud and regvid switch to register the filetypes. Open mplayer to see the switches in the options.

What I typically do is run with a modified mplayer2.inf and run a nice regedit at the svcpack level. All file types are associated for me. My regedit does the "Open With List" option.

Link to comment
Share on other sites

With FDV's mplayer2.inf file, it wants to put the exe file in a folder somewhere else.

You are right :thumbup Just remembered - the path in it for Mplayer Classic in %ProgramFiles% so if somebody wants to use it with other program he has to change the path.

Sorry I'm a bit busy these days. Here is my full codecs.inf:

[Version]
Signature=$CHICAGO$

[DefaultInstall]
AddReg=Ext.Reg, Avisynth.Reg, Filter.Reg, Cod.Added
UpdateInis = Appz.links

[Ext.Reg]
; DVD
HKCR,"DVD\shell\play\command","",0x00020002,"%11%\mpui.exe ""%1"""

HKLM,"SOFTWARE\Classes\.3gp",,,"MPUI"
HKLM,"SOFTWARE\Classes\.avi",,,"MPUI"
HKLM,"SOFTWARE\Classes\.asf",,,"MPUI"
HKLM,"SOFTWARE\Classes\.mpeg",,,"MPUI"
HKLM,"SOFTWARE\Classes\.mpg",,,"MPUI"
HKLM,"SOFTWARE\Classes\.wav",,,"MPUI"
HKLM,"SOFTWARE\Classes\.mkv",,,"MPUI"
HKLM,"SOFTWARE\Classes\.vob",,,"MPUI"
HKLM,"SOFTWARE\Classes\.wma",,,"MPUI"
HKLM,"SOFTWARE\Classes\.wmv",,,"MPUI"
HKLM,SOFTWARE\Classes\MPUI,,,"Media File"
HKLM,"SOFTWARE\Classes\MPUI\DefaultIcon",,,"%11%\codecs\WM.ico"
HKLM,SOFTWARE\Classes\MPUI\shell\Open\command,,,"%11%\mpui.exe ""%1"""

HKLM,"SOFTWARE\Classes\mp3file\DefaultIcon",,,"%16422%\1by1\1by1.exe,0"
HKLM,"SOFTWARE\Classes\mp3file\shell\open\command",,,"%16422%\1by1\1by1.exe ""%1"""
HKLM,"SOFTWARE\Classes\mp3file\shell\play\command",,,"%16422%\1by1\1by1.exe ""%1"""

; Quick Time
HKLM,"SOFTWARE\Classes\.mov",,,"movfile"
HKLM,"SOFTWARE\Classes\.qt",,,"movfile"
HKLM,"SOFTWARE\Classes\movfile\DefaultIcon",,,"%11%\codecs\quicktime.ico"
HKLM,"SOFTWARE\Classes\movfile\shell\open\command",,,"%11%\mpui.exe ""%1"""

; Real
HKLM,"SOFTWARE\Classes\.ra",,,"realfile"
HKLM,"SOFTWARE\Classes\.ram",,,"realfile"
HKLM,"SOFTWARE\Classes\.rm",,,"realfile"
HKLM,"SOFTWARE\Classes\realfile\DefaultIcon",,,"%11%\codecs\real.ico"
HKLM,"SOFTWARE\Classes\realfile\shell\open\command",,,"%11%\mpui.exe ""%1"""

[Avisynth.Reg]
HKCR,"avifile\Extensions\AVS",,0x00000,"{E6D6B700-124D-11D4-86F3-DB80AFD98778}"
HKCR,"Media Type\Extensions\.avs","Source Filter",0x00000,"{D3588AB0-0781-11CE-B03A-0020AF0BA770}"
HKCR,"CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}",,0x00000,"Avisynth"
HKCR,"CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32",,0x00000,"avisynth.dll"
HKCR,"CLSID\{E6D6B700-124D-11D4-86F3-DB80AFD98778}\InProcServer32",ThreadingModel,0x00000,"Apartment"

[Filter.Reg]
HKLM,%RunOnce%,"Avisynth",,"%11%\regsvr32 /s %11%\avisynth.dll"
HKLM,%RunOnce%,"CyberLink Video/SP Filter",,"%11%\regsvr32 /s %11%\codecs\CLVSD.ax"
HKLM,%RunOnce%,"DIVX_c32.ax...",,"%11%\regsvr32 /s %11%\DIVX_c32.ax"
HKLM,%RunOnce%,"DivXa32.acm",,"%11%\regsvr32 /s %11%\DivXa32.acm"
HKLM,%RunOnce%,"DivXc32.dll",,"%11%\regsvr32 /s %11%\DivXc32.dll"
HKLM,%RunOnce%,"DivXc32f.dll",,"%11%\regsvr32 /s %11%\DivXc32f.dll"
HKLM,%RunOnce%,"Flash.ocx",,"%11%\regsvr32 /s %11%\flash.ocx"
HKLM,%RunOnce%,"Frauenhof L3 Codec Professional",,"%11%\regsvr32 /s %11%\l3codecp.acm"
HKLM,%RunOnce%,"Huffyuv lossless codec",,"%11%\regsvr32 /s %11%\huffyuv.dll"
HKLM,%RunOnce%,"Lame Encoder",,"%11%\regsvr32 /s %11%\lame_enc.dll"
HKLM,%RunOnce%,"DirectX dll",,"%11%\regsvr32 /s %11%\codecs\msdmo.dll"
HKLM,%RunOnce%,"Windows Video 10",,"%11%\regsvr32 /s %11%\codecs\wmvdmod.dll"

[Cod.Added]
HKLM,"%Str01%\drivers.desc",L3codecp.acm,,"Frauenhof L3 Codec Professional"
HKLM,"%Str01%\drivers.desc","DivXc32.dll",0x00000,"DivX ;-) MPEG-4 Video Codec (Low-Motion)"
HKLM,"%Str01%\drivers.desc","DivXc32f.dll",0x00000,"DivX ;-) MPEG-4 Video Codec (Fast-Motion)"
HKLM,"%Str01%\drivers.desc","DivXa32.acm",0x00000,"DivX ;-) Audio Codec"
HKLM,"%Str01%\drivers.desc","huffyuv.dll",0x00000,"Huffyuv lossless codec [HFYU]"
HKLM,"%Str01%\Drivers32","VIDC.HFYU",0x00000,"huffyuv.dll"
HKLM,"%Str01%\Drivers32",msacm.l3codecp,,"l3codecp.acm"
HKLM,"%Str01%\Drivers32","vidc.DIV3",0x00000,"DivXc32.dll"
HKLM,"%Str01%\Drivers32","vidc.DIV4",0x00000,"DivXc32f.dll"
HKLM,"%Str01%\Drivers32","msacm.divxa32",0x00000,"DivXa32.acm"
HKLM,"%Str02%\VIDC.HFYU","Description",0x00000,"Huffyuv lossless codec [HFYU]"
HKLM,"%Str02%\VIDC.HFYU","Driver",0x00000,"huffyuv.dll"
HKLM,"%Str02%\VIDC.HFYU","FriendlyName",0x00000,"Huffyuv lossless codec [HFYU]"
HKLM,%Str02%\VIDC.wmv3,Description,,"Microsoft Windows Media Video 10"
HKLM,%Str02%\VIDC.wmv3,Driver,,"wmvdmod.dll"
HKLM,%Str02%\VIDC.wmv3,FriendlyName,,"Microsoft Windows Media Video 10"

[Appz.links]
; Entertainment
setup.ini, progman.groups,, "group1=""..\..\..\Default User\Start Menu\Programs\Accessories\Entertainment"""
setup.ini, group1,, """Mplayer"",""""""%11%\mpui.exe"""""",,,,""%11%"",""mpui.exe"""

; folder Radio
setup.ini, progman.groups,, "group2=""..\..\..\Default User\Start Menu\Programs\Accessories\Entertainment\Radio"""
setup.ini, group2,, """BBC"","""""%11%\mplayer.exe [url="http://wmevent4.broadcast.com/bcenc199178""""",%11%\shell32.dll,-177,,,""%11%"",""mplayer.exe"]http://wmevent4.broadcast.com/bcenc199178&...uot;mplayer.exe[/url] [url="http://wmevent4.broadcast.com/bcenc199178""""]http://wmevent4.broadcast.com/bcenc199178"""[/url]
setup.ini, group2,, """Europa Plus"","""""%11%\mplayer.exe [url="http://horus.mtu.ru:9000/""""",%11%\shell32.dll,-177,,,""%11%"",""mplayer.exe"]http://horus.mtu.ru:9000/""&quot...uot;mplayer.exe[/url] [url="http://horus.mtu.ru:9000/""""]http://horus.mtu.ru:9000/"""[/url]
setup.ini, group2,, """Hitroe Radio"","""""%11%\mplayer.exe [url="http://hitroe.com:8000/stream""""",%11%\shell32.dll,-177,,,""%11%"",""mplayer.exe"]http://hitroe.com:8000/stream""&...uot;mplayer.exe[/url] [url="http://hitroe.com:8000/stream""""]http://hitroe.com:8000/stream"""[/url]
setup.ini, group2,, """Radio Chanson"","""""%11%\mplayer.exe [url="http://horus.mtu.ru:8800/""""",%11%\shell32.dll,-177,,,""%11%"",""mplayer.exe"]http://horus.mtu.ru:8800/""&quot...uot;mplayer.exe[/url] [url="http://horus.mtu.ru:8800/""""]http://horus.mtu.ru:8800/"""[/url]
setup.ini, group2,, """Radio Soyuz"","""""%11%\mplayer.exe [url="http://terpsichore.net.rol.ru:8000/radiosouz-64""""",%11%\shell32.dll,-177,,,""%11%"",""mplayer.exe"]http://terpsichore.net.rol.ru:8000/radioso...uot;mplayer.exe[/url] [url="http://terpsichore.net.rol.ru:8000/radiosouz-64""""]http://terpsichore.net.rol.ru:8000/radioso...ot;""[/url]

[Strings]
Str01="SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Str02="SYSTEM\CurrentControlSet\Control\MediaResources\icm"
RunOnce="Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup"

Use it as an example. I place it in SFX archive with MPLAYER, MPUI (I also use 1by1 MP3 player but it installed in %ProgramFiles% separately) and some codecs (codecs not needed for playing in general, they are for my future video editing plans ;) This INF will create some shortcuts in Start menu. Associations are made but I use two or three custom icons for different type of files. MPLAYER and MPUI in System32.

I don't upgrade Windows Media Codecs and I'm still on DX7. But I use one latest file from each - wmvdmod.dll and msdmo.dll accordinally (you can find them in Filter.Reg section but in fact with MPLAYER you don't even need to register them).

PS Making DVD playing with MPUI by this INF (first setting) is under testing. Maybe I need %% instad of %?

Edited by Oleg_II
Link to comment
Share on other sites

With FDV's mplayer2.inf file, it wants to put the exe file in a folder somewhere else.

Thanks guys, Fred does put it in "Program Files\K-Lite Codec Pack\Media Player Classic". I can make this work now. I'll tweak mplayer2.in_ to work with mpui.exe also.

@TommyP

Next time round, mpui has an update, can I put it in the APPREPLACEMENT folder and HFSLIP will find it?

BTW Oleg_II, if you get further into video editing, check out HC encoder by Hank315. Amazing, free and probably now better than Tmpgenc. Sorry to break the thread but I wanted to give a little back. ;)

Link to comment
Share on other sites

@Squeeto - As long as your INF file and renamed EXE file are properly working, then if there is an update to your EXE, just place the new and renamed EXE file in the APPREPLACEMENT folder. I do this all the time with WMP Classic.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...