HAP Windows AVI
Is there any serious way to use HAP codec on Windows, .avi required?
I could not even find any reliable solution to encode my video to HAP at all.
Tried ffmpeg - various builds - no success. Either no HAP compiled by the version, or faulty result i.e. not playable by Max, playable with ffplay with alert ".mov tag in .avi file" so something is faulty.
Additionally the encoding speed was like traveled in time 10 years back.
There are some hints here and there to use VirtualDub and some "unofficial" directshow codec. I tried this of course, but VirtualDub is not finding that Hap directshow codec at all, even they are though properly installed and listed on the system. And come on, anyway, this would be a dirty hack with ancient software.
Is HAP alive? Anybody on Win10 using it reliable at all?
I would love some open source but at the moment it seems that some dnxhd is much more efficient, practicably and reliably. Any information very much appreciated :)
Following! I also made some tests with variable results.
For me for the moment simply playing movies with @output_texture 1 is fine.
I've even played four 4K videos from the same machine this way with no troubles, although it was a powerful machine.
Curious to know if somebody is working with HAP on Windows with coherent results.
Yeah, playing video (like sample .avi from the official web site) works for me too. However no luck to encode something properly in windows.
I tried even the recommended QuickTime + official QT component route, but no luck either. Apart from the fact that QT is terribly obsolete an not maintained for something like 10 years :D - so I would avoid that rather; But even there I found no option to export to HAP .avi - only could export HAP to .mov - that does not read properly on Max/Jitter on Windows. So for now it seems the HAP is a dead branch on Win platform.
Drifting a little OT I must admit that I get perfect performance under VIDDLL with dnxhd. Adding "loadram" message make it even better :) Encoding with ffmpeg is a blast. So maybe HAP is not really worth it all then ;)
as of Max 8.1.4 (see the section Viddll and Hap) the viddll engine (ffmpeg based) support for Hap files should be on par with the old hap engine (direct show based, AVI container format) performance.
This means you no longer need a separate package install, and you are no longer limited to the avi container for hap support. Files encoded as .mov, e.g. with ffmpeg or any other encoding tool should work as expected with the viddll engine hap support.
please check that out and let me know your results.
Yes! Thank you Rob! Now it is perfect. Solved.
And it is indeed amazingly efficient. I could play two 1080p50 videos with only 10-15% CPU on my notebook. Much better then dnxhd. Wow, great. Really Rob, thank you for the info!
I was just too stupid to find that out. So as usual: the bug sitting just in front of the computer and not in the software ;)
+ I guess I should apologize too for the accusations of HAP being dead branch on the Windows platform and the whole mix anyway :D
+ may be it helps some one else:
I found out, the part of my problem was an extra data stream encoded in my HAP .mov files.
If using ffmpeg to encode the HAP files the option "-write_tmcd 0" removed that and solved the problem finally.
Great thank you!
Another GPU based codec which seems to getting popular is “Notch LC”.
https://notchlc.notch.one/
If using ffmpeg to encode the HAP files the option "-write_tmcd 0" removed that and solved the problem finally.
awesome, thanks for sharing that tip!