Got: buffer deadlock prevented when playing from merged .m3u8 files
Heres the log
main debug: Buffering 0%
main debug: Buffering 5%
main debug: Buffering 10%
main debug: Buffering 15%
main debug: Buffering 20%
main debug: Buffering 25%
main debug: Buffering 30%
main debug: Buffering 35%
main debug: Buffering 40%
main debug: EsOutProgramMeta: number=-1
main debug: Buffering 45%
main debug: Buffering 50%
main debug: Buffering 55%
main debug: Buffering 60%
main debug: Buffering 65%
h264 debug: found NAL_SPS (sps_id=0)
main debug: Buffering 69%
h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: Buffering 73%
main debug: Buffering 77%
main debug: restarting module due to input format change
main debug: removing module "videotoolbox"
main debug: looking for video decoder module matching "any": 16 candidates
main debug: Buffering 81%
videotoolbox debug: new SPS parsed: 0
main debug: Buffering 83%
videotoolbox debug: new PPS parsed: 0
main debug: Buffering 88%
main debug: Buffering 93%
main debug: Buffering 97%
videotoolbox warning: forcing CVPX format: 420v
main debug: Buffering 99%
main debug: Stream buffering done (1048 ms in 0 ms)
mpeg4audio info: AAC channels: 2 samplerate: 44100
main debug: restarting module due to input format change
main debug: removing module "faad"
main debug: looking for audio decoder module matching "any": 21 candidates
main debug: using audio decoder module "faad"
faad warning: decoded zero sample
main debug: reusing audio output
main debug: VLC is looking for: 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
auhal debug: attempting to use device 0
auhal debug: using default audio device 69
auhal debug: Current device has a latency of 1496 us
auhal debug: output layout of AUHAL is Stereo
auhal debug: selected 2 physical channels for device output
auhal debug: VLC will output: Stereo
auhal debug: Current AU format: [44100.000000][mcpl][9][8][1][8][2][32]
auhal debug: analog output successfully opened
main debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "samplerate"
videotoolbox info: Using Video Toolbox to decode 'h264'
main debug: using video decoder module "videotoolbox"
videotoolbox info: vt cvpx chroma: 420v
main debug: trying to reuse free vout
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 3 candidates
main debug: using text renderer module "freetype"
main debug: reusing provided vout
main debug: Received first picture
main error: buffer deadlock prevented
main debug: Decoder wait done in 19 ms
videotoolbox warning: pic_holder_wait timed out
adaptive debug: playlist Start/End 0/36880000 len 36880000rap pl/demux (-626999/773001)
adaptive debug: cached.i_time (723034) cur 2123034 rap start (pl -626999/dmx 773001) pos 0.019605
videotoolbox warning: pic_holder_wait timed out
videotoolbox warning: pic_holder_wait timed out
videotoolbox warning: pic_holder_wait timed out
videotoolbox warning: pic_holder_wait timed out
videotoolbox warning: pic_holder_wait timed out
adaptive debug: playlist Start/End 0/36880000 len 36880000rap pl/demux (-626999/773001)
adaptive debug: cached.i_time (1703001) cur 3103001 rap start (pl -626999/dmx 773001) pos 0.046177
videotoolbox warning: pic_holder_wait timed out
videotoolbox warning: pic_holder_wait timed out
main warning: picture is too late to be displayed (missing 929 ms)
main warning: picture is too late to be displayed (missing 889 ms)
main warning: picture is too late to be displayed (missing 849 ms)
main warning: picture is too late to be displayed (missing 810 ms)
main warning: picture is too late to be displayed (missing 770 ms)
main warning: picture is too late to be displayed (missing 730 ms)
main warning: picture is too late to be displayed (missing 690 ms)
main warning: picture is too late to be displayed (missing 650 ms)
main warning: picture is too late to be displayed (missing 610 ms)
main warning: picture is too late to be displayed (missing 570 ms)
main warning: picture is too late to be displayed (missing 532 ms)
main warning: picture is too late to be displayed (missing 494 ms)
main warning: picture is too late to be displayed (missing 455 ms)
main warning: picture is too late to be displayed (missing 416 ms)
main warning: picture is too late to be displayed (missing 378 ms)
main warning: picture is too late to be displayed (missing 339 ms)
main warning: picture is too late to be displayed (missing 301 ms)
main warning: picture is too late to be displayed (missing 263 ms)
main warning: picture is too late to be displayed (missing 225 ms)
main warning: picture is too late to be displayed (missing 186 ms)
main warning: picture is too late to be displayed (missing 147 ms)
main warning: picture is too late to be displayed (missing 108 ms)
main warning: picture is too late to be displayed (missing 70 ms)
main warning: picture is too late to be displayed (missing 30 ms)
adaptive debug: playlist Start/End 0/36880000 len 36880000rap pl/demux (-626999/773001)
adaptive debug: cached.i_time (2703001) cur 4103001 rap start (pl -626999/dmx 773001) pos 0.073292
adaptive debug: playlist Start/End 0/36880000 len 36880000rap pl/demux (-626999/773001)
adaptive debug: cached.i_time (3741612) cur 5141612 rap start (pl -626999/dmx 773001) pos 0.101454
main debug: toggling resume
Here's the file list: first.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-TARGETDURATION:16
#EXTINF:15.000,
1675940296_1.ts
#EXTINF:3.800,
1675940301_2.ts
#EXT-X-ENDLIST
second.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-TARGETDURATION:16
#EXTINF:15.000,
1675940649_3.ts
#EXTINF:3.080,
1675940654_4.ts
#EXT-X-ENDLIST
I was merged second.m3u8 to first.m3u8 as index.m3u8
index.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-TARGETDURATION:16
#EXTINF:15.000,
1675940296_1.ts
#EXTINF:3.800,
1675940301_2.ts
#EXT-X-DISCONTINUITY
#EXTINF:15.000,
1675940649_3.ts
#EXTINF:3.080,
1675940654_4.ts
#EXT-X-ENDLIST
What's wrong with this? even I already tried with this one
index.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-DISCONTINUITY-SEQUENCE:1
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-TARGETDURATION:16
#EXTINF:15.000,
1675940296_1.ts
#EXTINF:3.800,
1675940301_2.ts
#EXT-X-DISCONTINUITY
#EXTINF:15.000,
1675940649_3.ts
#EXTINF:3.080,
1675940654_4.ts
#EXT-X-ENDLIST
It keeps getting an error. weirdly it works fine when played using Native HLS Player in my browser. I need help asap.. thank you!