How to record HAP videos with jit.record on windows
Hi everybody,
i'm trying to record avi files with HAP codec on Windows 10.
This is the patch:
and i get this error: "jit.record . error - cannot find codec: hap"
seems like i don't have hap codec installed properly, but with [jit.movie @codec hap @output_texture 1] i get no error in the max window and hap files are read correctly.
what i'm getting wrong?
Thanks!
Bump!
Having the same problem here. Reading HAP? No problem. Recording HAP? -> "cannot find codec"
Is HAP recording in Max officially unsupported on windows, or are we getting something wrong?
From what I know, encoding HAP files in Premiere is difficult. So in Max, I don't know if they are even possible.. I would doubt that very much.
avi container hap file encoding for compatibility with the windows hap engine is not possible with jit.record, nor is hap an advisable codec for realtime recording (as suggested above).
i hope to find time soon to investigate improving playback of hap files from the viddll engine, so that the avi container is no longer necessary for the most efficient hap playback on windows.
Hi Rob,
These are really good news !
It would be also cool, if HAP encoded movies would loops nicely with the viddll engine.
Looking forward to the next viddle update :-)
Best,
Tom
Thanks for the info! However, regardless of the container, jit.record tells me it "cannot find codec". So also .mov files can't be created with HAP.
Currently my workaround is to first render really really big prores files and then convert them to HAP with ffmpeg. This all works without noticeable loss of quality, but takes a lot of time.
I mainly want to know if I should accept that this is the quickest route currently possible.
!t
People usually use an external screen capture program for this. I use Quick time on mac.
I'm recording video in non-realtime at 15360 x 1080 pixels, so unfortunately that's not an option for me!
Maybe this can help, but my guess is that for that resolution, it will not
Hey Tarik,
Perhaps rendering to a matrix (jit.gl.asyncread), store the frames as pngs and render the movie later ;-)
If you have to render the movie "on the flow" you can use ffmpg with the shell object to convert the image sequence to a movie.
Just some thoughts ;-)
Good luck !
Tom
interesting thought... but in my experience exporting to png is both slower and takes up more harddisk space than rendering to prores, or have you had other experiences?
And to get back to the original question: bottom line is that it's impossible on Windows, regardless of .avi or .mov container, to use jit.record with a HAP codec, correct?
yeah that sounds about right. I believe viddll on mac can make hap .mov files, but not on windows. the only "officially" supported codecs are those listed in the codec attribute, as described in the help patch.
Thanks!!