Log in

View Full Version : MPC HC - Portable and preconfigured with LAV & madVR?


aufkrawall
24th February 2012, 12:13
Hello,
if you have tried to make x264 I444 (and maybe even 10bit) video playable for as many players as possible.. you may have given up on this. At least this applies to me.
The only widespread player, that could play it "out of the box", is the new VLC 2, but thanks to bugs it doesn't work great either.
So, to sum up: There's no player around that plays H.264 I444 10bit video without having to manually install and set up filters.

Now, since all MPC HC, LAV and madVR are under GPL, what about creating a preconfigured portable MPC HC version with madVR as a renderer and LAV as video decoder/splitter?
I can't do this, I don't have the expertise. But what about some more experienced users here? I think theoretically it's not a hard task.

If you want to deploy I444 video, you can simply recommend the users to download the preconfigured MPC HC version that is totally portable.
So the user doesn't have to make any changes to his system and it is ensured that video playback works as good as possible.
Many users here already use this combination anyway. ;)

What do you think?

nevcairiel
24th February 2012, 12:53
madVR is not under GPL.

aufkrawall
24th February 2012, 13:11
Hm, ok.
But the license says:
DISTRIBUTION
------------
The software "madVR" may be distributed freely, provided that the "madVR"
software package is left in its original state with no files deleted or
modified.

nevcairiel
24th February 2012, 13:13
How is that GPL? :p

aufkrawall
24th February 2012, 13:24
How is that GPL? :p
That wasn't meant as a negation. :)
I wanted to say that it should be no license problem. Then GPL applies for everything except of madVR, user has to accept both licenses.
Which means in practice that two license txts have to be included. Or am I mistaken?

Mercury_22
24th February 2012, 13:28
Configure mpc & LAV & madVR export all settings in a single reg file, create a zip file with MPC & LAV & madVR and the reg file and that's all folks! :)

aufkrawall
24th February 2012, 13:37
Configure mpc & LAV & madVR export all settings in a single reg file, create a zip file with MPC & LAV & madVR and the reg file and that's all folks! :)
Doesn't this require that the filters are at the right path?
Also, reg changes aren't very portable/change the system.
madVR has to be registered.

Mercury_22
24th February 2012, 13:48
Doesn't this require that the filters are at the right path?
Also, reg changes aren't very portable/change the system.
madVR has to be registered.

There is no path in LAV settings and IIRC it's the same with madVR but you have to register LAV and madVR :p
I've asked NEV to create an option to save the settings in an ini file but ...This seems like a bad idea. Too many headaches involved for a mostly useless feature.
No offense intended. :)

Also you can add my "twek" Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.AX]
@="axfile"

[HKEY_CLASSES_ROOT\axfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\axfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\axfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\axfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""

[HKEY_CLASSES_ROOT\.OCX]
@="ocxfile"

[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""
to the reg file so you can just right click and register/unregister any ax / dll /ocx file

nevcairiel
24th February 2012, 13:59
LAVs decoder should probably work without registration in MPC-HC, but madVR will probably need to be registered.

aufkrawall
24th February 2012, 14:25
I've asked NEV to create an option to save the settings in an ini file but ...

The default settings of LAV would be just fine enough, hardware acceleration can't be used for that kind of video anyway.


Also you can add my "twek" Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.AX]
@="axfile"

[HKEY_CLASSES_ROOT\axfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\axfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\axfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\axfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""

[HKEY_CLASSES_ROOT\.OCX]
@="ocxfile"

[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
@="Register"

[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister]
@="UNRegister"

[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""
to the reg file so you can just right click and register/unregister any ax / dll /ocx file
Isn't this basically the same like the .regs that come with LAV/madVR?

LAVs decoder should probably work without registration in MPC-HC, but madVR will probably need to be registered.
Another problem would be the path.
I could only add any filters via an absolute path, which is of course different on most systems.
MPC should just look into a subfolder to find the filters. This, and the fact that madVR has to be registrered, are the two problems.
I think a developer of MPC HC could probably "solve" them in a few minutes. :rolleyes:

Edit: At least the path to LAV filter.

clsid
24th February 2012, 19:27
The K-Lite Codec Pack allows supplying desired installation settings through an INI file.
It is not a portable app, but it does have the advantage of being able to create file associations for MPC-HC.
It contains madVR and gives you choice between LAV/ffdshow and LAV/Haali for individual audio/video/file formats.

aufkrawall
25th February 2012, 09:56
Probably the simplest solution would be to make a self extracting archive that executes the registration of madVR and LAV after extracting.
I wonder if it's possible (or at least easy ;) ) to let a WinRAR installer do silent registry changes...

aufkrawall
9th May 2012, 11:44
With LAV 0.50.2, madVR isn't required anymore for x264 10bit I444 (although it'd be still better).
Luckily, if using ini config of MPC HC, LAV can be added without an absolute path.

So, here's a portable version with LAV preconfigured as desired splitter and video decoder:
http://www.mediafire.com/?fe9lqywhuahl61x

:)

mr.duck
10th May 2012, 03:17
I'm pretty sure madVR stores settings in the registry now.

You could work out exactly what changes are made to the registry so that you could painlessly install/uninstall everything. As for fully portable I think you are out of luck.

l0rdraiden
13th May 2012, 22:36
A portable MPC-HC with this codecs would be awesome


LAV Filters - DirectShow Media Splitter and Decoders
http://forum.doom9.org/showthread.php?t=156191

madVR - high quality video renderer (GPU assisted)
http://forum.doom9.org/showthread.php?t=146228

SmoothVideo Project (SVP) OPTIONAL
http://www.svp-team.com/wiki/Main_Page

xy-VSFilter - VSFilter Fork for Smooth Playback
http://code.google.com/p/xy-vsfilter/

GUIDES
http://azurehakua.wordpress.com/2012/02/23/mpc-hc-lav-filters-xy-vsfilter-madvr/
http://www.avsforum.com/avs-vb/showthread.php?t=1357375
http://imouto.my/watching-h264-videos-using-compute-unified-device-architecture-cuda/
http://www.homecinema-hd.com/lavcuvid-configuration_en.html
http://www.homecinema-hd.com/madvr_en.html
http://imouto.my/madvr/

Gaius
14th May 2012, 15:56
MadVR is too resource-intensive for most users. Best to keep it out of any All-In-One installs.

chainik_svp
15th May 2012, 20:03
SVP needs Avisynth, which can't be used in portable mode o_O At least by ffdshow.

===========
Update: seems like it's possible :) At least "MPC-HC+LAV+ffdshow+avisynth" works in portable mode (though ffdshow and LAV still need HKCU registry to store settings).