Skip to content

Encoding with h264_v4l2m2m produces corrupted videoΒ #6

@domsson

Description

@domsson

Assuming this is the repository for the version of ffmpeg that ships in the repositories of the official Raspberry Pi OS distribution, the following issue can be observed:

Encoding a video using h264_v4l2m2m (for the sake of hardware acceleration) seems to work, but produces two warnings and the resulting video is corrupted and can't be played. Also see this post on Raspberry Pi StackExchange.

As noted in the linked post, replacing the apt-provided ffmpeg with the one by jc-kynesim results in one of the warnings disappearing and the resulting video working as expected.

Could whatever fixes/ patches were applied there be incorporated here as well, so that users can make use of hardware acceleration without having to manually compile another version of ffmpeg?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions