37 lines
450 B
C#
37 lines
450 B
C#
#if TOOLS
|
|
using Godot;
|
|
using Rokojori;
|
|
using System.Diagnostics;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using System;
|
|
|
|
namespace Rokojori.Tools;
|
|
|
|
|
|
|
|
public enum FFmpegQuality
|
|
{
|
|
_1_Worst,
|
|
_2,
|
|
_3_Not_Good,
|
|
_4,
|
|
_5,
|
|
_6_Average,
|
|
_7,
|
|
_8_Good,
|
|
_9,
|
|
_10_Best
|
|
}
|
|
|
|
public static class FFmpegQualityTool
|
|
{
|
|
public static int ToInt( FFmpegQuality fFmpegQuality )
|
|
{
|
|
return (int) fFmpegQuality + 1;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endif |