Comments (4)
RESOLUTION is defined as a decimal-resolution, which is defined in https://datatracker.ietf.org/doc/html/rfc8216#section-4.2 as two decimal-integers seperated by an x.
So my understanding is that floating point values in RESOLUTION are not legal.
That does not mean that there aren't playlists around that include floating point resolutions of course ...
from m3u8.
I understand the approach here @daveisfera, reaching more and diverse formtas/playlists, but I'm with @davemevans here.
IPTV and pirate content have some very weird definition set (some nonsense datatypes/values). Welcoming these differences might be a good idea in theory, but in practice it could make m3u8
a simple key/value parser.
from m3u8.
The main/most used video codec seems to use an unsigned integer
to represent width, #356 (comment)
from m3u8.
RESOLUTION is defined as a decimal-resolution, which is defined in https://datatracker.ietf.org/doc/html/rfc8216#section-4.2 as two decimal-integers seperated by an x.
That definitely does mean that having .0
on RESOLUTION
makes it out of spec, so I'm ok with rejecting this
from m3u8.
Related Issues (20)
- Error when parsing extended M3U playlists with custom attrubutes HOT 2
- Inheriting from object class HOT 3
- Wrongfully parsing custom tag as URI instead of ignoring it HOT 4
- How to open a HLS (.m3u8) video stream link in Telegram
- How to get EXT-X-MAP from m3u8 object? HOT 1
- installation broken. HOT 4
- Use built-in ISO 8601 parsing HOT 6
- Empty duration default/exception
- Can't dump playlist with custom tags HOT 10
- M3u8 Support to be played in IPTV Player HOT 1
- Fails to parse manifests with Elemental-style CUE-OUT-CONT tags HOT 6
- Having Trouble With Putting A M3U Stream In A M3U8 Link HOT 2
- Iframe streams are not parsed correctly HOT 2
- The method of calculating absolute_uri may be confusing. Adding a custom calculation method may be better. HOT 2
- IPTV example for custom tags has problems woth properties that might contain comma
- video
- Parse bugs HOT 7
- "Multi-variant playlist", not "variant stream"
- Playlist objects can't be used with add_playlist() HOT 3
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.