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

Supported video formats #3054

Open
abitrolly opened this issue Sep 18, 2024 · 2 comments
Open

Supported video formats #3054

abitrolly opened this issue Sep 18, 2024 · 2 comments

Comments

@abitrolly
Copy link

It would be nice to document what is supported. .webm with VP8 apparently doesn't play.

@levlam
Copy link
Contributor

levlam commented Sep 18, 2024

The only video format that is guaranteed to work is .MPEG4 with H.264 video codec and AAC audio codec. Some other video formats or codecs may work but this isn't guaranteed. This is documented for bots at https://core.telegram.org/bots/api#sendvideo. Regular apps are supposed to reencode videos using system-provided tools to .MPEG4, or can't affect video format, hence this doesn't usually matter for them.

@abitrolly
Copy link
Author

abitrolly commented Sep 19, 2024

@levlam it would be nice to support at least one open source codec in addition to proprietary H.264, because some platforms disallow binary blobs that can not be audited.

P.S. Thanks for the reply.

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

2 participants