-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Length mismatch issue with FMP4/CMAF content #7592
Comments
Looks like any It's probably worth looking at Over to @kim-vde who's been looking at FMP4 parsing. |
Could you provide a test content so that I can test? If you're unable to share it publicly, please send it to dev.exoplayer@gmail.com using a subject in the format "Issue #7592". Please also update this issue to indicate you’ve done this. |
I've sent you a mail regarding test content on dev.exoplayer@gmail.com with all the information related to it. |
Can you also send the DRM license URL (as in the demo app samples)? |
Please check your mail box, I've sent the DRM license URL. |
I don't have the length mismatch error with the fix I implemented but I have a DRM error. I seems there is something wrong with the response.
|
Wait let me check the issue with the DRM, seems there some key mismatch. If this doesn't work then I'll provide you another content url. |
I've shared another Content url with license url which is giving me length mismatch error. Please check your mailbox. |
I can't access the manifest URL.
|
You're getting ERR_CERT_AUTHORITY_INVALID because of the given IP Address doesn't contain any certificate over https. In this case please try to accept the self-signed certificate for the given IP Address. |
Issue: #7592 PiperOrigin-RevId: 320556981
I just pushed a fix on the dev-2 branch. Can you try it and tell me if you still have issues? |
Issue has been fixed on the dev-2 branch. Now I'm not getting any issue regarding length mismatch. |
I'll close the issue then. Feel free to open another one if you encounter other problems. |
Issue: #7592 PiperOrigin-RevId: 320556981
Issue: google#7592 PiperOrigin-RevId: 320556981
Issue description:
Hi,
I am trying to generate a fmp4 CMAF DRM with the CBCS protection scheme using bento4 and trying to play on android exoplayer.
Here is the command I am using to generate the dash manifest
mp4dash --profiles=on-demand --mpd-name manifest.mpd --encryption-cenc-scheme=cbcs --encryption-args=“--global-option mpeg-cenc.piff-compatible:true” --encryption-key=:: --widevine-header=provider:demo.ki#content_id:#protection_scheme:cbcs --hls --mpd-name=manifest.mpd --hls-master-playlist-name=manifest.m3u8 fragmented.mp4
example command i am using
mp4dash --mpd-name manifest.mpd --encryption-cenc-scheme=cbcs --encryption-args=“--global-option mpeg-cenc.piff-compatible:true” --encryption-key=8762c548e79c740f7b5d2f5f09f85929:aae2a539812edc302599f027c8689fad:00000000000000000000000000000000 --widevine-header=provider:demo.ki#content_id:8762c548e79c740f7b5d2f5f09f85929#protection_scheme:cbcs --hls --mpd-name=manifest.mpd --hls-master-playlist-name=manifest.m3u8 sintel-1024-surround.mp4
The content works on Chrome using shakaplayer.
There is already an existing closed bug on the bento4 issues page regarding the same issue
axiomatic-systems/Bento4#428 where it looks like it is an issue with exoplayer.
Is there any workaround for this?
Stack-trace:
Version of ExoPlayer: 2.11.7
Device: Google Pixel 3
Version: Android 9
The text was updated successfully, but these errors were encountered: