Ejemplo n.º 1
0
        public VideoFile convert(string filename, string format)
        {
            VideoFile    file        = new VideoFile(filename);
            CodecFactory sourceCodec = new CodecFactory().extract(file);

            if (format == "mp4")
            {
                MPEG4CompressionCodec destinationCodec = new MPEG4CompressionCodec();
            }
            else
            {
                OggCompressionCodec destinationCodec = new OggCompressionCodec();
            }



            return(new VideoFile(result));
        }
Ejemplo n.º 2
0
 public static BitrateReader Read(VideoFile filename, CodecFactory sourceCodec)
 {
     return
 }