Ivan Kuckir
Ivan Kuckir

Reputation: 2559

Decode MP4 video with VideoDecoder - avcC problem

I am trying to decode this video with WebCodecs in Google Chrome: https://www.photopea.com/test_video.mp4 . My code used to work in the past with this video, but it stopped to work with Chrome 115.

I am providing this configuration:

decoder.configure( {
    "codec": "avc1.640034",  // I use this for every AVC-encoded file
    "description": file.slice(577, 577+52)
} );

It prints the error

Failed to execute 'configure' on 'VideoDecoder': Failed to parse avcC.

Are you able to decode any frame of this file with VideoDecoder? How do you do it?

Upvotes: 0

Views: 722

Answers (0)

Related Questions