How to generate hls stream for Electra plugin?

Hi, I generate a HLS stream using FFMpeg, which works fine with vlc, but Electra doesn’t work. What are the steps to generate a working HLS stream?


LogElectraPlayer: [000002AFB1CCD000] FElectraPlayer() created.
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] IMediaPlayer::Open(https://*******playlist.m3u8)
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Opening stream at "https://*******playlist.m3u8"
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist builder: EXT-X-STREAM-INF CODECS not specified. Assuming H.264 HIGH profile level 4.2 and LC-AAC audio.
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist builder: EXT-X-STREAM-INF CODECS not specified. Assuming H.264 HIGH profile level 4.2 and LC-AAC audio.
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist builder: EXT-X-STREAM-INF CODECS not specified. Assuming H.264 HIGH profile level 4.2 and LC-AAC audio.
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist builder: EXT-X-STREAM-INF CODECS not specified. Assuming H.264 HIGH profile level 4.2 and LC-AAC audio.
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Received master playlist from "https://*******playlist.m3u8"
LogHttp: Warning: 000002AF9E83B900: invalid HTTP response code received. URL: https://*******360p.m3u8
, HTTP code: 0, content length: 0, actual payload size: 0
LogHttp: Warning: 000002AF9E83B900: request failed, libcurl error: 3 (URL using bad/illegal format or missing URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 0 (Illegal characters found in URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 1 (Closing connection -1)
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist reader: Failed downloading initial playlist "https://*******360p.m3u8
" (Read error after receiving 0 of -1 bytes), trying alternative variant
LogHttp: Warning: 000002AF9E83B900: invalid HTTP response code received. URL: https://*******480p.m3u8
, HTTP code: 0, content length: 0, actual payload size: 0
LogHttp: Warning: 000002AF9E83B900: request failed, libcurl error: 3 (URL using bad/illegal format or missing URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 0 (Illegal characters found in URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 1 (Closing connection -1)
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist reader: Failed downloading initial playlist "https://*******480p.m3u8
" (Read error after receiving 0 of -1 bytes), trying alternative variant
LogHttp: Warning: 000002AF9E83B900: invalid HTTP response code received. URL: https://*******720p.m3u8
, HTTP code: 0, content length: 0, actual payload size: 0
LogHttp: Warning: 000002AF9E83B900: request failed, libcurl error: 3 (URL using bad/illegal format or missing URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 0 (Illegal characters found in URL)
LogHttp: Warning: 000002AF9E83B900: libcurl info message cache 1 (Closing connection -1)
LogElectraPlayer: Warning: [000002AFB1CCD000][000002AFB3DD6AD0] HLS playlist reader: Failed downloading initial playlist "https://*******720p.m3u8
" (Read error after receiving 0 of -1 bytes), trying alternative variant
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Received initial stream playlists
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Found 640 * 360 video stream at bitrate 800000
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Found 842 * 480 video stream at bitrate 1400000
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Found 1280 * 720 video stream at bitrate 2800000
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Found 1920 * 1080 video stream at bitrate 5000000
LogElectraPlayerPlugin: [000002AFA9E46F20] IMediaControls::SetRate(1.000000)
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Playback paused at play position 0.000
LogElectraPlayer: Error: [000002AFB1CCD000][000002AFB3DD6AD0] ReportError: "error=0 in Player: code 1, "All streams have failed. There is nothing to play any more.""
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] IMediaPlayer::Close()
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Playback stopped. Last play position 0.000
LogElectraPlayer: [000002AFB1CCD000][000002AFB3DD6AD0] Electra player statistics:
OS: Windows 10 (Release 1909)
GPU Adapter: NVIDIA GeForce GTX 1070
URL: https://*******playlist.m3u8
Time after master playlist loaded: 0.154s
Time after stream playlists loaded: 0.327s
Time for initial buffering: -1.000s
Initial video stream bitrate: 0 bps
Initial buffering bandwidth bps: 0.000
Initial buffering latency: 0.000s
Time for initial preroll: -1.000s
Number of times moved forward: 0
Number of times moved backward: 0
Number of times looped: 0
Number of times rebuffered: 0
Total time spent rebuffering: 0.000s
Longest rebuffering time: 0.000s
First media timeline start: 0.000s
First media timeline end: 156.156s
Last media timeline start: 0.000s
Last media timeline end: 156.156s
Media duration: 156.156s
Play position at start: -1.000s
Play position at end: -1.000s
Number of quality upswitches: 0
Number of quality downswitches: 0
Number of drastic downswitches: 0
Bytes of video data streamed: 0
Bytes of audio data streamed: 0
Number of segments fetched across all quality levels:
800000 : 0
1400000 : 0
2800000 : 0
5000000 : 0
Currently active playlist URL:
Currently active resolution: 0 * 0
Current state: Paused
Number of video frames dropped: 0, worst time delta 0.000 ms
Number of audio frames dropped: 0, worst time delta 0.000 ms
Last error: error=0 in Player: code 1, "All streams have failed. There is nothing to play any more."
Subtitles URL:
Subtitles response time: 0.000s
Subtitles last error: