Esempio n. 1
0
 public NREncoder(NativeEncodeConfig config)
 {
     EncodeConfig  = new NativeEncodeConfig(config);
     NativeEncoder = new NativeEncoder();
     NativeEncoder.Create();
 }
Esempio n. 2
0
 public NREncoder(int width, int height, int bitRate, int fps, CodecType codectype, string path)
 {
     EncodeConfig  = new NativeEncodeConfig(width, height, bitRate, fps, codectype, path);
     NativeEncoder = new NativeEncoder();
     NativeEncoder.Create();
 }