Skip to content

DVB subtitles do not appear if hardware decoding option is disabled

I'm using mobileVLCKit 3.0.0a42 from cocoa pods.

If we have hardware decoder disabled (using avcodecs,all option), DVB subtitles aren't displayed.

Here's the log:

TvhClient[1071:421666] VLC media player - 3.0.0-git Vetinari
TvhClient[1071:421666] Copyright © 1996-2017 the VideoLAN team
TvhClient[1071:421666] revision 2.2.0-git-14723-g69b439f611
TvhClient[1071:421666] configured with /Users/caro/Documents/Projects/VLCKitClean/libvlc/vlc/configure  '--prefix=/Users/caro/Documents/Projects/VLCKitClean/libvlc/vlc/install-iPhoneOS/arm64' '--host=aarch64-apple-darwin14' '--with-contrib=/Users/caro/Documets/Projects/VLCKitClean/libvlc/vlc/contrib/iPhone-aarch64-apple-darwin14-aarch64' '--enable-static' '--enable-dvbpsi' '--enable-avcodec' '--disable-vpx' '--disable-macosx' '--disable-macosx-qtkit' '--disable-macosx-avfoundation' '--disable-shared' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-httpd' '--disable-nls' '--disable-sse' '--disable-notify' '--enable-live555' '--enable-realrtsp' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--disable-mmx' '--disable-addonmanagermodules' '--disable-mad' 'host_alias=aarch64-apple-darwin14' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0 -DNDEBUG' 'LDFLAGS=-arch arm64 -Wl,-ios_version_min,7.0' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-O3 -g' 'CCAS=gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
 TvhClient[1071:421666] restart requested (1)
 TvhClient[1071:422101] Creating an input for '409d6444b3600022c7661bf7d60269b2'
 TvhClient[1071:422103] using timeshift granularity of 50 MiB
 TvhClient[1071:422103] using default timeshift path
 TvhClient[1071:422103] `http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' gives access `http' demux `any' path `192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2'
 TvhClient[1071:422103] creating demux: access='http' demux='any' location='192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' file='(null)'
 TvhClient[1071:422103] looking for access_demux module matching "http": 3 candidates
 TvhClient[1071:422103] no access_demux modules matched
 TvhClient[1071:422103] creating access: http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2
 TvhClient[1071:422103] looking for access module matching "http": 18 candidates
 TvhClient[1071:422103] resolving 192.168.2.54 ...
 TvhClient[1071:422103] outgoing request:
GET /stream/channel/409d6444b3600022c7661bf7d60269b2 HTTP/1.1

Host: 192.168.2.54:9981

Accept: */*

Accept-Language: en_US

User-Agent: TvhClient/786 LibVLC/3.0.0-git

Range: bytes=0-
2017-10-19 20:25:13.349553+0100 TvhClient[1071:422103] incoming response:
HTTP/1.1 200 OK

Server: HTS/tvheadend

Cache-Control: no-cache

Connection: Close

Content-Type: video/mp2t
 TvhClient[1071:422103] using access module "access"
 TvhClient[1071:422103] looking for stream_filter module matching "prefetch,cache_block": 25 candidates
 TvhClient[1071:422103] using 16777216 bytes buffer, 16384 bytes read
 TvhClient[1071:422103] using stream_filter module "prefetch"
 TvhClient[1071:422103] looking for stream_filter module matching "any": 25 candidates
 TvhClient[1071:422103] no stream_filter modules matched
 TvhClient[1071:422103] looking for stream_directory module matching "any": 1 candidates
 TvhClient[1071:422103] no stream_directory modules matched
 TvhClient[1071:422103] attachment of directory-extractor failed for http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2
 TvhClient[1071:422103] looking for stream_filter module matching "record": 25 candidates
 TvhClient[1071:422103] using stream_filter module "record"
 TvhClient[1071:422103] creating demux: access='http' demux='ts' location='192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' file='(null)'
 TvhClient[1071:422103] looking for demux module matching "ts": 45 candidates
 TvhClient[1071:422103] Standard set to Auto
 TvhClient[1071:422103] using demux module "ts"
 TvhClient[1071:422103] DEMUX_SET_GROUP 0 0x0
 TvhClient[1071:422103] looking for meta reader module matching "any": 1 candidates
 TvhClient[1071:422103] no meta reader modules matched
 TvhClient[1071:422103] `http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' successfully opened
 TvhClient[1071:422103] pid[18] unknown
 TvhClient[1071:422103] first packet for pid=18 cc=0x6
 TvhClient[1071:422103] pid[101] unknown
 TvhClient[1071:422103] first packet for pid=101 cc=0xc
 TvhClient[1071:422103] pid[102] unknown
 TvhClient[1071:422103] first packet for pid=102 cc=0x7
 TvhClient[1071:422103] pid[100] unknown
 TvhClient[1071:422103] PATCallBack called
 TvhClient[1071:422103] new PAT ts_id=4164 version=8 current_next=1
 TvhClient[1071:422103]   * number=4164 pid=100
 TvhClient[1071:422103] temporary receiving program 4164
 TvhClient[1071:422103] first packet for pid=100 cc=0x1
 TvhClient[1071:422103] PMTCallBack called for program 4164
 TvhClient[1071:422103] new PMT program number=4164 version=0 pid_pcr=101
 TvhClient[1071:422103]   * pid=101 type=0x2 ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream
 TvhClient[1071:422103]    => pid 101 has now es fcc=mpgv
 TvhClient[1071:422103] selecting program id=4164
 TvhClient[1071:422103] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:422103] using packetizer module "mpegvideo"
 TvhClient[1071:422103] looking for video decoder module matching "avcodec,all": 7 candidates
 TvhClient[1071:422103] using ffmpeg Lavc57.100.104
 TvhClient[1071:422103] option quiet does not exist
 TvhClient[1071:422103] CPU flags: 0x00000068
 TvhClient[1071:421666] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: TvhClient)
 TvhClient[1071:422103] allowing 3 thread(s) for decoding
 TvhClient[1071:422103] codec (mpeg2video) started
 TvhClient[1071:422103] using video decoder module "avcodec"
 TvhClient[1071:422103] Default program is 4164
 TvhClient[1071:422103]   * pid=102 type=0x4 ISO/IEC 13818-3 Audio
 TvhClient[1071:422103]     - ES descriptor tag 0xa
 TvhClient[1071:422103]       found language: eng
 TvhClient[1071:422103]    => pid 102 has now es fcc=mpga
 TvhClient[1071:422103] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:422103] using packetizer module "mpegaudio"
 TvhClient[1071:422103] looking for audio decoder module matching "avcodec,all": 12 candidates
 TvhClient[1071:422103] using ffmpeg Lavc57.100.104
 TvhClient[1071:422103] option quiet does not exist
 TvhClient[1071:422103] CPU flags: 0x00000068
 TvhClient[1071:422103] codec (mp2) started
 TvhClient[1071:422103] using audio decoder module "avcodec"
 TvhClient[1071:422103]   * pid=106 type=0x4 ISO/IEC 13818-3 Audio
 TvhClient[1071:422103]     - ES descriptor tag 0xa
 TvhClient[1071:422103]       found language: eng
 TvhClient[1071:422103]    => pid 106 has now es fcc=mpga
 TvhClient[1071:422103]   * pid=105 type=0x6 ISO/IEC 13818-1 PES packets containing private data
 TvhClient[1071:422103]     - ES descriptor tag 0x59
 TvhClient[1071:422103]    => pid 105 has now es fcc=dvbs
 TvhClient[1071:422103]   * pid=17 listening for SDT
 TvhClient[1071:422103] enabling pid 101 from program 4164
 TvhClient[1071:422103] enabling pid 102 from program 4164
 TvhClient[1071:422103] enabling pid 106 from program 4164
 TvhClient[1071:422103] enabling pid 105 from program 4164
 TvhClient[1071:422103] enabling pcr pid 101 from program 4164
 TvhClient[1071:422103] first packet for pid=101 cc=0xb
 TvhClient[1071:422103] first packet for pid=102 cc=0xc
 TvhClient[1071:422103] Buffering 0%
 TvhClient[1071:422103] Stream buffering done (34 ms in 0 ms)
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422103] Decoder wait done in 0 ms
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422158] waiting for sequence start
 TvhClient[1071:422159] MPGA channels:2 samplerate:48000 bitrate:256
 TvhClient[1071:422159] restarting module due to input format change
 TvhClient[1071:422159] removing module "avcodec"
 TvhClient[1071:422159] looking for audio decoder module matching "avcodec,all": 12 candidates
 TvhClient[1071:422159] using ffmpeg Lavc57.100.104
 TvhClient[1071:422159] option quiet does not exist
 TvhClient[1071:422159] CPU flags: 0x00000068
 TvhClient[1071:422159] codec (mp2) started
 TvhClient[1071:422159] using audio decoder module "avcodec"
 TvhClient[1071:422159] reusing audio output
 TvhClient[1071:422159] VLC is looking for: 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
 TvhClient[1071:422159] Output on Default, channel count: 2
 TvhClient[1071:422103] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 0 ms)
 TvhClient[1071:422103] ES_OUT_RESET_PCR called
 TvhClient[1071:422103] Buffering 0%
 TvhClient[1071:422103] Stream buffering done (35 ms in 0 ms)
 TvhClient[1071:422158] size 704x576/704x576 fps=25.000
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422159] not output layout, default to Stereo
 TvhClient[1071:422159] selected 2 physical channels for device output
 TvhClient[1071:422159] VLC will output: Stereo
 TvhClient[1071:422159] Current AU format: [48000.000000][mcpl][9][8][1][8][2][32]
 TvhClient[1071:422159] Current device has a latency of 10520 us
 TvhClient[1071:422159] analog AudioUnit output successfully opened for f32l Stereo
 TvhClient[1071:422159] output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
 TvhClient[1071:422159] looking for audio volume module matching "any": 2 candidates
 TvhClient[1071:422159] using audio volume module "float_mixer"
 TvhClient[1071:422159] input 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
 TvhClient[1071:422159] looking for audio filter module matching "scaletempo": 13 candidates
 TvhClient[1071:422159] format: 48000 rate, 2 nch, 4 bps, fl32
 TvhClient[1071:422159] params: 30 stride, 0.200 overlap, 14 search
 TvhClient[1071:422159] 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
 TvhClient[1071:422159] using audio filter module "scaletempo"
 TvhClient[1071:422159] conversion: 's16l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:422159] looking for audio converter module matching "any": 6 candidates
 TvhClient[1071:422159] s16l->f32l, bits per sample: 16->32
 TvhClient[1071:422159] using audio converter module "audio_format"
 TvhClient[1071:422159] conversion pipeline complete
 TvhClient[1071:422159] looking for audio filter module matching "equalizer": 13 candidates
 TvhClient[1071:422159] equalizer loaded for 48000 Hz with 10 bands 1 pass
 TvhClient[1071:422159]    31.25 Hz -> factor:0.000000 alpha:0.001444 beta:0.997112 gamma:1.997095
 TvhClient[1071:422159]    62.50 Hz -> factor:0.000000 alpha:0.002884 beta:0.994232 gamma:1.994165
 TvhClient[1071:422159]    125.00 Hz -> factor:0.000000 alpha:0.005752 beta:0.988497 gamma:1.988230
 TvhClient[1071:422159]    250.00 Hz -> factor:0.000000 alpha:0.011437 beta:0.977126 gamma:1.976067
 TvhClient[1071:422159]    500.00 Hz -> factor:0.000000 alpha:0.022613 beta:0.954775 gamma:1.950589
 TvhClient[1071:422159]    1000.00 Hz -> factor:0.000000 alpha:0.044203 beta:0.911595 gamma:1.895241
 TvhClient[1071:422159]    2000.00 Hz -> factor:0.000000 alpha:0.084497 beta:0.831006 gamma:1.768616
 TvhClient[1071:422159]    4000.00 Hz -> factor:0.000000 alpha:0.154688 beta:0.690623 gamma:1.464123
 TvhClient[1071:422159]    8000.00 Hz -> factor:0.000000 alpha:0.260898 beta:0.478204 gamma:0.739102
 TvhClient[1071:422159]    16000.00 Hz -> factor:0.000000 alpha:0.371900 beta:0.256201 gamma:-0.628101
 TvhClient[1071:422159] using audio filter module "equalizer"
 TvhClient[1071:422159] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:422159] conversion pipeline complete
 TvhClient[1071:422159] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:422159] conversion pipeline complete
 TvhClient[1071:422159] looking for audio resampler module matching "any": 1 candidates
 TvhClient[1071:422159] using audio resampler module "ugly"
 TvhClient[1071:422103] Decoder wait done in 151 ms
 TvhClient[1071:422159] buffer too late (-201287 us): dropped
 TvhClient[1071:422159] buffer too late (-177396 us): dropped
 TvhClient[1071:422159] buffer too late (-153522 us): dropped
 TvhClient[1071:422159] buffer too late (-129599 us): dropped
 TvhClient[1071:422159] buffer too late (-97412 us): dropped
 TvhClient[1071:422159] buffer too late (-73577 us): dropped
 TvhClient[1071:422159] playback too late (60469): flushing buffers
 TvhClient[1071:422159] playback too late (81037): up-sampling
 TvhClient[1071:422159] underrun of 16384 bytes
 TvhClient[1071:422158] restarting module due to input format change
 TvhClient[1071:422158] removing module "avcodec"
 TvhClient[1071:422158] looking for video decoder module matching "avcodec,all": 7 candidates
 TvhClient[1071:422158] using ffmpeg Lavc57.100.104
 TvhClient[1071:422158] option quiet does not exist
 TvhClient[1071:422158] CPU flags: 0x00000068
 TvhClient[1071:422158] allowing 3 thread(s) for decoding
 TvhClient[1071:422158] codec (mpeg2video) started
 TvhClient[1071:422158] using video decoder module "avcodec"
 TvhClient[1071:422158] available software decoder output format 0 (yuv420p)
 TvhClient[1071:422158] looking for text renderer module matching "freetype": 1 candidates
 TvhClient[1071:422159] buffer too late (-93151 us): dropped
 TvhClient[1071:422159] buffer too late (-69286 us): dropped
 TvhClient[1071:422159] playback too late (56033): flushing buffers
 TvhClient[1071:422159] playback too late (76519): up-sampling
 TvhClient[1071:422159] underrun of 14344 bytes
 TvhClient[1071:422158] using text renderer module "freetype"
 TvhClient[1071:422158] looking for video converter module matching "any": 15 candidates
 TvhClient[1071:422158] 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
 TvhClient[1071:422158] using video converter module "swscale"
 TvhClient[1071:422158] looking for video converter module matching "any": 15 candidates
 TvhClient[1071:422158] YUVP to YUVA converter
 TvhClient[1071:422158] using video converter module "yuvp"
 TvhClient[1071:422158] Deinterlacing available
 TvhClient[1071:422158] deinterlace 0, mode auto, is_needed 0
 TvhClient[1071:422158] looking for vout window module matching "any": 0 candidates
 TvhClient[1071:422158] no vout window modules
 TvhClient[1071:422201] Opening vout display wrapper
 TvhClient[1071:422201] looking for vout display module matching "any": 4 candidates
 TvhClient[1071:421666] Metal GPU Frame Capture Enabled
 TvhClient[1071:421666] Metal API Validation Enabled
 TvhClient[1071:422159] playback way too late (180441): flushing buffers
 TvhClient[1071:422159] playback too late (75094): up-sampling
 TvhClient[1071:422159] underrun of 16384 bytes
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 320x240
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 375x667
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 375x667
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:422201] using vout display module "ios"
 TvhClient[1071:422201] original format sz 704x576, of (0,0), vsz 704x576, 4cc I420, sar 16:11, msk r0x0 g0x0 b0x0
 TvhClient[1071:422158] removing module "freetype"
 TvhClient[1071:422158] looking for text renderer module matching "freetype": 1 candidates
 TvhClient[1071:422201] VoutDisplayEvent 'resize' 1024x576
 TvhClient[1071:422158] using text renderer module "freetype"
 TvhClient[1071:422201] Detected interlaced video
 TvhClient[1071:422201] deinterlace 0, mode auto, is_needed 1
 TvhClient[1071:422201] picture might be displayed late (missing 12 ms)
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:422201] auto hiding mouse cursor
 TvhClient[1071:422103] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:422103] using packetizer module "copy"
 TvhClient[1071:422103] looking for spu decoder module matching "avcodec,all": 17 candidates
 TvhClient[1071:422103] using ffmpeg Lavc57.100.104
 TvhClient[1071:422103] option quiet does not exist
 TvhClient[1071:422103] CPU flags: 0x00000068
 TvhClient[1071:422103] libavcodec codec (dvbsub) started
 TvhClient[1071:422103] using spu decoder module "avcodec"
 TvhClient[1071:422103] DEMUX_SET_ES 105
 TvhClient[1071:422103] enabling pid 101 from program 4164
 TvhClient[1071:422103] enabling pid 102 from program 4164
 TvhClient[1071:422103] enabling pid 106 from program 4164
 TvhClient[1071:422103] enabling pid 105 from program 4164
 TvhClient[1071:422103] enabling pcr pid 101 from program 4164
 TvhClient[1071:422159] buffer too late (-85016 us): dropped
 TvhClient[1071:422159] buffer too late (-61544 us): dropped
 TvhClient[1071:422159] playback too late (49968): flushing buffers
 TvhClient[1071:422159] underrun of 16256 bytes
 TvhClient[1071:422103] first packet for pid=105 cc=0x1
 TvhClient[1071:422103] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 25 ms)
 TvhClient[1071:422103] ES_OUT_RESET_PCR called
 TvhClient[1071:422103] Buffering 0%
 TvhClient[1071:422103] Stream buffering done (34 ms in 90 ms)
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422103] Decoder wait done in 0 ms
 TvhClient[1071:422159] playback too late (61859): up-sampling
 TvhClient[1071:422159] underrun of 62504 bytes
 TvhClient[1071:422159] buffer too late (-68417 us): dropped
 TvhClient[1071:422159] playback too late (55308): flushing buffers
 TvhClient[1071:422159] playback too late (70503): up-sampling
 TvhClient[1071:422159] underrun of 20504 bytes
 TvhClient[1071:422103] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 32 ms)
 TvhClient[1071:422103] ES_OUT_RESET_PCR called
 TvhClient[1071:422103] Buffering 0%
 TvhClient[1071:422103] Stream buffering done (35 ms in 48 ms)
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422103] buffer deadlock prevented
 TvhClient[1071:422103] Decoder wait done in 0 ms
 TvhClient[1071:422159] underrun of 40960 bytes
 TvhClient[1071:422159] resampling stopped (drift: 5709 us)
 TvhClient[1071:422159] underrun of 20512 bytes
 TvhClient[1071:422227] cannot decode one subtitle (5531 bytes)
 TvhClient[1071:422159] playback too late (65636): up-sampling
 TvhClient[1071:422227] cannot decode one subtitle (6197 bytes)
 TvhClient[1071:422227] cannot decode one subtitle (3305 bytes)
 TvhClient[1071:422227] cannot decode one subtitle (2243 bytes)
 TvhClient[1071:422159] resampling stopped (drift: -2123 us)
 TvhClient[1071:422227] cannot decode one subtitle (5489 bytes)
 TvhClient[1071:422159] toggling resume
 TvhClient[1071:422227] toggling resume
 TvhClient[1071:422158] toggling resume
 TvhClient[1071:422103] killing decoder fourcc `mpgv'
 TvhClient[1071:422103] removing module "avcodec"
 TvhClient[1071:422103] saving a free vout
 TvhClient[1071:422103] reusing provided vout
 TvhClient[1071:422103] removing module "mpegvideo"
 TvhClient[1071:422104] pausing
 TvhClient[1071:422103] killing decoder fourcc `mpga'
 TvhClient[1071:422103] removing module "avcodec"
 TvhClient[1071:422103] removing module "ugly"
 TvhClient[1071:422103] removing module "audio_format"
 TvhClient[1071:422103] removing module "scaletempo"
 TvhClient[1071:422103] removing module "equalizer"
 TvhClient[1071:422103] removing module "float_mixer"
 TvhClient[1071:422103] keeping audio output
 TvhClient[1071:422103] removing module "mpegaudio"
 TvhClient[1071:422103] killing decoder fourcc `dvbs'
 TvhClient[1071:422103] removing module "avcodec"
 TvhClient[1071:422103] removing module "copy"
 TvhClient[1071:422103] removing module "ts"
 TvhClient[1071:422103] Program doesn't contain anymore ES
 TvhClient[1071:422103] removing module "record"
 TvhClient[1071:422103] removing module "prefetch"
 TvhClient[1071:422103] removing module "access"
 TvhClient[1071:422316] removing module "audiounit_ios"
 TvhClient[1071:422316] destroying useless vout
 TvhClient[1071:422201] removing module "ios"
 TvhClient[1071:422201] deleting display
 TvhClient[1071:422316] removing module "freetype"
 TvhClient[1071:422316] removing module "yuvp"
 TvhClient[1071:422316] removing module "swscale"

specifically these lines:

 TvhClient[1071:422227] cannot decode one subtitle (5531 bytes)
 TvhClient[1071:422159] playback too late (65636): up-sampling
 TvhClient[1071:422227] cannot decode one subtitle (6197 bytes)
 TvhClient[1071:422227] cannot decode one subtitle (3305 bytes)
 TvhClient[1071:422227] cannot decode one subtitle (2243 bytes)
 TvhClient[1071:422159] resampling stopped (drift: -2123 us)
 TvhClient[1071:422227] cannot decode one subtitle (5489 bytes)

However, enable hardware decoding (empty string) and subtitles work perfectly fine. Here's the log:

 option marq-color does not exist
 option marq-opacity does not exist
 option marq-position does not exist
 option marq-refresh does not exist
 option marq-size does not exist
 option marq-timeout does not exist
 option marq-x does not exist
 option marq-y does not exist
 creating audio output
 looking for audio output module matching "any": 3 candidates
 using audio output module "audiounit_ios"
 keeping audio output
 VLC media player - 3.0.0-git Vetinari
 Copyright © 1996-2017 the VideoLAN team
 revision 2.2.0-git-14723-g69b439f611
 configured with /Users/caro/Documents/Projects/VLCKitClean/libvlc/vlc/configure  '--prefix=/Users/caro/Documents/Projects/VLCKitClean/libvlc/vlc/install-iPhoneOS/arm64' '--host=aarch64-apple-darwin14' '--with-contrib=/Users/caro/Documents/Projects/VLCKitClean/libvlc/vlc/contrib/iPhone-aarch64-apple-darwin14-aarch64' '--enable-static' '--enable-dvbpsi' '--enable-avcodec' '--disable-vpx' '--disable-macosx' '--disable-macosx-qtkit' '--disable-macosx-avfoundation' '--disable-shared' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-httpd' '--disable-nls' '--disable-sse' '--disable-notify' '--enable-live555' '--enable-realrtsp' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--disable-mmx' '--disable-addonmanagermodules' '--disable-mad' 'host_alias=aarch64-apple-darwin14' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0 -DNDEBUG' 'LDFLAGS=-arch arm64 -Wl,-ios_version_min,7.0' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -arch arm64 -O3 -g -miphoneos-version-min=7.0' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-O3 -g' 'CCAS=gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
 restart requested (1)
 Creating an input for '409d6444b3600022c7661bf7d60269b2'
 using timeshift granularity of 50 MiB
 using default timeshift path
 `http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' gives access `http' demux `any' path `192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2'
 creating demux: access='http' demux='any' location='192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' file='(null)'
 looking for access_demux module matching "http": 3 candidates
 no access_demux modules matched
 creating access: http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2
 looking for access module matching "http": 18 candidates
 resolving 192.168.2.54 ...
 outgoing request:
