'Video not getting play in mozilla firefox

When i upload a video in firefox, not able to play that video( not for all video, that happened in this type of codec video )

in firefox give warning on URL.createObjectURL(video) Media resource blob could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) Details: auto mozilla::SupportChecker::AddMediaFormatChecker(const mozilla::TrackInfo &)::(anonymous class)::operator()() const: Decoder may not have the capability to handle the requested video format with YUV444 chroma subsampling.

I also try video converter package :: https://www.npmjs.com/package/convert-video but same issue occur



Solution 1:[1]

Firefox won't support that video's format, see https://bugzilla.mozilla.org/show_bug.cgi?id=1368063.

The suggested solution is to create the video using ffmpeg's -pix_fmt yuv420p switch.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 connexo