Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Using UMC to write meta data to MP4 file

shachar-arieli
Beginner
200 Views
I am using the UMC to mux an H264 elemtry stream into an MP4 container.
Can anyone provide an example or some link that shows how to write meta data (Title,Author,Copyright ...) to the MP4 container.

Thanks
0 Kudos
2 Replies
Sergey_K_Intel
Employee
200 Views
Hi,
There is no way to do that. UMC's MPEG-4 muxer produces simplest MP4 container containing only vital information to store audio/video. No other optional data can be added to that container.
Regards,
Sergey
0 Kudos
shachar-arieli
Beginner
200 Views
Hi,

In the umc_mp4_parser_w.h file i can find a structure with copyright, name and info fields which can have variable lengths.
Is there any way to effect the content of these fields?
I have tried to change the code to initialize these variables during the Mux->init, and the header including this structure is supposed to be written to the file when i call the mux->Close(). However i cannot see any change to the file using this method.
I am basically looking for a way to write some custom information (1-2 strings) as part of the file.

Thanks,
Shachar
0 Kudos
Reply