GET /stream/channel/409d6444b3600022c7661bf7d60269b2 HTTP/1.1

Host: 192.168.2.54:9981

Accept: */*

Accept-Language: en_US

User-Agent: TvhClient/786 LibVLC/3.0.0-git

Range: bytes=0-
2017-10-19 20:36:55.073865+0100 TvhClient[1071:427474] incoming response:
HTTP/1.1 200 OK

Server: HTS/tvheadend

Cache-Control: no-cache

Connection: Close

Content-Type: video/mp2t
 TvhClient[1071:427474] using access module "access"
 TvhClient[1071:427474] looking for stream_filter module matching "prefetch,cache_block": 25 candidates
 TvhClient[1071:427474] using 16777216 bytes buffer, 16384 bytes read
 TvhClient[1071:427474] using stream_filter module "prefetch"
 TvhClient[1071:427474] looking for stream_filter module matching "any": 25 candidates
 TvhClient[1071:421666] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: TvhClient)
 TvhClient[1071:427474] no stream_filter modules matched
 TvhClient[1071:427474] looking for stream_directory module matching "any": 1 candidates
 TvhClient[1071:427474] no stream_directory modules matched
 TvhClient[1071:427474] attachment of directory-extractor failed for http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2
 TvhClient[1071:427474] looking for stream_filter module matching "record": 25 candidates
 TvhClient[1071:427474] using stream_filter module "record"
 TvhClient[1071:427474] creating demux: access='http' demux='ts' location='192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' file='(null)'
 TvhClient[1071:427474] looking for demux module matching "ts": 45 candidates
 TvhClient[1071:427474] Standard set to Auto
 TvhClient[1071:427474] using demux module "ts"
 TvhClient[1071:427474] DEMUX_SET_GROUP 0 0x0
 TvhClient[1071:427474] looking for meta reader module matching "any": 1 candidates
 TvhClient[1071:427474] no meta reader modules matched
 TvhClient[1071:427474] `http://192.168.2.54:9981/stream/channel/409d6444b3600022c7661bf7d60269b2' successfully opened
 TvhClient[1071:427474] pid[18] unknown
 TvhClient[1071:427474] first packet for pid=18 cc=0x2
 TvhClient[1071:427474] pid[101] unknown
 TvhClient[1071:427474] first packet for pid=101 cc=0x1
 TvhClient[1071:427474] pid[102] unknown
 TvhClient[1071:427474] first packet for pid=102 cc=0x6
 TvhClient[1071:427474] pid[100] unknown
 TvhClient[1071:427474] PATCallBack called
 TvhClient[1071:427474] new PAT ts_id=4164 version=8 current_next=1
 TvhClient[1071:427474]   * number=4164 pid=100
 TvhClient[1071:427474] temporary receiving program 4164
 TvhClient[1071:427474] pid[105] unknown
 TvhClient[1071:427474] first packet for pid=100 cc=0x1
 TvhClient[1071:427474] PMTCallBack called for program 4164
 TvhClient[1071:427474] new PMT program number=4164 version=0 pid_pcr=101
 TvhClient[1071:427474]   * pid=101 type=0x2 ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream
 TvhClient[1071:427474]    => pid 101 has now es fcc=mpgv
 TvhClient[1071:427474] selecting program id=4164
 TvhClient[1071:427474] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:427474] using packetizer module "mpegvideo"
 TvhClient[1071:427474] looking for video decoder module matching "any": 7 candidates
 TvhClient[1071:427474] using ffmpeg Lavc57.100.104
 TvhClient[1071:427474] option quiet does not exist
 TvhClient[1071:427474] CPU flags: 0x00000068
 TvhClient[1071:427474] allowing 3 thread(s) for decoding
 TvhClient[1071:427474] codec (mpeg2video) started
 TvhClient[1071:427474] using video decoder module "avcodec"
 TvhClient[1071:427474] Default program is 4164
 TvhClient[1071:427474]   * pid=102 type=0x4 ISO/IEC 13818-3 Audio
 TvhClient[1071:427474]     - ES descriptor tag 0xa
 TvhClient[1071:427474]       found language: eng
 TvhClient[1071:427474]    => pid 102 has now es fcc=mpga
 TvhClient[1071:427474] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:427474] using packetizer module "mpegaudio"
 TvhClient[1071:427474] looking for audio decoder module matching "any": 12 candidates
 TvhClient[1071:427474] mpga->f32l, bits per sample: 32
 TvhClient[1071:427474] using audio decoder module "mpg123"
 TvhClient[1071:427474]   * pid=106 type=0x4 ISO/IEC 13818-3 Audio
 TvhClient[1071:427474]     - ES descriptor tag 0xa
 TvhClient[1071:427474]       found language: eng
 TvhClient[1071:427474]    => pid 106 has now es fcc=mpga
 TvhClient[1071:427474]   * pid=105 type=0x6 ISO/IEC 13818-1 PES packets containing private data
 TvhClient[1071:427474]     - ES descriptor tag 0x59
 TvhClient[1071:427474]    => pid 105 has now es fcc=dvbs
 TvhClient[1071:427474]   * pid=17 listening for SDT
 TvhClient[1071:427474] enabling pid 101 from program 4164
 TvhClient[1071:427474] enabling pid 102 from program 4164
 TvhClient[1071:427474] enabling pid 106 from program 4164
 TvhClient[1071:427474] enabling pid 105 from program 4164
 TvhClient[1071:427474] enabling pcr pid 101 from program 4164
 TvhClient[1071:427474] first packet for pid=101 cc=0x8
 TvhClient[1071:427474] first packet for pid=102 cc=0xf
 TvhClient[1071:427474] Buffering 0%
 TvhClient[1071:427474] Stream buffering done (34 ms in 5 ms)
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] Decoder wait done in 0 ms
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] MPGA channels:2 samplerate:48000 bitrate:256
 TvhClient[1071:427562] restarting module due to input format change
 TvhClient[1071:427562] removing module "mpg123"
 TvhClient[1071:427562] looking for audio decoder module matching "any": 12 candidates
 TvhClient[1071:427562] mpga->f32l, bits per sample: 32
 TvhClient[1071:427562] using audio decoder module "mpg123"
 TvhClient[1071:427562] reusing audio output
 TvhClient[1071:427562] VLC is looking for: 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
 TvhClient[1071:427562] Output on Default, channel count: 2
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] not output layout, default to Stereo
 TvhClient[1071:427562] selected 2 physical channels for device output
 TvhClient[1071:427562] VLC will output: Stereo
 TvhClient[1071:427562] Current AU format: [48000.000000][mcpl][9][8][1][8][2][32]
 TvhClient[1071:427562] Current device has a latency of 10520 us
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] analog AudioUnit output successfully opened for f32l Stereo
 TvhClient[1071:427562] output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
 TvhClient[1071:427562] looking for audio volume module matching "any": 2 candidates
 TvhClient[1071:427562] using audio volume module "float_mixer"
 TvhClient[1071:427562] input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
 TvhClient[1071:427562] looking for audio filter module matching "scaletempo": 13 candidates
 TvhClient[1071:427562] format: 48000 rate, 2 nch, 4 bps, fl32
 TvhClient[1071:427562] params: 30 stride, 0.200 overlap, 14 search
 TvhClient[1071:427562] 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
 TvhClient[1071:427562] using audio filter module "scaletempo"
 TvhClient[1071:427562] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:427562] conversion pipeline complete
 TvhClient[1071:427562] looking for audio filter module matching "equalizer": 13 candidates
 TvhClient[1071:427562] equalizer loaded for 48000 Hz with 10 bands 1 pass
 TvhClient[1071:427562]    31.25 Hz -> factor:0.000000 alpha:0.001444 beta:0.997112 gamma:1.997095
 TvhClient[1071:427562]    62.50 Hz -> factor:0.000000 alpha:0.002884 beta:0.994232 gamma:1.994165
 TvhClient[1071:427562]    125.00 Hz -> factor:0.000000 alpha:0.005752 beta:0.988497 gamma:1.988230
 TvhClient[1071:427562]    250.00 Hz -> factor:0.000000 alpha:0.011437 beta:0.977126 gamma:1.976067
 TvhClient[1071:427562]    500.00 Hz -> factor:0.000000 alpha:0.022613 beta:0.954775 gamma:1.950589
 TvhClient[1071:427562]    1000.00 Hz -> factor:0.000000 alpha:0.044203 beta:0.911595 gamma:1.895241
 TvhClient[1071:427562]    2000.00 Hz -> factor:0.000000 alpha:0.084497 beta:0.831006 gamma:1.768616
 TvhClient[1071:427562]    4000.00 Hz -> factor:0.000000 alpha:0.154688 beta:0.690623 gamma:1.464123
 TvhClient[1071:427562]    8000.00 Hz -> factor:0.000000 alpha:0.260898 beta:0.478204 gamma:0.739102
 TvhClient[1071:427562]    16000.00 Hz -> factor:0.000000 alpha:0.371900 beta:0.256201 gamma:-0.628101
 TvhClient[1071:427562] using audio filter module "equalizer"
 TvhClient[1071:427562] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:427562] conversion pipeline complete
 TvhClient[1071:427562] conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
 TvhClient[1071:427562] conversion pipeline complete
 TvhClient[1071:427562] looking for audio resampler module matching "any": 1 candidates
 TvhClient[1071:427562] using audio resampler module "ugly"
 TvhClient[1071:427562] buffer too late (-200884 us): dropped
 TvhClient[1071:427562] buffer too late (-179872 us): dropped
 TvhClient[1071:427562] buffer too late (-155997 us): dropped
 TvhClient[1071:427562] buffer too late (-132063 us): dropped
 TvhClient[1071:427562] buffer too late (-108301 us): dropped
 TvhClient[1071:427562] buffer too late (-84506 us): dropped
 TvhClient[1071:427562] buffer too late (-60656 us): dropped
 TvhClient[1071:427562] playback too late (47431): flushing buffers
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] underrun of 8192 bytes
 TvhClient[1071:427562] playback too late (72597): up-sampling
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] buffer too late (-68835 us): dropped
 TvhClient[1071:427562] playback too late (55989): flushing buffers
 TvhClient[1071:427562] underrun of 10272 bytes
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] playback too late (74399): up-sampling
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427562] buffer too late (-61998 us): dropped
 TvhClient[1071:427562] playback too late (51535): flushing buffers
 TvhClient[1071:427562] playback too late (61967): up-sampling
 TvhClient[1071:427562] underrun of 8192 bytes
 TvhClient[1071:427560] waiting for sequence start
 TvhClient[1071:427560] size 704x576/704x576 fps=25.000
 TvhClient[1071:427560] restarting module due to input format change
 TvhClient[1071:427560] removing module "avcodec"
 TvhClient[1071:427560] looking for video decoder module matching "any": 7 candidates
 TvhClient[1071:427560] using ffmpeg Lavc57.100.104
 TvhClient[1071:427560] option quiet does not exist
 TvhClient[1071:427560] CPU flags: 0x00000068
 TvhClient[1071:427560] allowing 3 thread(s) for decoding
 TvhClient[1071:427560] codec (mpeg2video) started
 TvhClient[1071:427560] using video decoder module "avcodec"
 TvhClient[1071:427560] available software decoder output format 0 (yuv420p)
 TvhClient[1071:427560] looking for text renderer module matching "freetype": 1 candidates
 TvhClient[1071:427560] using text renderer module "freetype"
 TvhClient[1071:427560] looking for video converter module matching "any": 15 candidates
 TvhClient[1071:427560] 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
 TvhClient[1071:427560] using video converter module "swscale"
 TvhClient[1071:427560] looking for video converter module matching "any": 15 candidates
 TvhClient[1071:427560] YUVP to YUVA converter
 TvhClient[1071:427560] using video converter module "yuvp"
 TvhClient[1071:427560] Deinterlacing available
 TvhClient[1071:427560] deinterlace 0, mode auto, is_needed 0
 TvhClient[1071:427560] looking for vout window module matching "any": 0 candidates
 TvhClient[1071:427560] no vout window modules
 TvhClient[1071:427585] Opening vout display wrapper
 TvhClient[1071:427585] looking for vout display module matching "any": 4 candidates
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 320x240
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 375x667
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 375x667
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:427585] using vout display module "ios"
 TvhClient[1071:427585] original format sz 704x576, of (0,0), vsz 704x576, 4cc I420, sar 16:11, msk r0x0 g0x0 b0x0
 TvhClient[1071:427560] removing module "freetype"
 TvhClient[1071:427560] looking for text renderer module matching "freetype": 1 candidates
 TvhClient[1071:427585] VoutDisplayEvent 'resize' 1024x576
 TvhClient[1071:427560] using text renderer module "freetype"
 TvhClient[1071:427562] underrun of 2160 bytes
 TvhClient[1071:427585] Detected interlaced video
 TvhClient[1071:427585] deinterlace 0, mode auto, is_needed 1
 TvhClient[1071:427474] first packet for pid=105 cc=0x6
 TvhClient[1071:421666] VoutDisplayEvent 'resize' 750x1334
 TvhClient[1071:427585] auto hiding mouse cursor
 TvhClient[1071:427562] buffer too late (-66956 us): dropped
 TvhClient[1071:427562] playback too late (54167): flushing buffers
 TvhClient[1071:427562] playback too late (75608): up-sampling
 TvhClient[1071:427562] underrun of 17064 bytes
 TvhClient[1071:427562] buffer too late (-60264 us): dropped
 TvhClient[1071:427562] playback too late (71479): flushing buffers
 TvhClient[1071:427562] underrun of 8192 bytes
 TvhClient[1071:427474] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 0 ms)
 TvhClient[1071:427474] ES_OUT_RESET_PCR called
 TvhClient[1071:427474] Buffering 0%
 TvhClient[1071:427474] Stream buffering done (35 ms in 48 ms)
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] Decoder wait done in 13 ms
 TvhClient[1071:427562] underrun of 28680 bytes
 TvhClient[1071:427474] looking for packetizer module matching "any": 24 candidates
 TvhClient[1071:427474] using packetizer module "copy"
 TvhClient[1071:427474] looking for spu decoder module matching "any": 17 candidates
 TvhClient[1071:427474] using spu decoder module "dvbsub"
 TvhClient[1071:427474] DEMUX_SET_ES 105
 TvhClient[1071:427474] enabling pid 101 from program 4164
 TvhClient[1071:427474] enabling pid 102 from program 4164
 TvhClient[1071:427474] enabling pid 106 from program 4164
 TvhClient[1071:427474] enabling pid 105 from program 4164
 TvhClient[1071:427474] enabling pcr pid 101 from program 4164
 TvhClient[1071:427562] underrun of 5120 bytes
 TvhClient[1071:427562] underrun of 3072 bytes
 TvhClient[1071:427562] buffer too late (-60284 us): dropped
 TvhClient[1071:427562] playback too late (47357): flushing buffers
 TvhClient[1071:427562] underrun of 11264 bytes
 TvhClient[1071:427562] buffer too late (-61027 us): dropped
 TvhClient[1071:427562] playback too late (48805): flushing buffers
 TvhClient[1071:427562] playback too late (63247): up-sampling
 TvhClient[1071:427562] underrun of 12288 bytes
 TvhClient[1071:427562] buffer too late (-79463 us): dropped
 TvhClient[1071:427562] playback too late (66906): flushing buffers
 TvhClient[1071:427562] playback too late (80541): up-sampling
 TvhClient[1071:427562] underrun of 15424 bytes
 TvhClient[1071:427474] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 9 ms)
 TvhClient[1071:427474] ES_OUT_RESET_PCR called
 TvhClient[1071:427474] Buffering 0%
 TvhClient[1071:427474] Stream buffering done (35 ms in 46 ms)
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] Decoder wait done in 0 ms
 TvhClient[1071:427562] underrun of 49152 bytes
 TvhClient[1071:427562] underrun of 5144 bytes
 TvhClient[1071:427596] didn't receive an acquisition page yet
 TvhClient[1071:427562] underrun of 6464 bytes
 TvhClient[1071:427474] ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 13 ms)
 TvhClient[1071:427474] ES_OUT_RESET_PCR called
 TvhClient[1071:427474] Buffering 0%
 TvhClient[1071:427474] Stream buffering done (34 ms in 86 ms)
 TvhClient[1071:427474] buffer deadlock prevented
 TvhClient[1071:427474] Decoder wait done in 0 ms
 TvhClient[1071:427562] underrun of 60568 bytes
 TvhClient[1071:427562] underrun of 5216 bytes
 TvhClient[1071:427562] resampling stopped (drift: 24670 us)
 TvhClient[1071:427560] toggling resume
 TvhClient[1071:427562] toggling resume
 TvhClient[1071:427474] killing decoder fourcc `mpgv'
 TvhClient[1071:427474] removing module "avcodec"
 TvhClient[1071:427474] saving a free vout
 TvhClient[1071:427474] reusing provided vout
 TvhClient[1071:427474] removing module "mpegvideo"
 TvhClient[1071:427475] pausing
 TvhClient[1071:427474] killing decoder fourcc `mpga'
 TvhClient[1071:427474] removing module "mpg123"
 TvhClient[1071:427474] removing module "ugly"
 TvhClient[1071:427474] removing module "scaletempo"
 TvhClient[1071:427474] removing module "equalizer"
 TvhClient[1071:427474] removing module "float_mixer"
 TvhClient[1071:427474] keeping audio output
 TvhClient[1071:427474] removing module "mpegaudio"
 TvhClient[1071:427596] toggling resume
 TvhClient[1071:427474] killing decoder fourcc `dvbs'
 TvhClient[1071:427474] removing module "dvbsub"
 TvhClient[1071:427474] removing module "copy"
 TvhClient[1071:427474] removing module "ts"
 TvhClient[1071:427474] Program doesn't contain anymore ES
 TvhClient[1071:427474] removing module "record"
 TvhClient[1071:427474] removing module "prefetch"
 TvhClient[1071:427474] removing module "access"
 TvhClient[1071:427651] removing module "audiounit_ios"
 TvhClient[1071:427651] destroying useless vout
 TvhClient[1071:427585] removing module "ios"
 TvhClient[1071:427585] deleting display
 TvhClient[1071:427651] removing module "freetype"
 TvhClient[1071:427651] removing module "yuvp"
 TvhClient[1071:427651] removing module "swscale"

Do bear in mind that even though I selected "hardware decoding on", "avcodec" is still used because this is an mpeg2 stream (which means we don't have hardware decoding enabled?) - but the subtitles do work ok!

I've also tried this in the latest VLC on the app store (2.8.4) and it exhibits the same behaviour.

I'm using tvheadend to stream this TS stream, but I think I might be able to provide a small sample if you require it.

Edited by Luis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information