-
Notifications
You must be signed in to change notification settings - Fork 112
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
fix timestamp for h264 packetize #280
base: master
Are you sure you want to change the base?
Conversation
fix timestamp not to increase in case of sps, pps
@San9H0 Can you try pushing SPS/PPS/IDR as a single sample? I can write a test to confirm, but I am afraid this logic could break other codecs |
@Sean-Der Ok. I will try My code is simple.
In the results, the timestamp`s diff is wrong.
In my case, I used data without using a bitstream filter.
But this case, timestamp`s diff is wrong
the other usecase is successful like this
But I am not sure if this is correct. |
fix timestamp not to increase in case of sps, pps
Description
I used h264 packetizer to packetize h264 NAL data. and I set the samples values to 3000. I pushed SPS, PPS, IDR in order into the function.
I expected an increase of 3000 compared to the previous timestamp, but it increated by 9000
Reference issue
nothing