FOURCC四字符码列表

  用到Opencv处理视频时会涉及到编码问题,通常通过FOURCC四字符码来设置,所以找到了比较齐全的fourcc码列表:


FourCCDescription
1978A.M.Paredes predictor (LossLess)
2VUYOptibase VideoPump 8-bit 4:2:2 Component YCbCr
3IV0MPEG4-based codec 3ivx
3IV1MPEG4-based codec 3ivx
3IV2MPEG4-based codec 3ivx
3IVDFFmpeg DivX ;-) (MS MPEG-4 v3)
3IVXMPEG4-based codec 3ivx
8BPSApple QuickTime Planar RGB with Alpha-channel
AAS4Autodesk Animator codec (RLE)
AASCAutodesk Animator codec (RLE)
ABYRKensington codec (low resolution, low frame rate (6fps) codec for digital cameras)
ACTLStreambox ACT-L2
ADV1Loronix WaveCodec (used in various CCTV products)
ADVJAvid M-JPEG Avid Technology Also known as AVRn
AEIKIntel Indeo Video 3.2 (Vector Quantization)
AEMIArray VideoONE MPEG1-I Capture
AFLCAutodesk Animator FLC (256 color)
AFLIAutodesk Animator FLI (256 color)
AHDVCineForm 10-bit Visually Perfect HD (Wavelet)
AJPG22fps JPEG-based codec for digital cameras
AMPGArray VideoONE MPEG
ANIMIntel RDX
AP41AngelPotion Definitive (hack MS MP43)
AP42AngelPotion Definitive (hack MS MP43)
ASLCAlparySoft Lossless Codec
ASV1Asus Video V1
ASV2Asus Video V2
ASVXAsus Video 2.0
ATM4Ahead Nero Digital MPEG-4 Codec
AUR2Aura 2 Codec - YUV 422
AURAAura 1 Codec - YUV 411
AV1XAvid 1:1x (Quick Time)
AVC1AVC1 codec (supported by ffdshow)
AVD1Avid DV (Quick Time)
AVDJAvid Meridien JFIF with Alpha-channel
AVDNAvid DNxHD (Quick Time)
AVDVAvid DV
AVI1MainConcept Motion JPEG Codec
AVI2MainConcept Motion JPEG Codec
AVIDAvid Motion JPEG
AVISWrapper for AviSynth (Dummy codec)
AVMPAvid IMX (Quick Time)
AVRAvid ABVB/NuVista MJPEG with Alpha-channel
AVRNAvid Motion JPEG
AVUIAvid Meridien Uncompressed with Alpha-channel
AVUPAvid 10bit Packed (Quick Time)
AYUV4:4:4 YUV (AYUV)
AZPRQuicktime Apple Video
AZRPQuicktime Apple Video
BGRUncompressed BGR32 8:8:8:8
BGR(15)Uncompressed BGR15 5:5:5
BGR(16)Uncompressed BGR16 5:6:5
BGR(24)Uncompressed BGR24 8:8:8
BHIVBeHere iVideo
BINKBink Video (RAD Game Tools)
BITBI_BITFIELDS (Raw RGB)
BITMMicrosoft H.261
BLOXJan Jezabek BLOX MPEG Codec
BLZ0DivX for Blizzard Decoder Filter
BT20Conexant (ex Brooktree) ProSummer MediaStream
BTCVConexant Composite Video
BTVCConexant Composite Video
BW00BergWave (Wavelet)
BW10Data Translation Broadway MPEG Capture/Compression
BXBGBOXX BGR
BXRGBOXX RGB
BXY2BOXX 10-bit YUV
BXYVBOXX YUV
CC12Intel YUV12 Codec
CDV5Canopus SD50/DVHD
CDVCCanopus DV Codec
CDVHCanopus SD50/DVHD
CFCCDPS Perception Motion JPEG (dummy format - only AVI header)
CFHDCineForm 10-bit Visually Perfect HD (Wavelet)
CGDICamcorder Video (MS Office 97)
CHAMWinNow Caviara Champagne
CJPGCreative Video Blaster Webcam Go JPEG
CLJRCirrus Logic YUV 4:1:1
CLLCCanopus LossLess
CLPLFormat similar to YV12 but including a level of indirection.
CMYKCommon Data Format in Printing
COL0FFmpeg DivX ;-) (MS MPEG-4 v3)
COL1FFmpeg DivX ;-) (MS MPEG-4 v3)
CPLAWeitek YUV 4:2:0 Planar
CRAMMicrosoft Video 1
CSCDRenderSoft CamStudio lossless Codec (LZO & GZIP compression)
CTRXCitrix Scalable Video Codec
CUVCCanopus HQ
CVIDCinepak by CTi (ex. Radius) Vector Quantization
CWLTMicrosoft Color WLT DIB
CYUVCreative Labs YUV 4:2:2
CYUYATI Technologies YUV
D261DEC H.261
D263DEC H.263
DAVCDicas MPEGable H.264/MPEG-4 AVC base profile codec
DC25MainConcept ProDV Codec
DCAPPinnacle DV25 Codec
DCL1Data Connection Conferencing Codec
DCT0WniWni Codec
DFSCDebugMode FrameServer VFW Codec
DIBFull Frames (Uncompressed)
DIV1FFmpeg-4 V1 (hacked MS MPEG-4 V1)
DIV2MS MPEG-4 V2
DIV3Low motion DivX MPEG-4
DIV4Fast motion DivX MPEG-4
DIV5DivX MPEG-4
DIV6DivX MPEG-4
DIVXOpenDivX (DivX 4.0 and later)
DM4VDicas MPEGable MPEG-4
DMB1Matrox Rainbow Runner hardware compression (Motion JPEG)
DMB2Motion JPEG codec used by Paradigm
DMK2ViewSonic V36 PDA Video
DP02DynaPel MPEG-4
DPS0DPS Reality Motion JPEG (dummy format - only AVI header)
DPSCDPS PAR Motion JPEG (dummy format - only AVI header)
DRWXPinnacle DV25 Codec
DSVDMicrosoft DirectShow DV
DTMTMedia-100 Codec
DTNTMedia-100 Codec
DUCKTrue Motion 1.0
DV10BlueFish444 (lossless RGBA, YUV 10-bit)
DV25Matrox DVCPRO codec
DV50Matrox DVCPRO50 codec
DVANPinnacle miroVideo DV300 SW only codec
DVCApple QuickTime DV (DVCPRO NTSC)
DVCPApple QuickTime DV (DVCPRO PAL)
DVCSMainConcept DV Codec
DVE2InSoft DVE-2 Videoconferencing Codec
DVH1Pinnacle DVHD100
DVHDDV 1125 lines at 30.00 Hz or 1250 lines at 25.00 Hz
DVISVSYNC DualMoon Iris DV codec
DVLRadius SoftDV 16:9 NTSC
DVLPRadius SoftDV 16:9 PAL
DVMADarim Vision DVMPEG (dummy for MPEG compressor)
DVORBlueFish444 (lossless RGBA, YUV 10-bit)
DVPNApple QuickTime DV (DV NTSC)
DVPPApple QuickTime DV (DV PAL)
DVR1TARGA2000 Codec
DVRSVSYNC DualMoon Iris DV codec
DVSDSony Digital Video (DV) 525 lines at 29.97 Hz or 625 lines at 25.00 Hz
DVSLDV compressed in SD (SDL)
DVX1Lucent DVX1000SP Video Decoder
DVX2Lucent DVX2000S Video Decoder
DVX3Lucent DVX3000S Video Decoder
DX50DivX 5.0 codec
DXGMElectronic Arts Game Video codec
DXSBDivX Subtitles Codec
DXT1DirectX Compressed Texture (1bit alpha channel)
DXT2DirectX Compressed Texture
DXT3DirectX Compressed Texture (4bit alpha channel)
DXT4DirectX Compressed Texture
DXT5DirectX Compressed Texture (3bit alpha channel with interpolation)
DXTCDirectX Texture Compression
DXTNMicrosoft DirectX Compressed Texture (DXTn)
EKQ0Elsa graphics card quick codec
ELK0Elsa graphics card codec
EM2VEtymonix MPEG-2 I-frame
EQK0Elsa graphics card quick codec
ESCPEidos Technologies Escape codec
ETV1eTreppid Video Codec
ETV2eTreppid Video Codec
ETVCeTreppid Video Codec
FFDSFFDShow supported
FFV1FFDShow supported
FFVHFFVH codec (supported by ffdshow)
FLICAutodesk FLI/FLC Animation
FLJPD-Vision Field Encoded MJPEG with LSI (or Targa emulation)
FLV1FLV1 codec (supported by ffdshow)
FMJPD-Vision fieldbased ISO MJPEG
FRLESoftLab-NSK Y16 + Alpha RLE
FRWASoftLab-NSK Vision Forward Motion JPEG with Alpha-channel
FRWDSoftLab-NSK Vision Forward Motion JPEG
FRWTSoftLab-NSK Vision Forward Motion JPEG with Alpha-channel
FRWUSoftLab-NSK Vision Forward Uncompressed
FVF1Iterated Systems Fractal Video Frame
FVFWff MPEG-4 based on XviD codec
GEPJWhite Pine (ex Paradigm Matrix) Motion JPEG Codec
GJPGGrand Tech GT891x Codec
GLCCGigaLink AV Capture codec
GLZWMotion LZW by gabest@freemail.hu
GPEGMotion JPEG by gabest@freemail.hu (with floating point)
GPJMPinnacle ReelTime MJPEG Codec
GREYApparently a duplicate of Y800
GWLTMicrosoft Greyscale WLT DIB
H260Intel ITU H.260
H261Intel ITU H.261
H262Intel ITU H.262
H263Intel ITU H.263
H264Intel ITU H.264
H265Intel ITU H.265
H266Intel ITU H.266
H267Intel ITU H.267
H268Intel ITU H.268
H269Intel ITU H.263 for POTS-based videoconferencing
HD10BlueFish444 (lossless RGBA, YUV 10-bit)
HDX4Jomigo HDX4
HFYUHuffman Lossless Codec YUV and RGB formats (with Alpha-channel)
HMCRRendition Motion Compensation Format
HMRRRendition Motion Compensation Format
I263Intel ITU H.263
I420Intel Indeo 4 H.263
IANIndeo 4 (RDX) Codec
ICLBInSoft CellB Videoconferencing Codec
IDM0IDM Motion Wavelets 2.0
IF09Microsoft H.261
IGORPower DVD
IJPGIntergraph JPEG
ILVCIntel Layered Video
ILVRITU H.263+ Codec
IMC1As YV12, except the U and V planes each have the same stride as the Y plane
IMC2Similar to IMC1, except that the U and V lines are interleaved at half stride boundaries
IMC3As IMC1, except that U and V are swapped
IMC4As IMC2, except that U and V are swapped
IMJGAccom SphereOUS MJPEG with Alpha-channel
IPDVGiga AVI DV Codec
IPJ2Image Power JPEG2000
IR21Intel Indeo 2.1
IRAWIntel YUV Uncompressed
IUYVInterlaced version of UYVY (line order 0,2,4 then 1,3,5 etc)
IV30Intel Indeo Video 3
IV31Intel Indeo Video 3.1
IV32Intel Indeo Video 3.2
IV33Intel Indeo Video 3.3
IV34Intel Indeo Video 3.4
IV35Intel Indeo Video 3.5
IV36Intel Indeo Video 3.6
IV37Intel Indeo Video 3.7
IV38Intel Indeo Video 3.8
IV39Intel Indeo Video 3.9
IV40Intel Indeo Video 4.0
IV41Intel Indeo Video 4.1
IV42Intel Indeo Video 4.2
IV43Intel Indeo Video 4.3
IV44Intel Indeo Video 4.4
IV45Intel Indeo Video 4.5
IV46Intel Indeo Video 4.6
IV47Intel Indeo Video 4.7
IV48Intel Indeo Video 4.8
IV49Intel Indeo Video 4.9
IV50Intel Indeo Video 5.0 Wavelet
IY41Interlaced version of Y41P (line order 0,2,4,...,1,3,5...)
IYU112 bit format used in mode 2 of the IEEE 1394 Digital Camera 1.04 spec
IYU224 bit format used in mode 2 of the IEEE 1394 Digital Camera 1.04 spec
IYUVIntel Indeo iYUV 4:2:0
JBYRKensington Video Codec
JFIFMotion JPEG (FFmpeg)
JPEGStill Image JPEG DIB
JPGJPEG compressed
JPGLDIVIO JPEG Light for WebCams (Pegasus Lossless JPEG)
KMVCKarl Morton Video Codec
KPCDKodak Photo CD
L261Lead Technologies H.261
L263Lead Technologies H.263
LAGSLagarith LossLess
LBYRCreative WebCam codec
LCMWLead Technologies Motion CMW Codec
LCW2LEADTools MCMW 9Motion Wavelet)
LEADLEAD Video Codec
LGRYLead Technologies Grayscale Image
LJ2KLEADTools JPEG2000
LJPGLEAD Motion JPEG Codec
LMP2LEADTools MPEG2
LOCOLOCO Lossless Codec
LSCRLEAD Screen Capture
LSVMVianet Lighting Strike Vmail (Streaming)
LZO1LZO compressed (lossless codec)
M261Microsoft H.261
M263Microsoft H.263
M4CCESS MPEG4 Divio codec
M4S2Microsoft MPEG-4 (hacked MS MPEG-4)
MC12ATI Motion Compensation Format
MC24MainConcept Motion JPEG Codec
MCAMATI Motion Compensation Format
MCZMTheory MicroCosm Lossless 64bit RGB with Alpha-channel
MDVDAlex MicroDVD Video (hacked MS MPEG-4)
MDVFPinnacle DV/DV50/DVHD100
MHFYA.M.Paredes mhuffyYUV (LossLess)
MJ2CMorgan Multimedia JPEG2000 Compression
MJPAPinnacle ReelTime MJPG hardware codec
MJPBMotion JPEG codec
MJPGMotion JPEG including Huffman Tables
MJPXPegasus PICVideo Motion JPEG
MMESMatrox MPEG-2 I-frame
MNVDMindBend MindVid LossLess
MP2AMedia Excel MPEG-2 Audio
MP2TMedia Excel MPEG-2 Transport Stream
MP2VMedia Excel MPEG-2 Video
MP41Microsoft MPEG-4 V1 (enhansed H263)
MP42Microsoft MPEG-4 V2
MP43Microsoft MPEG-4 V3
MP4AMedia Excel MPEG-4 Audio
MP4SMicrosoft MPEG-4 (Windows Media 7.0)
MP4TMedia Excel MPEG-4 Transport Stream
MP4VApple QuickTime MPEG-4 native
MPEGChromatic MPEG 1 Video I Frame
MPG1FFmpeg-1
MPG2FFmpeg-1
MPG3Same as Low motion DivX MPEG-4
MPG4Microsoft MPEG-4 V1
MPGISigma Design MPEG-1 I-frame
MPNGMotion PNG codec
MRCAFAST Multimedia MR Codec
MRLEMicrosoft Run Length Encoding
MSS1Windows Screen Video
MSS2Windows Media 9
MSUCMSU LossLess
MSVCMicrosoft Video 1
MSZHLossless codec (ZIP compression)
MTGAMotion TGA images (24, 32 bpp)
MTX1Matrox Motion-JPEG codec
MTX2Matrox Motion-JPEG codec
MTX3Matrox Motion-JPEG codec
MTX4Matrox Motion-JPEG codec
MTX5Matrox Motion-JPEG codec
MTX6Matrox Motion-JPEG codec
MTX7Matrox Motion-JPEG codec
MTX8Matrox Motion-JPEG codec
MTX9Matrox Motion-JPEG codec
MV12Motion Pixels Codec (old)
MVI1Motion Pixels MVI
MVI2Motion Pixels MVI
MWV1Aware Motion Wavelets
MYUVMedia-100 844/X Uncompressed
NAVInAVI video codec (hacked MS MPEG-4)
NDIGAhead Nero Digital MPEG-4 Codec
NHVUNVidia Texture Format (GEForce 3)
NO16Theory None16 64bit uncompressed RAW
NT00NewTek LigtWave HDTV YUV with Alpha-channel
NTN1Nogatech Video Compression 1
NTN2Nogatech Video Compression 2 (GrabBee hardware coder)
NUV1NuppelVideo
NV128-bit Y plane followed by an interleaved U/V plane with 2x2 subsampling
NV21As NV12 with U and V reversed in the interleaved plane
NVDSnVidia Texture Format
NVHSNVidia Texture Format (GEForce 3)
NVS0nVidia Texture Compression Format
NVS1nVidia Texture Compression Format
NVS2nVidia Texture Compression Format
NVS3nVidia Texture Compression Format
NVS4nVidia Texture Compression Format
NVS5nVidia Texture Compression Format
NVT0nVidia Texture Compression Format
NVT1nVidia Texture Compression Format
NVT2nVidia Texture Compression Format
NVT3nVidia Texture Compression Format
NVT4nVidia Texture Compression Format
NVT5nVidia Texture Compression Format
PDVCPanasonic DV codec
PGVVRadius Video Vision Telecast (adaptive JPEG)
PHMOIBM Photomotion
PIM1Pinnacle DC1000 hardware codec (MPEG compression)
PIM2Pegasus Imaging codec
PIMJPegasus Imaging PICvideo Lossless JPEG
PIXLMiroVideo XL (Motion JPEG)
PNGApple PNG
PNG1Corecodec.org CorePNG Codec
PVEZHorizons Technology PowerEZ codec
PVMMPacketVideo Corporation MPEG-4
PVW2Pegasus Imaging Wavelet 2000
PVWVPegasus Imaging Wavelet 2000
PXLTApple Pixlet (Wavelet)
Q1.0Q-Team QPEG 1.0 (www.q-team.de)
Q1.1Q-Team QPEG 1.1 (www.q-team.de)
QDGXApple QuickDraw GX
QPEGQ-Team QPEG 1.1
QPEQQ-Team QPEG 1.1
R210BlackMagic YUV (Quick Time)
R411Radius DV NTSC YUV
R420Radius DV PAL YUV
RAV_GroupTRON ReferenceAVI codec (dummy for MPEG compressor)
RAVIGroupTRON ReferenceAVI codec (dummy for MPEG compressor)
RAWFull Frames (Uncompressed)
RGBFull Frames (Uncompressed)
RGB(15)Uncompressed RGB15 5:5:5
RGB(16)Uncompressed RGB16 5:6:5
RGB(24)Uncompressed RGB24 8:8:8
RGB1Uncompressed RGB332 3:3:2
RGBARaw RGB with alpha
RGBOUncompressed RGB555 5:5:5
RGBPUncompressed RGB565 5:6:5
RGBQUncompressed RGB555X 5:5:5 BE
RGBRUncompressed RGB565X 5:6:5 BE
RGBTUncompressed RGB with transparency
RL4RLE 4bpp RGB
RL8RLE 8bpp RGB
RLERaw RGB with arbitrary sample packing within a pixel
RLE4Run length encoded 4bpp RGB image
RLE8Run length encoded 8bpp RGB image
RMP4REALmagic MPEG-4 Video Codec (Sigma Design, built on XviD)
ROQVId RoQ File Video Decoder
RPZAApple Video 16 bit "road pizza"
RT21Intel Real Time Video 2.1
RTV0NewTek VideoToaster (dummy format - only AVI header)
RUD0Rududu video codec
RV10RealVideo codec
RV13RealVideo codec
RV20RealVideo G2
RV30RealVideo 8
RV40RealVideo 9
RVXIntel RDX
S263S263 codec (supported by ffdshow)
S422VideoCap C210 YUV Codec
SAN3MPEG-4 codec (direct copy of DivX 3.11a)
SDCCSun Digital Camera Codec
SEDGSamsung MPEG-4 codec
SFMCCrystal Net SFM (Surface Fitting Method) Codec
SHR0BitJazz SheerVideo (realtime lossless)
SHR1BitJazz SheerVideo (realtime lossless)
SHR2BitJazz SheerVideo (realtime lossless)
SHR3BitJazz SheerVideo (realtime lossless)
SHR4BitJazz SheerVideo (realtime lossless)
SHR5BitJazz SheerVideo (realtime lossless)
SHR6BitJazz SheerVideo (realtime lossless)
SHR7BitJazz SheerVideo (realtime lossless)
SJPGCUseeMe Networks Codec
SL25SoftLab-NSK DVCPRO
SL50SoftLab-NSK DVCPRO50
SLDVSoftLab-NSK Forward DV Draw codec
SLIFSoftLab-NSK MPEG2 I-frames
SLMJSoftLab-NSK Forward MJPEG
SMCApple Graphics (SMC) codec (256 color)
SMSCRadius proprietary codec
SMSDRadius proprietary codec
SMSVWorldConnect Wavelet Streaming Video
SNOWSNOW codec (supported by ffdshow)
SP40SunPlus YUV
SP44SunPlus Aiptek MegaCam Codec
SP53SunPlus Aiptek MegaCam Codec
SP54SunPlus Aiptek MegaCam Codec
SP55SunPlus Aiptek MegaCam Codec
SP56SunPlus Aiptek MegaCam Codec
SP57SunPlus Aiptek MegaCam Codec
SP58SunPlus Aiptek MegaCam Codec
SPIGRadius Spigot
SPLCSplash Studios ACM Audio Codec
SPRKSorenson Spark
SQZ2Microsoft VXTreme Video Codec V2
STVAST CMOS Imager Data (Bayer)
STVBST CMOS Imager Data (Nudged Bayer)
STVCST CMOS Imager Data (Bunched)
STVXST CMOS Imager Data (Extended)
STVYST CMOS Imager Data (Extended with Correction Data)
SV10Sorenson Media Video R1
SVQ1Sorenson Video (Apple Quicktime 3)
SVQ3Sorenson Video 3 (Apple Quicktime 5)
SWC1MainConcept Motion JPEG Codec
T420Toshiba YUV 4:2:0
TGAApple TGA (with Alpha-channel)
THEOFFVFW Supported Codec
TIFFApple TIFF (with Alpha-channel)
TIM2Pinnacle RAL DVI
TLMSTeraLogic Motion Infraframe Codec A
TLSTTeraLogic Motion Infraframe Codec B
TM20Duck TrueMotion 2.0
TM2ADuck TrueMotion Archiver 2.0
TM2XDuck TrueMotion 2X
TMICTeraLogic Motion Intraframe Codec 2
TMOTTrueMotion Video Compression
TR20Duck TrueMotion RT 2.0
TRLEAkula Alpha Pro Custom AVI (LossLess)
TSCCTechSmith Screen Capture Codec
TV10Tecomac Low-Bit Rate Codec
TVJPTrueVision Field Encoded Motion JPEG (Targa emulation)
TVMJTruevision TARGA MJPEG Hardware Codec (or Targa emulation)
TY0NTrident Decompression Driver
TY2CTrident Decompression Driver
TY2NTrident Decompression Driver
U<YDiscreet UC YUV 4:2:2:4 10 bit
U<YADiscreet UC YUV 4:2:2:4 10 bit (with Alpha-channel)
U263UB Video StreamForce H.263
UCODClearVideo (fractal compression-based codec)
ULTIIBM Corp. Ultimotion
UMP4UB Video MPEG 4
UYNVA direct copy of UYVY registered by nVidia to work around problems in some old codecs which did not like hardware that offered more than 2 UYVY surfaces
UYVPYCbCr 4:2:2 extended precision 10-bits per component in U0Y0V0Y1 order
UYVUSoftLab-NSK Forward YUV codec
UYVYYUV 4:2:2 (Y sample at every pixel, U and V sampled at every second pixel horizontally on each line)
V210Optibase VideoPump 10-bit 4:2:2 Component YCbCr
V261Lucent elemedia VX3000S
V422Vitec Multimedia YUV 4:2:2 as for UYVY, but with different component ordering within the u_int32 macropixel
V655Vitec Multimedia 16 bit YUV 4:2:2 (6:5:5) format
VBLEMarcFD VBLE Lossless Codec
VCR1ATI VCR 1.0
VCR2ATI VCR 2.0 (MPEG YV12)
VCR3ATI VCR 3.0
VCR4ATI VCR 4.0
VCR5ATI VCR 5.0
VCR6ATI VCR 6.0
VCR7ATI VCR 7.0
VCR8ATI VCR 8.0
VCR9ATI VCR 9.0
VDCTVideo Maker Pro DIB
VDOMVDOnet VDOWave
VDOWVDOLive (H.263)
VDSTVirtualDub remote frameclient ICM driver
VDTZDarim Vision VideoTizer YUV
VGPXAlaris VideoGramPixel Codec
VIDMDivX 5.0 Pro Supported Codec
VIDSVitec Multimedia YUV 4:2:2 codec
VIFPVirtual Frame API codec (VFAPI dummy format)
VIV1Vivo H.263
VIV2Vivo H.263
VIVOVivo H.263
VIXLMiroVideo XL (Motion JPEG)
VLV1VideoLogic codec
VP30On2 (ex Duck TrueMotion) VP3
VP31On2 (ex Duck TrueMotion) VP3
VP40On2 TrueCast VP4
VP50On2 TrueCast VP5
VP60On2 TrueCast VP6
VP61On2 TrueCast VP6.1
VP62On2 TrueCast VP6.2
VP70On2 TrueMotion VP7
VQC1Vector-quantised codec 1 (high compression) http://eprints.ecs.soton.ac.uk/archive/00001310/01/VTC97-js.pdf
VQC2Vector-quantised codec 2 (high robustness against channel errors) http://eprints.ecs.soton.ac.uk/archive/00001310/01/VTC97-js.pdf
VR21BlackMagic YUV (Quick Time)
VSSHVanguard VSS H.264
VSSVVanguard Software Solutions Video Codec
VSSWVanguard VSS H.264
VTLPAlaris VideoGramPixel Codec
VX1KLucent VX1000S Video Codec
VX2KLucent VX2000S Video Codec
VXSPLucent VX1000SP Video Codec
VYU9ATI Technologies YUV
VYUYATI Packed YUV Data
WBVCWinbond W9960 codec
WHAMMicrosoft Video 1
WINXWinnov Software Compression
WJPGWinbond JPEG (AverMedia USB devices)
WMV1Windows Media Video V7
WMV2Windows Media Video V8
WMV3Windows Media Video V9
WMVAWMVA codec (supported by ffdshow)
WMVPWindows Media Video V9
WNIXWniWni Codec
WNV1WinNow Videum Hardware Compression
WNVAWinnov hw compress
WRLEApple QuickTime BMP Codec
WRPRVideoTools VideoServer Client Codec (wrapper for AviSynth)
WV1FWV1F codec (supported by ffdshow)
WVLTIllusionHope Wavelet 9/7
WVP2WVP2 codec (supported by ffdshow)
X263Xirlink H.263
X264XiWave GNU GPL x264 MPEG-4 Codec
XLV0NetXL Inc. XL Video Decoder
XMPGXING MPEG (I frame only)
XVIDXviD MPEG-4 codec
XVIXBased on XviD MPEG-4 codec
XWV0XiWave Video Codec
XWV1XiWave Video Codec
XWV2XiWave Video Codec
XWV3XiWave Video Codec (Xi-3 Video)
XWV4XiWave Video Codec
XWV5XiWave Video Codec
XWV6XiWave Video Codec
XWV7XiWave Video Codec
XWV8XiWave Video Codec
XWV9XiWave Video Codec
XXANOrigin Video Codec (used in Wing Commander 3 and 4)
XYZPExtended PAL format XYZ palette (www.riff.org)
Y211Packed YUV format with Y sampled at every second pixel across each line and U and V sampled at every fourth pixel
Y216Pinnacle TARGA CineWave YUV (Quick Time)
Y411YUV 4:1:1 Packed
Y41BYUV 4:1:1 Planar
Y41PConexant (ex Brooktree) YUV 4:1:1 Raw
Y41TFormat as for Y41P, but the lsb of each Y component is used to signal pixel transparency
Y422Direct copy of UYVY as used by ADS Technologies Pyro WebCam firewire camera
Y42BYUV 4:2:2 Planar
Y42TFormat as for UYVY, but the lsb of each Y component is used to signal pixel transparency
Y444IYU2 (iRez Stealth Fire camera)
Y8Simple grayscale video
Y800Simple grayscale video
YC12Intel YUV12 Codec
YMPGYMPEG Alpha (dummy for MPEG-2 compressor)
YU12ATI YV12 4:2:0 Planar
YU92Intel - YUV
YUNVA direct copy of YUY2 registered by nVidia to work around problems in some old codecs which did not like hardware that offered more than 2 YUY2 surfaces
YUV2Apple Component Video (YUV 4:2:2)
YUV8Winnov Caviar YUV8
YUV9Intel YUV9
YUVPYCbCr 4:2:2 extended precision 10-bits per component in Y0U0Y1V0 order
YUY2YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel
YUYVCanopus YUV format
YV12ATI YVU12 4:2:0 Planar
YV16Elecard YUV 4:2:2 Planar
YV92Intel Smart Video Recorder YVU9
YVU9Brooktree YVU9 Raw (YVU9 Planar)
YVYUYUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel
ZLIBLossless codec (ZIP compression)
ZPEGMetheus Video Zipper
ZYGOZyGo Video Codec


