-
Notifications
You must be signed in to change notification settings - Fork 1
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
VPS,SPS,PPS not fully accumulate #2
Comments
As you say, especially for PPS, it should be accumulated each The problem is that Fragmented MP4 seems not to support multiple PPS. https://stackoverflow.com/questions/61190529/fragmented-mp4-video-with-multiple-sets-of-sps-and-pps-with-avcc-encoding |
hardware dvb encoder can produce this as example terra vps,sps,pps store at VisualSampleEntry of mp4 as ConfigurationRecord just move check the same and analyze out of from ParseNals function inside the function just accumulate |
Sorry for my long silence. I have just released master-240608 for other commits. I want to fix about this issue, but currently I don't know how to generate or get a stream with multiple PPS. |
Streams with multiple SPS/VPS are not supported (due to lack of actual samples). Changing SPS/VPS/PPS in midstream is also not supported currently.
I modified master to allow storing multiple PPS in VisualSampleEntry of hvcC/avcC. The sample attached to ffmpeg/ticket/6864 was MP1 audio, so I converted it to AAC using the following command: VLC media player (3.0.19,Windows), Firefox (127.0.2,Windows), and Chrome (126.0,Android) were able to play the MP4. |
iam again
do you think VPS SPS PPS can be only once per PES ?
no
is can split per PES
as example i have AVC PES stream
AUD[2],SPS[23],PPS[4],PPS[95],PPS[5],SEI[8],I(1)Slice(7)[40793]
per AVC/HEVC Config Record
VPS can be 15 counts
SPS can be 31 counts
PPS can be 255 counts
so i think place where assign VPS,SPS,PPS should be impove or reimplement
as example, this is wrong
it should accumulate ber counts, after counts overflow, should ParseXXX
yes, usefull info which used for produce mp4 can be at first VPS,SPS,PPS counts, but anyway
it can make incorrect
parameterChanged = true;
The text was updated successfully, but these errors were encountered: