split into files #61
Unanswered
ramyak-mehra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, thanks for this great package, I was building sort of a replacement for mediafilesegmenter which is a very apple specific thing.
I was successfully able to inject ID3 data into the stream, I was wondering if there is a way to split the files based on duration too. I saw the packets has a field called
RandomAccessIndicator
which we can sort of use, but is there a way to somehow calculate time too based on this.I tried segmenting the file using ffmpeg but it did not do it properly the ID3 data was just everywhere.
Also if I do use,
RandomAccessIndicator
for my file I get every 250th packet as an I-frame confirmed via ffmpeg too.How would I split a stream based on just this info.
Would I just add these packets, into n new mixer directly and it would generate the tables and all that. Or should I first grab the elementary stream add them, write the table and then grab the individual packets.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions