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

Add SetPixFmt() #47

Merged
merged 3 commits into from
Mar 30, 2020
Merged

Add SetPixFmt() #47

merged 3 commits into from
Mar 30, 2020

Conversation

Arcayr
Copy link
Contributor

@Arcayr Arcayr commented Jan 28, 2020

Encoding one animated format (e.g., GIF) to another (e.g., WEBM via libvpx) requires explicit declaration of the pixel format, lest you be met with an error.

This is a couple-line modification to ./models/media.go which adds SetPixFmt() and the related functions to allow setting the pix_fmt value sent to FFMPEG.

Arcayr and others added 3 commits January 28, 2020 21:32
Used for GIF to WEBM via pix_fmt yuv420p.
@xfrr xfrr merged commit 084f7cb into xfrr:master Mar 30, 2020
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

Successfully merging this pull request may close these issues.

2 participants