nginx-vod-module icon indicating copy to clipboard operation
nginx-vod-module copied to clipboard

MP4 is seen as WebM

Open francoism90 opened this issue 1 year ago • 3 comments

I'm experimenting with AV1, as Handbrake supports is as release 1.7.0.

From what I've understood, webm is unsupported by this module, so I'm using mp4 as container. However, when trying to play the file, the manifest is reporting this falsely as video/webm file, resulting in an unplayable video/audio.

Is this expected? Should I force a setting?

I'm using Dash, and I've tried AV1 10-bit (SVT) and Opus/AAC.

Thanks!

francoism90 avatar Dec 17 '23 20:12 francoism90

Yes, it is expected, the codecs - av1, vp9, vp8, vorbis, opus are returned in webm container in DASH, regardless of the source container. If it doesn't play, the problem is somewhere else, maybe the device doesn't support this profile/pixel depth/...

erankor avatar Dec 18 '23 09:12 erankor

@erankor Thanks for your reply. :)

Just to be sure:

  • Does the file also needs the .webm extension?
  • I've read in other tickets, this module only supports mp4-containers, is this correct? Because I'm forcing mp4 as the container. Or can you use webm as container?

I'll check the file as well, because it should be playable directly in the browser.

francoism90 avatar Dec 18 '23 11:12 francoism90

The module has experimental support for webm/MKV - it works for some files, but it's definitely not complete. It is recommended to use MP4 container for all codecs.

erankor avatar Dec 23 '23 15:12 erankor