public static PIffTrackMediaInfo CreateVideo( PiffVideoManifest video, DateTime created, int timeScale, Guid keyId) { return(new PIffTrackMediaInfo(new PiffMediaHeader(created, video.Duration, timeScale), new PiffHandlerType(PiffTrackTypes.Video), PiffMediaInformation.CreateVideo(video, keyId))); }
public PiffProtectedVideoSampleEntry(PiffVideoManifest video, Guid keyId) { Width = video.Width; Height = video.Height; Scheme = PiffProtectionSchemeInformation.CreateVideo(video.CodecId, keyId); AvcConfiguration = new PiffAvcConfiguration(video.CodecId, video.CodecData); }
public static PiffMediaInformation CreateVideo(PiffVideoManifest video, Guid keyId) { return(new PiffMediaInformation(null, new PiffVideoMediaHeader(), PiffSampleTable.CreateVideo(video, keyId))); }
public static PiffTrack CreateVideo( int trackId, PiffVideoManifest video, DateTime created, int timeScale, Guid keyId) { return(new PiffTrack(PiffTrackHeader.CreateVideo(trackId, created, video), PIffTrackMediaInfo.CreateVideo(video, created, timeScale, keyId))); }
public static PiffSampleTable CreateVideo(PiffVideoManifest video, Guid keyId) { return(new PiffSampleTable( PiffSampleDescription.CreateVideo(video, keyId))); }
public static PiffTrackHeader CreateVideo(int trackId, DateTime created, PiffVideoManifest video) { return(new PiffTrackHeader(created, video.Duration, trackId, PiffTrackTypes.Video, video.Width, video.Height)); }
public static PiffSampleDescription CreateVideo(PiffVideoManifest video, Guid keyId) { return(new PiffSampleDescription( null, new PiffProtectedVideoSampleEntry(video, keyId))); }