-
Notifications
You must be signed in to change notification settings - Fork 499
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
Failure with multiple slices per access unit (HEVC from Teradek) #1363
Comments
I believe there is a problem with parsing HEVC with slices in TS, at least some hardware encoders. I think I've seen something similar previously using Nvidia encoded HEVC with slices turned on. From what I recall repackaging the input as fMP4 didn't have an issue so there was something specific in the interaction of TS + HEVC with slices. Turning off slices in the encoder by using a different preset also didn't have any issues. But I never had a chance to dig into it beyond that. A file to reproduce the problem would really help though. |
I'll request for permission on the streams sample, thank you.
…On Thu, 7 Mar 2024, 20:04 Cosmin Stejerean, ***@***.***> wrote:
I believe there is a problem with parsing HEVC with slices in TS, at least
some hardware encoders. I think I've seen something similar previously
using Nvidia encoded HEVC with slices turned on. From what I recall
repackaging the input as fMP4 didn't have an issue so there was something
specific in the interaction of TS + HEVC with slices. Turning off slices in
the encoder by using a different preset also didn't have any issues. But I
never had a chance to dig into it beyond that.
A file to reproduce the problem would really help though.
—
Reply to this email directly, view it on GitHub
<#1363 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR7NB56BIZYWHQU6WHIOBLYXCM3DAVCNFSM6AAAAABELBWXQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGAYTMNZUG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
See the linked sample, @cosmin |
Confirm you have access to the media sample. |
@Brainiarc7 unfortunately I was traveling last week with minimal connectivity and I was not able to download the file. I tried a couple of times but it eventually timed out before the download completed (as the file was a few hundred MB). I'm back to proper internet but the download link has expired. Could you please re-share it? |
@Brainiarc7 thank you, I was able to download the sample and can repro the problem locally. I'll follow up once I determine what the problem is. |
Ok, doing a little digging through the debugger I believe the problem lies within It pops the
which then results in the errors seen
|
I believe this might require some structural changes to |
System info
Operating System: Ubuntu 22.04LTS
Shaka Packager Version: git tip master
Issue and steps to reproduce the problem:
Packaging any UDP input from a Teradek encoder errors out with:
If I re-encode the input stream on the fly via
ffmpeg
, shaka-packager works without a problem.Softvelum's Nimble streamer is also able to package this content on the fly without transcoding, only Shaka, for some reason, rejects it.
I cannot share the stream specifics here as it's copy-righted.
Any pointers?
The text was updated successfully, but these errors were encountered: