iPad codec issue

Have been watching a series on my Apple TV. Downloaded the remaining episodes to my iPad so that I could watch whilst travelling.
When I tried to play I got an error message on the pad that said that the codec was not supported for this type of media.
I checked the app to make sure it was up to date. I have an infuse pro account. The series works on my Apple TV so not sure why it wouldn’t on my iPad.
Thanks

Could you run one of the videos that aren’t playing through mediainfo and post the results here?

General
Complete name : True.Detective.S04E06.2160p.Dolby.Vision[Ben The Men].mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/dby1/iso2/mp41)
File size : 12.2 GiB
Duration : 1 h 15 min
Overall bit rate mode : Variable
Overall bit rate : 23.1 Mb/s
Frame rate : 23.976 FPS
Movie name : True.Detective.S04E06.2160p.Dolby.Vision[Ben The Men]
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Writing application : Lavf60.18.100

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@Main
HDR format : Dolby Vision, Version 1.0, Profile 5, dvhe.05.06, BL+RPU, no metadata compression
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 h 15 min
Bit rate : 21.5 Mb/s
Width : 3 840 pixels
Height : 1 920 pixels
Display aspect ratio : 2.000
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.810 FPS
Maximum frame rate : 24.390 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.121
Stream size : 11.3 GiB (93%)
Writing library : x265 3.5+1-f0c1022b6:[Linux][GCC 10.2.1][64 bit] 10bit
Encoding settings : cpuid=1176575 / frame-threads=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1920 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=0 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / no-eob / no-eos / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=96 / keyint=96 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=96 / lookahead-slices=8 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / selective-sao=0 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=21900 / vbv-bufsize=40000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=1 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Language : English
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Color range : Full
mdhd_Duration : 4521433
Codec configuration box : hvcC+dvcC

Audio #1
ID : 2
Format : E-AC-3 JOC
Format/Info : Enhanced AC-3 with Joint Object Coding
Commercial name : Dolby Digital Plus with Dolby Atmos
Codec ID : ec-3
Duration : 1 h 15 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 345 MiB (3%)
Title : BTM DDP5.1 Atmos
Language : English
Service kind : Complete Main
Default : Yes
Alternate group : 1
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Complexity index : Not present / 16
Number of dynamic objects : 15
Bed channel count : 1 channel
Bed channel configuration : LFE
Dialog Normalization : -29 dB
compr : -0.28 dB
dmixmod : Lo/Ro
ltrtcmixlev : -3.0 dB
ltrtsurmixlev : -3.0 dB
lorocmixlev : -3.0 dB
lorosurmixlev : -3.0 dB
dialnorm_Average : -29 dB
dialnorm_Minimum : -29 dB
dialnorm_Maximum : -29 dB

Audio #2
ID : 3
Format : E-AC-3
Format/Info : Enhanced AC-3
Commercial name : Dolby Digital Plus
Codec ID : ec-3
Duration : 1 h 15 min
Bit rate mode : Constant
Bit rate : 960 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 517 MiB (4%)
Title : BTM DDP5.1
Language : Spanish
Service kind : Complete Main
Default : No
Alternate group : 1
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Dialog Normalization : -31 dB
dialnorm_Average : -31 dB
dialnorm_Minimum : -31 dB
dialnorm_Maximum : -31 dB

Text #1
ID : 4
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1 h 15 min
Bit rate mode : Variable
Bit rate : 55 b/s
Frame rate : 0.432 FPS
Stream size : 30.3 KiB (0%)
Title : BTM
Language : English
Default : Yes
Forced : No
Alternate group : 3
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Count of events : 974

Text #2
ID : 5
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1 h 15 min
Bit rate mode : Variable
Bit rate : 52 b/s
Frame rate : 0.426 FPS
Stream size : 28.9 KiB (0%)
Title : BTM
Language : Spanish
Default : No
Forced : No
Alternate group : 3
Encoded date : 2024-02-21 08:13:39 UTC
Tagged date : 2024-02-21 08:13:39 UTC
Count of events : 962

Just to make sure we have all the bases covered, what model iPad (and model number) and what version number iPadOS, and finally, what version number of Infuse?

There could be a codec incompatibly issue so @james or one of the iPad users may be able to help narrow down the problem.

If you are able to post the iPad model that would be helpful. Some older devices will not be able to support Dolby Vision content.