I have two questions. First, I want to mux two tracks, video and metadata into MPEG4 container, how do I specify which track to put metadata (VBI_TRACK, or UNDEF_TRACK)? Second, in the simplemuxer.cpp example there is a FileWriter defined for the MuxerParam. What if I don't want to output to file? Would there be a runtime error if I didn't specify a writer?
Thanks in Advance.
1.MP4Muxer supports video and audio tracks only. VBI_TRACK type is used in MPEG2Muxer.
2. As you can see in the code if MuxerParams->m_lpDataWriter is zero you'll get UMC_ERR_NULL_PTR error in MP4Muxer::Init. If you don't need the output from Muxer what do you use it for?