Giter Club home page Giter Club logo

media-tools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

media-tools's Issues

Show H.264 in MPEG-TS

While something of a legacy thing, this is useful to identify HLS-supporting browsers.

videoElement.canPlayType('application/x-mpegURL; codecs="avc1.64001F"')

This returns a positive result if the browser supports HLS.

It would be nice to have this in "Popular Capabilities" for a quick way to check if HLS is available.

Feature request: Define specific pixel/color format combinations to test instead of checking all possible permutations

It's fantastic that the tool exposes all possible pixel format and colorimetry options for AV1 & VP9 codecs (e.g. bit depth, chroma subsampling, color primaries, matrix, etc), but right now selecting any of them results in media capabilities checks being performed for all possible permutations of the selected options. Selecting too many options can result in so many permutations that performing all those checks crashes the browser. However, a lot of those generated permutations don't actually make sense or need to be tested in real-world contexts. For example, BT.709 color primaries will likely never be used together with ST.2084 PQ transfer function; 8-bit coding will likely never be used with HDR/WCG video (BT.2020, ST.2084, HLG), etc.

I think it'd be more useful if, instead of generating all possible permutations of the selected options, the tool allowed the user to define specific combinations of pixel format and colorimetry options to test for, similar to the way a user would define an encoding profile in a video encoding tool. That'd significantly reduce computing resources necessary to perform all the tests, while also generating a results table that's much easier to read and interpret.

License Request Decoder for Widevine is broken

E.g. This legitimate request would leave the decoder spinning and eventual failed with error msg "Error! The decoding service currently is not available. Try again later, in a few minutes."

CAESnQ8K1w4IARKqCwrtAwgCEiDVm9uE4zf2JpzxAcJOG3DG6RSe0LnWh2/lC0j+Gj1V7xjQ0p6JBiKOAjCCAQoCggEBANCU5DFl9/UM1O1kHnyylmqcZh7g3JZfwKzyH48BLEwvmTys3ydzJx6VSK4T612VMG8dkw18KwYWlOv/2wyV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dpZGV2aW5lX2NkbV92ZXJzaW9uEgYxNi4wLjAaJAofb2VtX2NyeXB0b19zZWN1cml0eV9wYXRjaF9sZXZlbBIBMBorChxvZW1fY3J5cHRvX2J1aWxkX2luZm9ybWF0aW9uEgtTb255T0VNMTYuMjIYCAEQASAFKBAwADgDQAFIAEgBUAFYAGADEjEKLwoJIgE9SOPclZsGEAEaIDFCMkM5NTc0OUIwNjQxRUU3RjAwMDAwMDAwMDAwMDAwGAEgy/aeiQYwFTjUwunkCRqAAgAXzgcZOv81MtyMQeL9js96Ie3enmtyDTTjxEg2NBlw6MXOHydWjMlpyjJcn21Ga3vUEDRe1rggqPmp+bz4Ly7Slrq6w41sQzT6yWLHuZirxmQU0GO5fCAC+O5GotRPd02S2T5y38S+oVdeKro8nJS8czJ8+Gww0eIQ8kLlrBaWfccNgyvIWRaOCsxk3y9YfGZypCKKzmStKUUl3jv4FDxmIuR/RziL47CzRs9+Bd4RLgSDcyJY/4in2cId9GolK1TwP0o5/5Jlj3OJQj8GhHxF5O57+pjQrAurq8sqTyTBDmo+Hr0qVPtXiTM5/Drlk3+fR8i8QSG7lMou45TsyxxKFAAAAAEAAAAUAAMAEJyaYVQAAAAC

Suggestion: API for codec decoder

It could be massively useful for some applications to offer the codec string decoder response in a machine readable format, in JSON, via an API.
Thanks in advance!

Wrong "Clear Key" system ID in PSSH generator

1077efec-c0b2-4d02-ace3-3c1e52e2fb4b is not the Clear Key system ID. The correct value is e2719d58-a985-b3c9-781a-b030af78d30e

Edit: However, as Clear Key does not have any defined PSSH format, perhaps it is the name that is wrong and not the ID?

License Request Decoder does not decrypt Axinom FairPlay Streaming requests

On the license request decoder page for FairPlay Streaming, the RSA private key field says:

