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

Use more universally-compatible pixel format for mp4 derivatives #223

Open
conorom opened this issue Aug 17, 2020 · 1 comment
Open

Use more universally-compatible pixel format for mp4 derivatives #223

conorom opened this issue Aug 17, 2020 · 1 comment

Comments

@conorom
Copy link

conorom commented Aug 17, 2020

Recently we uploaded a lot of videos to Fulcrum that used a pixel format incompatible with playback in Safari.

Because FFmpeg persists the input file's tracks' parameters where applicable, the transcoded mp4 (the one requested by Safari) was not playable in Safari.

This is a weird thing to track down, but seems to be a fairly well known issue. Given that the playback derivatives should be as universally-viewable as possible, it seems like the pix_fmt flag should be added in mp4 creation to ensure a user's file will produce playable derivs.

Should be a quick change to make, if others agree. Just adding -pix_fmt yuv420p there.

Links:
https://changelog.addpipe.com/fixed-rare-issue-with-recordings-not-playing-in-safari-149750
https://stackoverflow.com/a/54335942
https://superuser.com/a/1413330
https://video.stackexchange.com/a/24584
https://stackoverflow.com/questions/32829514/which-pixel-format-for-web-mp4-video
https://tools.lib.umich.edu/jira/browse/HELIO-3433

@no-reply
Copy link

this seems like a good addition.

it might be nice to make these options more readily configurable by users in general.

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

No branches or pull requests

2 participants