Convert Video to HAP AVI on Windows using FFMPEG

Federico-AmazingMaxStuff's icon

Hi all!
I'm trying to convert a video (the "chickens.mp4" built-in file) with the HAP codec and play it in Max on Windows 10. To do the conversion I'm using FFmpeg from the command prompt, using this command:

ffmpeg -i "C:\Users\Federico Foderaro\Desktop\chickens.mp4" -vcodec hap -format hap_q "C:\Users\Federico Foderaro\Desktop\chickensHAPQ.mov"

The conversion seems to work, and I get a .mov file as an output.
Now, since Hap on Windows in Max cannot play a .mov, I convert the video to .avi always using FFmpeg.
This is the command:


ffmpeg -i "C:\Users\Federico Foderaro\Desktop\chickensHAPQ.mov" -vcodec copy -acodec copy "C:\Users\Federico Foderaro\Desktop\chickensHAPQ.avi"

Problem is, that in Max when reading the .avi file I just get a black screen (or blue), so it's not working.

Do some of you managed to get this working without using Adobe Media Encoder?
Could some of you replicate my issue?

Thank you very much

Guillaume's icon

same here, I tried with this simple command : ffmpeg -i in.mp4 -c:v hap out.avi (avi because I'm on windows)
and nothing happend.

Someone found the right command to put inside ffmpeg? maybe there is a special option to add in the command?

Thank you very much

Guillaume's icon

Maybe Solved? For me with virtualdub is working :)

Federico-AmazingMaxStuff's icon

Hi Guillame, using the command you posted above?

Guillaume's icon

no, just with virtualDub, I read somewhere is not possible with ffmpeg. With virtualDub the export is supppppper slow and the final file is really heavy. But it's free , you can batch a folder full of movies and the quality is great for what I tried.

Federico-AmazingMaxStuff's icon

Thank you a lot! That's very helpful

Guillaume's icon

Don't forget, Virtualdub natively don't accept mp4, you need to add ffmpeg plugins ( here >>> https://sourceforge.net/projects/virtualdubffmpeginputplugin/ ). You're welcome federico :)