Comments (4)
Thanks @AyliD can you show me the broken and working playlist? Just so I better understand the issue
from m3u8.
The first issue:
in the master playlist i have few iframe manifests, in current code all ignored but the first.
#EXTM3U
#-----------------------------------------------------------
#--Created with VIDFX Streamer version 3.8.1.0 build 67361
#-----------------------------------------------------------
#EXT-X-VERSION:5
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AACL",NAME="audio_483_und",LANGUAGE="und",AUTOSELECT=YES,DEFAULT=NO,URI="2.m3u8/Alter-audio_483_und(483)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AACL",NAME="audio_482_und",LANGUAGE="und",AUTOSELECT=YES,DEFAULT=YES,URI="2.m3u8/Alter-audio_482_und(482)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=262144,CODECS="mp4a.40.2,avc1.4d400d",RESOLUTION=320x240,AUDIO="AACL"
2.m3u8/Level(262144)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=42412,CODECS="avc1.4d400d",URI="2.m3u8/Iframe(262144)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=629145,CODECS="mp4a.40.2,avc1.4d4015",RESOLUTION=480x360,AUDIO="AACL"
2.m3u8/Level(629145)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=74688,CODECS="avc1.4d4015",URI="2.m3u8/Iframe(629145)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1363148,CODECS="mp4a.40.2,avc1.4d401e",RESOLUTION=640x480,AUDIO="AACL"
2.m3u8/Level(1363148)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=102763,CODECS="avc1.4d401e",URI="2.m3u8/Iframe(1363148)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2202009,CODECS="mp4a.40.2,avc1.4d401f",RESOLUTION=720x576,AUDIO="AACL"
2.m3u8/Level(2202009)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=117825,CODECS="avc1.4d401f",URI="2.m3u8/Iframe(2202009)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3670016,CODECS="mp4a.40.2,avc1.4d4020",RESOLUTION=1280x720,AUDIO="AACL"
2.m3u8/Level(3670016)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=184144,CODECS="avc1.4d4020",URI="2.m3u8/Iframe(3670016)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=32000,CODECS="mp4a.40.2",AUDIO="AACL"
2.m3u8/Level(482)?start=2016-05-04T08%3A49%3A30Z&end=2016-05-04T08%3A59%3A30Z
For Second issue, this is the manifest (the begining of it), but i have byte ranges and duration to each segment:
#EXTM3U
#-----------------------------------------------------------
#--Created with VIDFX Streamer version 3.8.1.0 build 67361
#-----------------------------------------------------------
#EXT-X-VERSION:5
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-I-FRAMES-ONLY
#EXT-X-MAP:URI="Iframe(3670016)/ISeg(0).ts",BYTERANGE="376@188"
#EXTINF:2,
#EXT-X-BYTERANGE:40232@256075928
Iframe(3670016)/Seg(0).ts
#EXTINF:2,
#EXT-X-BYTERANGE:35344@256798036
Iframe(3670016)/Seg(0).ts
#EXTINF:2,
#EXT-X-BYTERANGE:45496@257707392
Iframe(3670016)/Seg(0).ts
#EXTINF:2,
#EXT-X-BYTERANGE:31208@258626336
Iframe(3670016)/Seg(0).ts
#EXTINF:2,
#EXT-X-BYTERANGE:141376@259522532
Iframe(3670016)/Seg(0).ts
#EXTINF:2,
from m3u8.
See #50 for your first issue.
from m3u8.
See #51 for your second issue.
from m3u8.
Related Issues (20)
- Using for range loop to MediaPlaylist.Segments would lead to nil pointer dereference HOT 2
- Fix a report card issues for passing to awesome-go list HOT 1
- M3U8 doesn't play after some time HOT 1
- EXT-X-MEDIA audio missing from VariantParams.Alternatives for master playlist decode HOT 1
- . HOT 2
- MediaPlaylist decode custom tag panic
- m3u8.DecodeFrom panics in case of blank lines in playlist
- I have a SCTE-35 parser...... HOT 1
- SCTE35 - EXT-OATCLS-SCTE35 with EXT-X-CUE-IN
- tag: #EXT-X-MEDIA attribute: CHANNELS is not recognized HOT 1
- Is this repo dead? HOT 3
- program panic when i get the url of media segments HOT 6
- safari play fail bug
- Doesn't handle "Alternatives" correctly inside a master playlist's "variants"
- program panic when I parse the media segments
- Decoding MediaPlaylist panics with error: index out of range [0] with length 0 HOT 2
- Support Tag #EXT-X-IMAGE-STREAM-INF
- set Segment key error
- Duplicate Data Resulting from Custom Tags HOT 2
- move away from RegExp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m3u8.