When I try to export a video, I get the following error:
'Could not initialize the h264 encoder (error 48)'
Hi. What is the width and height of the timeline? This error can show if the width and/or height is not a multiple of 2 when using an export preset that uses the H.264 video codec.
I have exactly the same problem by exporting my videos, but the error is:
'Could not initialize the H264 encoder (Error 29)'
This happens after I upgraded the HE to 2021.2 version on my macOS Mojave 10.14.6 and Radeon RX 580 8 GB graphics.
Project settings are:
1080p Full HD @ 60 fps (1920 x 1080 pixels) all other are defaults settings.
Export Presets are:
YouTube 1080p HD (default)
As you can see, the width and height is a multiple of 2, but the problem persists!
Thank you for any help...
@infometa While your export issue appears unrelated to the issues many users are having with black screens and such that is only affecting some machines and not others that very much rigorously tested the update in the home office, the only way for the devs to find the root cause of these issue is by getting as much info from those affected machines as possible since their machines will not replicate it. Don't misunderstand this is not a finger pointing questions, but data gathering questions.
Please consider connecting support at https://fxhome.com/support and give them the details listed in this thread plus any other relevant info you can think of regarding to issue:
It's the only way it can be tracked down really.
@infometa @tddavis @Aimee
Slight correction on mp4 encoding. It's not multiples of 2, but, depending on the the implementation (there's quite a few "sub-variants" of mp4), resolutions might need to be a multiple of 4, 8, or 16. I THINK Hitfilm wants multiples of 16 (this might be different in Pro vs Express. Express uses the OS encoder, Pro a third party library).
I'm going to tag @TheBenNorris for a sanity check.
>I THINK Hitfilm wants multiples of 16
1920x1080 is not a multiple of 16. Well, 1080 is not. A modulus of 2 is normally all that is required for encoder input with AVC/H.264 encoders.
How the encoder actually encodes, now that may be another matter. But that is encapsulated behind the encoder/decoder barrier. In other words, only an encoder/decoder developer need worry about the requirements. 1080 AVC video is one such animal.
@NormanPCN thank you for the clarification. 👍
I seem to recall a user in the last year hitting an encode error over something divisible by 2. Maybe Hitfilm wants multiples of 8? That would work for 1080p. Again, I could be wrong, which is why I asked Ben.
I said it a couple weeks ago I'll say it again - good to have you back, Norman.
Hola , yo tambien tengo el mismo problema " no se puede inicializar el código h,264 (error 48) " .. ?