Electra Player not decoding .ts files

I have a MediaStream/Player/VideoAsset/Material created following the Epic [documentation][1] and after resolving most of its constraints I am stuck with the logs below (shows my machine/OS info too). The m3u8 VOD playlist is comprised of .ts files that are h264/AAC encoded (as per Electra requirement) but the player seems unable to process them (can’t tell if it can’t decode or download). The player clearly is reading the playlist and the variant list but fails when trying to get the first segment. I think I have met all the requirements for the playlists as listed by Epic [here][2] (and my master playlist is pasted below). The m3u8 file is public (for now) and plays fine on every other player I have including a simple hls.js webpage and Safari. Details on Electra player are sparse so anyone have an idea how to get this to work?

LogElectraPlayer: [000001789D62D400] FElectraPlayer() created.
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] IMediaPlayer::Open(https://xxxxx/master.m3u8)
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Opening stream at "https:/xxxx/master.m3u8"
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Received master playlist from "https://xxxx/master.m3u8"
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Received initial stream playlists
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Found 1920 * 1080 video stream at bitrate 6740800
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Found 1280 * 720 video stream at bitrate 3440800
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Initial buffering starts
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Player switched video quality to 6740800 bps from 0 bps. 0 upswitches, 0 downswitches (0 drastic ones)
LogElectraPlayerPlugin: [000001789D61FCE0] IMediaControls::SetRate(1.000000)
LogElectraPlayer: Error: [000001789D62D400][00000178E974B5D0] MP4 parser: Invalid filler data size of 0x47401108 to read at offset 0x8 in box 0x0042f025 (size 0x47401110, offset 0x0, dataoffset 0x8)
LogElectraPlayer: Error: [000001789D62D400][00000178E974B5D0] HLS fmp4 reader: Failed to download segment "https://xxxx/variant0/file_000000.ts"
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Media segment download issue: retry:0, success:0, aborted:0, filler:0
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Player switched video quality to 3440800 bps from 6740800 bps. 0 upswitches, 1 downswitches (0 drastic ones)
LogElectraPlayer: Error: [000001789D62D400][00000178E974B5D0] MP4 parser: Invalid filler data size of 0x47401108 to read at offset 0x8 in box 0x0042f025 (size 0x47401110, offset 0x0, dataoffset 0x8)
LogElectraPlayer: Error: [000001789D62D400][00000178E974B5D0] HLS fmp4 reader: Failed to download segment "https://xxxx/variant1/file_000000.ts"
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Media segment download issue: retry:1, success:0, aborted:0, filler:0
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Media segment download issue: retry:2, success:1, aborted:0, filler:1
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Initial buffering ended after 2.720s
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Player starts prerolling to warm decoders and renderers
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Playback paused at play position 0.000
LogElectraPlayer: Error: [000001789D62D400][00000178E974B5D0] ReportError: "error=0 in Player: code 1, "All streams have failed. There is nothing to play any more.""
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] IMediaPlayer::Close()
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Playback stopped. Last play position 0.000
LogElectraPlayer: [000001789D62D400][00000178E974B5D0] Electra player statistics:
OS: Windows 10 (Release 2004)
GPU Adapter: NVIDIA GeForce GTX 1060

Master playlist:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=6740800,RESOLUTION=1920x1080,CODECS="avc1.640029,mp4a.40.2"
variant_0.m3u8

#EXT-X-STREAM-INF:BANDWIDTH=3440800,RESOLUTION=1280x720,CODECS="avc1.640029,mp4a.40.2"
variant_1.m3u8

  [1]: https://docs.unrealengine.com/en-US/WorkingWithMedia/MediaFramework/HowTo/StreamMediaSource/index.html
  [2]: https://docs.unrealengine.com/en-US/WorkingWithMedia/MediaFramework/ElectraPlayer/index.html#:~:text=Electra%20Player%20is%20a%20media,the%20link%20to%20the%20source.

Considering there isn’t any activity on your question I assume you weren’t able to solve it? Just ran into the same issue and made a post about it on the unreal engine forum (Issues working with HLS and Electra Player)

Just saw your post. At least I’m not alone. Really want to use Unreal to play a live HLS stream and seems too basic not to work or have someone at Epic give an answer. Nice to know I’m not alone. PS>resloved got my attention thinking my issue was ‘resolved’ haha

Really wish Epic would provide more info on this like examples of the master playlist, file types, what the error codes mean, a working project, anything!

1 Like

Hello,
Anyone had any success in streaming .ts chunk in Electra ?