[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Wed Oct 16 2019

Why do I get a MEDIA_ERR_DECODE in Google Chrome with my encoded content?

If your source content has a frame rate of 24.02, 25.02, or 30.02 the encoded content will have the same frame rate if not specified other in your encoding profile. Using such frame rates can introduce problems with the Google Chrome MSE. However, the content will play fine on IE9, Edge, Firefox.

You can resolve this issue also for Google Chrome if you set the frame rate of your encoded content to a fixed value of, e.g., 24, 25, or 30. You can easily do that by specifying the rate of the video streams for your codec configuration.

Open API SDK Java Example - Create an H264 Codec Configuration:

1H264VideoConfiguration config = new H264VideoConfiguration();
2config.setName("H264 - 1080p - 30 FPS");
3config.setPresetConfiguration(PresetConfiguration.VOD_STANDARD);
4config.setRate(30.0);
5config.setHeight(1080L);
6config.setBitrate(4800000L);
7
8return bitmovinApi.encoding.configurations.video.h264.create(config);

This example is based on our Open API SDK for Java, which is available on Github. Please see our Open API SDK overview for all our supported programming languages, and our GH API SDK Example Repository for further examples.

Give us feedback