-
Notifications
You must be signed in to change notification settings - Fork 4
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
store ctts table #115
store ctts table #115
Conversation
Hi @gBillal, thanks for the PR ;)
I'm unsure if this is true. If the video PTS starts from 0, the DTS must start from a negative value, so that PTS is always greater than DTS, and that is required by, for example, FFmpeg libs. |
Hi @mat-hek |
Hmm, I may have misunderstood it 🤔 let's approach it another way: why is this change needed: https://github.com/membraneframework/membrane_mp4_plugin/pull/115/files#diff-2d67f6484e673f781de79faf98a69c97f7bd56018e49d685b52b6678751c4fb0R53 ? |
Ah, you're talking about that. I did add that to check that the In other words, that change doesn't add much anyway, I can revert it to the old one. |
@gBillal gotcha, so I'd revert that and add another test to check if |
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.
Seems good, thanks!
@gBillal please make sure that formatter, credo and dialyzer pass ;) |
@mat-hek what's the command you run for credo. |
This is because of Elixir version and credo incompatibility. Please run |
I believe @mat-hek 's approve is required before merging as he is the code owner of the plugin |
In this PR:
ctts
table on muxing.pts
on demuxing, the first sample'sdts
is 0, however it's not necessary the same for thepts
.add_dts_offset
to false)