Skip to content

macOS for X86_64 FFMPEG error when using h264_videotoolbox encoder #19

@MacNB

Description

@MacNB

Thank you for creating a build for macOS that runs on Intel Macs.
Runs very well.

There's issue with selecting Apple Hardware Accelerated H.264 (Videotoolbox).
FFMPEG does not support -q:v parameters on Intel Mac's I believe and it fails.
Here's an extract of the log:

[DEBUG] ffmpeg stderr: Stream mapping:
[DEBUG] ffmpeg stderr: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
[DEBUG] ffmpeg stderr: [h264_videotoolbox @ 0x7f953fc046c0] -q:v qscale not available for encoder. Use -b:v bitrate instead.
[DEBUG] ffmpeg stderr: [vost#0:0/h264_videotoolbox @ 0x7f953fd04600] [enc:h264_videotoolbox @ 0x7f953fc04640] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.

As a test workaround, I tried adding -b:v 15000 in the Custom FFMPEG arguments but it was ignored.

Same issue when selecting H.265 videotoolbox option.

H.264 software encodes works but of course takes a long time to encode.

Full log attached.

VB-h264-error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions