Inheritance: FullBox
Ejemplo n.º 1
0
        /// <summary>
        /// Creates an 'mvex' box, which signals that the containing file is
        /// at least partially fragmented.
        /// Also adds blank 'trex' boxes for each track ID specified
        /// </summary>
        public mvex(params MediaStream[] MediaStreams)
            : base("mvex")
        {
            // 'mvex' itself is just a signaller. The 'trex' boxes are meant to save size, but they actually don't save very much.

            mehd header = new mehd();
            AddChild(header);

            foreach (var track in MediaStreams) {
                trex t = new trex(track.TrackId);
                AddChild(t);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates an 'mvex' box, which signals that the containing file is
        /// at least partially fragmented.
        /// Also adds blank 'trex' boxes for each track ID specified
        /// </summary>
        public mvex(params MediaStream[] MediaStreams) : base("mvex")
        {
            // 'mvex' itself is just a signaller. The 'trex' boxes are meant to save size, but they actually don't save very much.

            mehd header = new mehd();

            AddChild(header);

            foreach (var track in MediaStreams)
            {
                trex t = new trex(track.TrackId);
                AddChild(t);
            }
        }