The RSA private key of a license server (PEM-encoded, in the PKCS #1 format), which is required to decrypt the license request. It's optional, if the license request is generated for the Axinom's license server.

However, when supplying a license request generated with the certificate from my DRM evaluation package (located here), it refuses to decrypt the request saying it isn't an Axinom certificate. Is there some other Axinom certificate the decoder wants?

License Request Decoder returns outdated info

Steps to reproduce

  1. Install an older version of WidevineCDM in Chrome, such as 4.10.2209.0
  2. Go to https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html
  3. Load the "[Axinom] 1080p with PlayReady and Widevine DRM, single key" demo
  4. Receive the following error (as expected):

    DRM: licenser error! --com.widevine.alpha update, XHR complete. status is "Invalid license request. DRM client models with revoked certificates are not allowed to receive licenses." (400), readyState is 4. Response is"

  5. Paste the Base64-encoded license request payload into https://tools.axinom.com/decoders/LicenseRequest. Example payload:
    CAESzwsKjgsIARLyCQqyAggCEhFhpWySx3TQwN9FuDPkORu6ChiY5r38BSKOAjCCAQoCggEBANkonBJ1lPq5oHN+BewuPbLbtoNzQAa6uRFFQkHkFfshK+bAeC557OCNnnSHr9LhGPSUMFm5/WianhbFo3eQidVWf2qTsZw+T66RIOuGelRXtELi3iXwzBu+Dp7fDhxaPyNRrScEHGBMikmXeW/usY/QwPlT0upQSmj97X/twMNYdPt/aP8lIkETBJt22+BkdOI+vtSHfsAcSwc4GJQ/dsvJbmuogtMd+sCOYrpF5kIr8HyLVfjBlOwTEQHBxg3j9zUanU1Ye3dvtDKOAZ46i4ljU+rIRUeacxrPvliTR27SQyHXSfERuN14z1H6pocM5YrT833PY2iRUakr6LOzmL8CAwEAASiZnQFIARKAAms7bGxULe0Q3A1aP4S7okmHtyq+RfUWQi6cMO4gztS8hGdL50jsvlHt+kZ386wZfyhJYI+fZ61cstncrzipNKTXeNkvX0oiNUiaFg23Bjbf1gx3qgVW8BSd8zaaf73h8wqvem4cSYJ7VuxB9DIa9ZNpcpawUjAKBBojDn9Hw7V+vAc+YqPCe6Yw9si/gXt4u3HKLx9x99ANWSOHPbzKsNwMDBhtBPNXFYm3Uvre0/gsAQQ9lkm2jQF1qsJvz1fhwnB2KCypI/2xSrWke9TwQzQLW+KMrZrv4m0pqPFa1n+UrlhgxQ1kyKqyfo6ZDgef7V70Fc2mHbbPXMYYnjlT1kkatwUKsQIIARIQuqZAVaeRUXSTWl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AKBASLAoqChQIARIQnrQFDeRLSAKTLifXUIPiZhABGhD0h4VQwf3y+9Myums64jVVGAEgv//mjwYwFTiQyLTCDRqAAlZ/1jlMtXBQ1E7FUrFa6OLr6Bm5tFO8BS2as1cLmueSgc8m41AtRrIKZ03RzflFhDyuqdfR8Kz0jYy47XDyYylS3yeKDEdN+3omFtJssyVizcS0GXk+vMuyH8mwoZKAEd3sN2oBEGhMiMB99uGEr9EFUHK9Lruzb2oD9ayFlI65K16JNwYuFbUYe46CG3bR4TRtN7Rm7k/AfCBHtuOz6SHa/+6wB6iwZPAgoqt0gMHi5B5I5AYnfq6bUAw//H3AiY2Y8wLyy8c0f+GYA9Ez34ClwLaXyX54w3+mwvQm3jdF5hIc71q2BTMwmfGQuGpfo29e4m5Ig1oFRNDedSZpViRKFAAAAAEAAAAUAAUAENhNJBCAF1Hv
    

Expected behavior

The license request decoder should say the device's status is "Revoked".

Actual behavior

The decoder says the device's status is "Active".

Suggestion: Add API for PSSH box generator

Hey,

I'd like to suggest API for PSSH Box Generator.

In simplicity, user could pass SystemID, Version & Data input to the endpoint, and it would return with base16 & base64 PSSH.

It would help making scripts when debugging big amounts of videos.

Site is down?

Unable to access. Getting connection reset message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.