Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Thread Tools Search this Thread Display Modes
Old 5th December 2013, 04:24   #1  |  Link
Registered User
Join Date: Nov 2013
Posts: 1
Regarding the offset of sample in mp4 file

I use mp4v2 to create one mp4 file which has one audio stream, two video streams. Since my scene is video conference, one video stream is secondary stream and is intermittenly, for example, the secondary stream would start after first video stream played 30 seconds.
so I set the renderingoffset in

void MP4Track::WriteSample(

const uint8_t* pBytes,

uint32_t numBytes,

MP4Duration duration,

MP4Duration renderingOffset,

bool isSyncSample

but it doesn't work.

Is there any method to enable this feature?
tonyye is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 03:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.