hap icon indicating copy to clipboard operation
hap copied to clipboard

[Question] Is there any way to reduce the transcoded file size ?

Open ghost opened this issue 3 years ago • 1 comments

Hello,

We are trying to make an open source cross-platform high-resolution 360 VR video player with Unity, and we ended up using HAP codec since it's the one offering the best playback performances.

However, when we transcoded our videos we got huge files e.g. with:

ffmpeg.exe -i "Cycling [email protected]" -c:v hap "Cycling [email protected]"

Input file: H265 76803840px @ 30fps is 2.12GB for 2min video Output file: HAP 76803840px @ 30fps is 36.6GB for 2min video

Is there a way to reduce HAP file size ?

Thanks

ghost avatar Jul 05 '22 08:07 ghost

Hi, We did a modified Hap codec version with 100% GPU decoding (including 1st stage). You can find the link to our Shutter Encoder fork on our website: https://demolition-studios.tilda.ws/ In the encoder if you select one of the GDeflate GPU codec versions, the file size will be smaller compared to the original Hap. However the playback is only supported only in our Unity plugin at the moment as far as I know: https://assetstore.unity.com/packages/tools/video/demolition-media-hap-pro-gpu-windows-273580

leavittx avatar Jun 27 '25 11:06 leavittx