How to record HAP videos with jit.record on windows


    Aug 30 2018 | 12:57 pm
    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!

    • Jun 10 2019 | 3:11 pm
      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?
    • Jun 10 2019 | 7:45 pm
      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.
    • Jun 11 2019 | 12:29 am
      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.
    • Jun 11 2019 | 8:26 am
      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
    • Jun 11 2019 | 9:21 am
      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
    • Jun 11 2019 | 10:17 am
      People usually use an external screen capture program for this. I use Quick time on mac.
    • Jun 11 2019 | 10:34 am
      I'm recording video in non-realtime at 15360 x 1080 pixels, so unfortunately that's not an option for me!
    • Jun 11 2019 | 11:20 am
      Maybe this can help, but my guess is that for that resolution, it will not

      AMT - How to Record your Jitter Visuals with Syphon

    • Jun 11 2019 | 1:36 pm
      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
    • Jun 11 2019 | 1:52 pm
      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?
    • Jun 12 2019 | 11:25 am
      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?
    • Jun 12 2019 | 2:09 pm
      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.
    • Jun 12 2019 | 2:33 pm
      Thanks!!