示例#1
0
 public override byte[] GetMOOVData()
 {
     ISMHelper.Mp4Box box = ISMHelper.Mp4Box.CreateTextMOOVBox((Int16)TrackID, TimeScale, Duration, Language, ProtectionGuid, ProtectionData);
     if (box != null)
     {
         return(box.GetBoxBytes());
     }
     return(null);
 }
示例#2
0
 public override byte[] GetMOOVData()
 {
     ISMHelper.Mp4Box box = ISMHelper.Mp4Box.CreateVideoMOOVBox((Int16)TrackID, (Int16)Width, (Int16)Height, TimeScale, Duration, Language, CodecPrivateData, ProtectionGuid, ProtectionData);
     if (box != null)
     {
         return(box.GetBoxBytes());
     }
     return(null);
 }
示例#3
0
 public override byte[] GetMOOVData()
 {
     ISMHelper.Mp4Box box = ISMHelper.Mp4Box.CreateAudioMOOVBox((Int16)TrackID, MaxFramesize, Bitrate, BitsPerSample, SamplingRate, Channels, TimeScale, Duration, Language, CodecPrivateData, ProtectionGuid, ProtectionData);
     if (box != null)
     {
         return(box.GetBoxBytes());
     }
     return(null);
 }
示例#4
0
 public virtual byte[] GetMFRAData(ulong OffsetWithVideo)
 {
     ISMHelper.Mp4Box box = ISMHelper.Mp4Box.CreateMFRABox((Int16)TrackID, ListTimeOffset, OffsetWithVideo);
     if (box != null)
     {
         return(box.GetBoxBytes());
     }
     return(null);
 }