mangui / flashls

HLS Flash Plugin/Player (Chromeless,OSMF,FlowPlayer,mediaelement.js,video.js,Clappr)
http://www.flashls.org
Mozilla Public License 2.0
751 stars 264 forks source link

Two m3u8 merge play failed #576

Closed pai123456 closed 7 years ago

pai123456 commented 7 years ago

I merged the two m3u8 into one m3u8,but it play failed when playing the second.How can I do?

E.g

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:12
#EXTINF:10.132000,
http://ts.video.net/a/0000000.ts
#EXTINF:9.999000,
http://ts.video.net/a/0000001.ts
#EXT-X-ENDLIST
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:12
#EXTINF:10.132000,
http://ts.video.net/b/0000000.ts
#EXTINF:9.999000,
http://ts.video.net/b/0000001.ts
#EXTINF:9.999000,
http://ts.video.net/b/0000002.ts
#EXT-X-ENDLIST

merged:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:12
#EXTINF:10.132000,
http://ts.video.net/a/0000000.ts
#EXTINF:9.999000,
http://ts.video.net/a/0000001.ts
#EXTINF:10.132000,
http://ts.video.net/b/0000000.ts
#EXTINF:9.999000,
http://ts.video.net/b/0000001.ts
#EXTINF:9.999000,
http://ts.video.net/b/0000002.ts
#EXT-X-ENDLIST
pai123456 commented 7 years ago

the console message:

ERROR:negative duration computed for Fragment (seqnum: 19, start_time:190.00799999999995, duration:-190.008), there should be some duration drift between playlist and fragment!
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/13.095/206.425/206.507
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/13.444/206.425/206.507
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/15.487/206.425/206.507
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/17.554/206.425/206.507
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/19.992/206.425/206.507
WARN:fragment overlapping with buffered one, start/end/max_audio_pos/max_video_pos:10.007/20.015/206.425/206.507
pai123456 commented 7 years ago

it solve