- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does IPP/UMC support writing fragmented MPEG-4 files? I need to write MPEG-4 data over a TCP/IP socket as the MPEG-4 data is dynamically created. This obviously does not permit random access to the MPEG-4 file which is required for non-fragmented MPEG-4 files [in order to update the header boxes]. I know that IPP/UMC supports reading fragmented MPEG-4 files, but what about writing them? Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - franknatoli
Does IPP/UMC support writing fragmented MPEG-4 files? I need to write MPEG-4 data over a TCP/IP socket as the MPEG-4 data is dynamically created. This obviously does not permit random access to the MPEG-4 file which is required for non-fragmented MPEG-4 files [in order to update the header boxes]. I know that IPP/UMC supports reading fragmented MPEG-4 files, but what about writing them? Thanks.
Hello,
MPEG4 muxer can create fragmented streams if one set (by "or" operation) FLAG_FRAGMENTED_AT_I_PICTURES to
m_lFlags variable in MuxerParams. The stream being created is written by fragments then. Each fragment will keep
frames from one GOP.
The other possibility is to use FLAG_FRAGMENTED_BY_HEADER_SIZE. Here the muxer collects frames until generated header is greater then MAX_MOOF_SIZE which is equal to 200000 and hardcoded in umc_mp4_mux_defs.h. if this condition is true then starting from the nearest I frame the next fragment is started and the current one is ready for playback.
Regards,
Ying

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page