文章参考:http://blog.csdn.net/tudouniurou/article/details/6286887

  • 2
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: cv2.VideoWriter_fourcc 是 OpenCV 中的一个函数,它用于设置视频编码器。fourcc 是四字码的缩写,用于指定视频的编码格式。使用这个函数可以创建视频写入器,并将图像写入视频文件。 ### 回答2: cv2.VideoWriter_fourcc 是OpenCV库中的一个函数,用于创建并返回一个视频编码器对象。 FourCC 是Four-Character Code的缩写,它是一个用四个字符表示视频编码格式的标识符。每个字符代表一个编码参数。这个函数的作用就是根据传入的四个字符生成一个 FourCC 值。 FourCC值可以是常见的视频编码格式,如MPEG-4编码(MPEG),Xvid编码(XVID),DivX编码(DIVX),Windows Media Video编码(WMV1,WMV2)等。 使用该函数时,我们需要传入一个四个字符构成的字符串作为参数,其中每个字符代表一个编码参数。每个字符的范围是0-255,并且必须是ASCII字符。例如,'XVID'代表了 Xvid 编码,'MP4V'代表了 MPEG-4 编码。 VideoWriter_fourcc 函数的具体用法是作为 VideoWriter 类的参数之一,在创建视频编码器对象时使用。通过指定 FourCC 值,我们可以选择适合我们需求的视频编码格式。在使用 VideoWriter 类的 write 方法时,编码器将按照指定的格式将帧写入视频文件中。 总之,cv2.VideoWriter_fourcc 是用于创建视频编码器对象的函数,它接受一个四个字符构成的字符串作为参数,返回一个 FourCC 值,用于指定视频编码格式。四个字符的组合决定了具体的编码格式,不同的编码格式适用于不同的需求。 ### 回答3: cv2.VideoWriter_fourcc是OpenCV库中用于创建视频编码器的一个函数。它的作用是将四个字符编码转换为一个32位整型的标识符,用来指定视频编码器的压缩格式。 在视频编码器中,每一个字符都代表着一个压缩算法或者编码方式。通过将这四个字符进行编码,可以确定视频编码器的类型和压缩格式。 cv2.VideoWriter_fourcc函数接受四个参数,每个参数必须是一个字符,且必须是ASCII码。它将这四个字符进行按位左移和逻辑或运算,转换为一个32位整型的标识符。 例如,如果我们需要使用MPEG-4编码方式来创建视频编码器,我们可以使用四个字符"XVID"作为参数传递给cv2.VideoWriter_fourcc函数。函数会将这四个字符转换为一个对应的32位整型标识符。 事实上,cv2.VideoWriter_fourcc函数支持多种压缩格式和编码方式,如MJPG、DIVX、XVID等。 使用cv2.VideoWriter_fourcc函数创建视频编码器时,我们需要确保传递的四个字符符合编码器的要求,否则会导致错误或者无法正常保存视频。因此,在使用cv2.VideoWriter_fourcc函数时,我们需要仔细查阅官方文档或相关资料,了解具体的编码方式和压缩格式,并根据需求进行相应的设置。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值