Skip to content

[Feature request] Support in-correct IV that ffmpeg plays OK #2010

@matthuisman

Description

@matthuisman

Describe the feature

In one of my add-ons, we generate a new higher quality HLS playlist by grabbing the 720p playlist and replacing the .ts urls with a known 1080p version.

ffmpeg plays this just fine - but inputstream.adaptive refuses too.
I suspect because the IV is in-correct and not known.

"AI" says that ffmpeg can handle that by just skipping the first few bytes and then all is OK.
Not sure if this is accurate or not

Anyway - it would be cool if IA could handle it too :)

Here is the sub manifest.
So this originally was pointing to -TEN-3000000.key but then replaced with -TEN-5000000.key
As well as all the .ts files
sub-out.m3u8.txt
Note: ffmpeg seems to be able to play it even with IV not present at all as well

Here is the .key and the first two segments:
0L-AUSsurvivor-SURV12_001_20260223-TEN-5000000-2.ts.txt
0L-AUSsurvivor-SURV12_001_20260223-TEN-5000000-1.ts.txt
0L-AUSsurvivor-SURV12_001_20260223-TEN-5000000.key.txt

When inputstream adaptive tries to play - it just hangs loading forever and error on every segment.
Log attached
ia.log.txt

For now, I've told Kodi to just ignore IA and always playback with ffmpeg

Motivation

playing back more content

Are you willing to contribute in development?

No

Should a possible backport be considered?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Featurenon-breaking change which adds functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions