//
// 摘要:
// 4-character code of codec used to compress the frames.
public readonly struct FourCC : IEquatable<FourCC>
{
public const int Default = -1;
public const int Prompt = -1;
public static readonly int MP42;
public static readonly int IYUV;
public static readonly int MJPG;
public static readonly int M4S2;
public static readonly int X264;
public static readonly int MP43;
public static readonly int MP4S;
public static readonly int MP4V;
public static readonly int MPG1;
public static readonly int MPG2;
public static readonly int MPG4;
public static readonly int MSS1;
public static readonly int MSS2;
public static readonly int MSVC;
public static readonly int JPEG;
public static readonly int PIM1;
public static readonly int WMV1;
public static readonly int WMV2;
public static readonly int WMV3;
public static readonly int IYUB;
public static readonly int IV50;
public static readonly int IV41;
public static readonly int IV32;
public static readonly int AVC;
public static readonly int CVID;
public static readonly int DIB;
public static readonly int DIV3;
public static readonly int DIVX;
public static readonly int DV25;
public static readonly int DV50;
public static readonly int DVC;
public static readonly int WVC1;
public static readonly int DVH1;
public static readonly int DVSD;
public static readonly int DVSL;
public static readonly int H261;
public static readonly int H263;
public static readonly int H264;
public static readonly int H265;
public static readonly int HEVC;
public static readonly int I420;
public static readonly int DVHD;
public static readonly int XVID;
}
这么多压缩格式,哪些是.avi
格式可以用的?哪些是.mp4
格式可以用的?`
我试出来了
.MP4
格式对应着MPG4
其他的不清楚
https://github.com/shimat/opencvsharp/wiki/Video-Writer
这个东西,官方demo写的是 .AVI
对应默认,但是win10的播放器打不开,我也不知道官方demo对不对