-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: Add TS transmuxer #5386
feat: Add TS transmuxer #5386
Conversation
avelad
commented
Jul 1, 2023
•
edited
Loading
edited
- Allow to have multiple transmuxers, but choose only the one that is valid depending on whether it supports the codecs or not
- Supported codecs: AAC, AC-3, EC-3, H.264, MPEG/MP3
- It is prepared to allow more codecs in the future (HEVC/H.265) (no muxed)
Incremental code coverage: 75.92% |
0008bd7
to
806ff2e
Compare
I did not find any public streams with MPEG-TS and AC-3 or EC-3. But I tested it in private. |
96cceca
to
4a4d84f
Compare
6029e23
to
6aae2bc
Compare
We need to both review this and investigate test failures on Safari. |
The Safari and ChromeMac failures look new, but the Tizen ones look like the same flaky tests we have yet to resolve in |
It's interesting that it doesn't happen on GitHub's Mac VMs, though. |
This reverts commit a9bff9f.
@joeyparrish @theodab ready for review! |
Awesome! I'll look at this today if I can find time, tomorrow otherwise. |
@joeyparrish I updated the PR to include the test for MP3 in TS |
@joeyparrish I updated the PR to include the test for AC-3/EC-3 in TS |
pts: null, | ||
dts: null, | ||
}; | ||
|
||
// If it is video, we expect the packet length to be 0. When the PES packet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is an explicit packet length invalid for video? Why wouldn't you just account for an explicit packet length in subarray() below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a design issue, because there are video nalus packages that may overlap with other PES.