Reputation: 8929
I am trying to merge two videos together in the m3u8 manifest file. However, exactly at the point to HLS stream discontinuity, video playback stops with following error: Player error: mediaError - bufferAppendError
Here is the sample m3u8 snippet:
#EXT-X-PROGRAM-DATE-TIME:2025-01-23T01:23:10.200-06:00
#EXTINF:6.000
17.ts
#EXT-X-PROGRAM-DATE-TIME:2025-01-23T01:23:16.200-06:00
#EXTINF:6.000
18.ts
#EXT-X-DISCONTINUITY
#EXT-X-KEY:METHOD=NONE
#EXT-X-PROGRAM-DATE-TIME:2025-01-23T01:23:21.700-06:00
#EXTINF:6.000
10ak171685189367-007cb1c1a5398250e495vHD.20.ts
#EXT-X-PROGRAM-DATE-TIME:2025-01-23T01:23:27.700-06:00
#EXTINF:6.000
10ak171685189367-007cb1c1a5398250e495vHD.21.ts
FFprobe output of 18.ts:
Duration: 00:00:06.01, start: 1692.774667, bitrate: 3440 kb/s
Program 1
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 159 kb/s
FFprobe output of 10ak171685189367-007cb1c1a5398250e495vHD.20.ts:
Duration: 00:00:06.02, start: 1.443444, bitrate: 744 kb/s
Program 1
Metadata:
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn
Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 65 kb/s
I would greatly appreciate any inputs.
Upvotes: 0
Views: 18