DIV3 codec not working with hardware decoder

I’ve found an old TV show ripped and encoded with a codec that seems to create problem for the hardware decoder of the Vero4k.

ffprobe gives me this: Stream #0:0: Video: msmpeg4v3 (DIV3 / 0x33564944)...

disabling hardware decoding plays the file fine.

kodi log states as follows: error <general>: DVDVideoCodecAmlogic: Failed to open Amlogic Codec

full log: https://paste.osmc.tv/duwugihape.xml

I cut a chunk of the video if needed: Koofr - Download link for bb.avi

Will check this shortly.

1 Like

I would suggest a good option for dealing with old videos using problematic outdated codecs is to just convert them to something widely supported like AVC/h.264. You can use a program like Handbrake (for free) to do this job for you. Handbrake also supports batch processing so you could play around with a single file to find settings optimal for your situation and once you have determined those point it at files for the rest of the series and let the computer work as you walk away.

2 Likes

It’s not a problem for me to playback those files. As said they play fine via software decoding.
Re-encoding an already low quality encode is a no-go.

I just wanted to report an issue with a specific codec that maybe it’s just an easily fixable bug or an actual hardware incompatibility.

Instead of just finding a workaround, I reported the issue.

Just set hardware acceleration to HD and up and it should play just fine.

These old DivX AVIs are not worth the hassle to support in hardware. They will have PTS issues and DivX isn’t something we intend to support in hardware.

You are unlikely to find HD content in DivX so I don’t foresee an issue here.

Sam

Accelerate MPEG4 = HD and up
Works perfect!

https://streamable.com/rjky3q

Yes that’s the expected result for SD DivX

1 Like

yup, I do not expect an ancient codec to be supported.

I was expecting something more in line with what happens if you try to playback an AV1 encoded video, it defaults to software decoding.

1 Like

We’d have to add a lot of logic to check the subcodec tag and I don’t have an exhaustive list. In the future we can probably do something about this and send that codec straight to software.

1 Like