Can't upload .MKV after disabling transcoding

Hello there,

The title says it all, I was disappointed that peertube wanted to transcode every file I uploaded to h264 aac so I turned off transcoding:
*insert image 1

After disabling transcoding I can no longer upload .mkv files. And I receive the following error:
*insert image 2

What is this a limitation of? webm and mp4 seem to work. Should this be a feature request?

Thanks

apologies for the weird image solution I can only upload one media file as a new member:

Hi,

You can create your own transcoding plugin: Plugins & Themes | PeerTube documentation

PeerTube uses mp4, h264 and aac because they are widely supported by web browsers.

So there is no way to add the .mkv extension with transcoding turned off?
I would prefer to upload my videos pre encoded and just use peertube to play them back. all my browsers support av1 and opus so h264 aac is just something I’m not interested in.

No sorry it’s not possible.

MKV is only a container, as MP4. Browsers can’t play mkv files.
If I remember well, the reason is that MKV does not permit streaming (basically, you have to download the full file before being able to read it).

But you can produce a mp4 file with exactly the same content as the mkv file.
This operation can be done with tools like ffmpeg, and is quite fast, as it does not change the encoding, it only rewrite the content in another container format.