-
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
Exception Invalid NAL length in CMAF streams (clear video) #7698
Comments
Could you also provide a valid manifest/playlist to play these files? Otherwise I need to hand-craft these files without knowing all the required metadata. If you don't want to share publicly, please send an email to [email protected] with "Issue #7698" in the subject line. |
Hi tonihei, |
Thanks, we received the streams and I can reproduce the problem. I'll assign to @kim-vde for further investigation. |
There is a small issue in the media: the I will update the code to make it more robust. This should fix your issue. |
Thank you for your quick response. You are right. If I understand the spec correctly, a proper setting would be : if |
My understanding is that you cannot have both
|
It makes sense. FYI. Exoplayer is able to play the stream after removing Thanks a lot! |
Having both in the trun box is not allowed (see section section 8.8.8.1 of ISO/IEC 14496-12:2015) but this CL makes the code more robust in case this happens. Before this change, the first sample flag was not read, making subsequent reads incorrect. Issue: #7698 PiperOrigin-RevId: 325212160
Having both in the trun box is not allowed (see section section 8.8.8.1 of ISO/IEC 14496-12:2015) but this CL makes the code more robust in case this happens. Before this change, the first sample flag was not read, making subsequent reads incorrect. Issue: #7698 PiperOrigin-RevId: 325212160
Having both in the trun box is not allowed (see section section 8.8.8.1 of ISO/IEC 14496-12:2015) but this CL makes the code more robust in case this happens. Before this change, the first sample flag was not read, making subsequent reads incorrect. Issue: google#7698 PiperOrigin-RevId: 325212160
Hi there,
ExoPlayer throws Invalid NAL length exception while playing a CMAF live stream (sample files attached below). The video is not encrypted and safar/quicktime/bitmovin can play it without problem.
I appreciate much if you could identify whether the issue is.
[REQUIRED] Issue description
HLS with CMAF fragments on Safari/QuickTime/Bitmovin : OK
DASH witch CMAF fragments on Bitmovin player : OK
DASH/HLS with CMAF fragments on ExoPlayer : failed with Invalid NAL length
[REQUIRED] Reproduction steps
Android Studio
Add target stream to media.exolist.json
Run Debug 'demo'
Play the target stream
Get playback failed
[REQUIRED] Link to test content
An init fragment and a video fragment are in cmaf.zip
[REQUIRED] A full bug report captured from the device
[REQUIRED] Version of ExoPlayer being used
r2.11.7
[REQUIRED] Device(s) and version(s) of Android being used
Virtual device: Pixel_3a_API_30_x86 (Android 10.0+)
The text was updated successfully, but these errors were encountered: