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
Buildbot scte35 id3 markers #2748
base: master
Are you sure you want to change the base?
Conversation
…m for scte35 and id3 markers
1d8eb1d
to
12a672b
Compare
src/filters/inspect.c
Outdated
else | ||
gf_bs_reassign_buffer(pctx->bs, att->value.data.ptr, att->value.data.size); | ||
|
||
uint8_t table_id = gf_bs_read_u8(pctx->bs); |
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.
uint8_t
currently doesn't build on windows
maybe we should add an #include <stdint.h>
in the windows part of setup.h
?
or maybe we should just use the u8
type instead?
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.
I will use u8, thanks! FYI this is just a draft PR ATM. I'm not even sure we will not cherry-pick the commits on here.
bs = gf_bs_new(NULL, 0, GF_BITSTREAM_WRITE); | ||
gf_bs_write_u32(bs, 90000); // timescale | ||
gf_bs_write_u64(bs, pck->PTS); // pts | ||
gf_bs_write_data(bs, pck->data, pck->data_len); // data |
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.
Does it make sense to write pck->data_len
before pck->data
so that other filters that parse this data know how many bytes to read? For instance here
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.
We know the size of the property. That being said what would happen if several properties are pushed simultaneously? The spec says that "several messages in the same 'emsg' box (i.e. same message_data[] array) shall be separated with '0x0A'." Is it a realistic use-case?
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.
We know the size of the property. That being said what would happen if several properties are pushed simultaneously?
The 271 size of the Nielsen ID3 tag is indeed known. However, if we want to push other ID3 tags of unknown size, then writing the data_len
is needed to create the emsg
box correctly.
The spec says that "several messages in the same 'emsg' box (i.e. same message_data[] array) shall be separated with '0x0A'." Is it a realistic use-case?
I haven't seen this edge case in the tests I have run so far. It can be omitted for now, I think.
…ntains cts offsets)
…ached (and remove fake pck propagation)
M2TS demux:
rfadts:
Inspect:
M2TS mux:
isom_mux:
Dasher:
<InbandEventStream schemeIdUri="urn:scte:scte35:2013:bin"></InbandEventStream>
=> DASH-IF recommends xml+bin.#EXT-X-CUE-IN
and#EXT-X-CUE-OUT
.Metadata injection new module (likely jsf):
flist:
flist
.dec_scte35: