Open GoogleCodeExporter opened 8 years ago
In addition to MP4Modify/Mp4File::Modify, the generic itmf interface is also
not suited for this. Specifically, MP4ItmfAddItem, MP4ItmfSetItem and
MP4ItmfRemoveItem all take an MP4FileHandle which I believe also means the file
in question must be open. If there was a way to operate on the data structures
and then later, "tie" them to a particular MP4FileHandle, I think I could do
what I have in mind.
Original comment by dbyr...@gmail.com
on 20 Apr 2011 at 4:36
One possibility is using a custom file provider. So, to start with, you read
the entire file into memory. Then use a custom file provider that can read
from that memory buffer, modify things, etc. Then when you're done, write out
that buffer to memory.
I've thought about doing a custom file provider based on Qt, since they have a
number of primitives that would make in-memory stuff pretty easy (e.g.
QByteArray is a pretty solid fit).
Original comment by kid...@gmail.com
on 27 Apr 2011 at 7:00
Original issue reported on code.google.com by
dbyr...@gmail.com
on 19 Apr 2011 at 9:51