Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding with h264_v4l2m2m produces corrupted video #6

Open
domsson opened this issue Oct 17, 2022 · 0 comments
Open

Encoding with h264_v4l2m2m produces corrupted video #6

domsson opened this issue Oct 17, 2022 · 0 comments

Comments

@domsson
Copy link

domsson commented Oct 17, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant