td icon indicating copy to clipboard operation
td copied to clipboard

Supported video formats

Open abitrolly opened this issue 1 year ago • 4 comments

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

abitrolly avatar Sep 18 '24 20:09 abitrolly

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.

levlam avatar Sep 18 '24 21:09 levlam

@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.

abitrolly avatar Sep 19 '24 04:09 abitrolly

You shud M use P4 (H.264/AAC): Browser Support: Universally supported across all major browsers (Chrome, Firefox, Safari, Edge, etc.).

manishwalia15 avatar Oct 06 '24 17:10 manishwalia15

@manishwalia15 browsers may support, but company or regulator policy may not, especially those who take security seriously.

abitrolly avatar Oct 07 '24 00:10 abitrolly