[SOLVED] HAP video aspect 1:1
-
Hi!
I'm currently working on a project with many high-res LED screens. I'm trying to re-encode all the videos into the HAP codec, but I'm facing a problem.
I usually use Shutter Encoder, but for some reason, it gives an error with 1:1 aspect video. Adobe ME converts such videos into HAP without any issues, but Isadora refuses to play them.
Has anyone faced this problem?
Thanks.
-
I've not run into that but if you need a quick and dirty solution, you can just render them out as 16x9 with black letterboxing on the left and right, then use a Chopper actor to cut off the letterboxing in Isadora.
Here's a file for that: using-the-chopper-actor-to-change-the-aspect-ratio-of-media-2024-06-20-3.2.6.izz
-
Thank you for the reply.
I've solved the problem by increasing the resolution a bit. The native was 1178x1178. When I resized it to 2000x2000 the problem went away.
But still strange ))
-
Shutter encoder uses FFMPEG under the hood - FFMPEG uses a slightly out of date implementation of HAP and requires resolutions in multiples of 4.
Source: https://github.com/FFmpeg/FFmp...
if (avctx->width % 4 || avctx->height % 4) { av_log(avctx, AV_LOG_ERROR, "Video size %dx%d is not multiple of 4.\n", avctx->width, avctx->height); return AVERROR_INVALIDDATA; }
The current version of HAP does not have that limitation (see odd dimension testing pack)
-
@fred, thank you.
Very useful information. I will keep it in mind for the future.