⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qt4l_codecs.html

📁 这个库实现了录象功能
💻 HTML
字号:
<TITLE>Quicktime for Linux</TITLE><H1>Codec information</H1>The following concerns all the codecs built into the library.<P><H1>DIVX</H1>This encodes video in MPEG-4 using the OpenDivx codec.  This is thepreferred compressed format although it probably won't be supported byMicrosoft or Apple any time soon.  It takes the followingparameters:<P><CODE>divx_bitrate (int)<BR>divx_rc_period (int)<BR>divx_rc_reaction_ratio (int)<BR>divx_rc_reaction_period (int)<BR>divx_max_key_interval (int)<BR>divx_max_quantizer (int)<BR>divx_min_quantizer (int)<BR>divx_quantizer (int)<BR>divx_quality (int)<BR>divx_fix_bitrate (int)<BR></CODE><P><H1>DV</H1>DV is supported for full decoding but only for black and white encodingon IA-32 platforms/architectures.  Secondly, only NTSC 25 Mbit/sec4:1:1 DV data has ever been tested.  There are two derivatives of DV:<B>DVC</B> and <B>DVCP</B>.  Only DVC is currently supported.<P><H1>IMA4</H1>The IMA4 compressor reduces 16 bit audio data to 1/4 size, with verygood quality.  For many years IMA4 was the best compressed audio formatin Quicktime.  The first Starwars trailer in 1998 was encoded usingIMA4 audio.<P><H1>JPEG</H1>JPEG is preferred for compressed video.  This format writes a seperateJPEG photo for every frame in YUV 4:2:0.<P>JPEG supports the following parameters, which can be set afterquicktime_set_video.<P><CODE>jpeg_quality  (int)<BR>jpeg_usefloat (int)<BR></CODE><P>These takes a quality factor from 1 - 100 and a booleen flag todetermine whether floating point operations should be used to slow itdown.<P><H1>MJPA</H1>MJPA stores each frame as two JPEGs interlaced and in YUV 4:2:2.  Thereal advantage is that it can split compression and decompressionacross 2 processors and it supports higher color sampling than JPEGPhoto.  To enable dualized MJPA processing call:<P><CODE>quicktime_set_cpus(quicktime_t *file, int cpus);<P></CODE>immediately after the <B>quicktime_init</B> call.  Cpus should containthe number of CPUs to devote to compression.<P>After specifying MJPA in quicktime_set_video you need to call<B>quicktime_set_jpeg</B> as described previously.<P><H1>PNG</H1>This consists of one PNG image for every frame.  Like <B>RAW</B> thiscodec supports 32 bit depths.<P><H1>RAW</H1>RAW identifies both a video and an audio codec.  When you specify RAWfor an <B>audio</B> track you invoke unsigned 8 bit encoding so you'll probablynever use it.<P>When you specify RAW for a <B>video</B> track you get RGB packedframes.  RAW video supports alpha channels.  To get RGBA packed framesyou can then issue <P><CODE>int quicktime_set_depth(quicktime_t *file, int depth, int track);</CODE><P>specifying a depth of 32.<P><H1>TWOS</H1>Twos is the preferred encoding for uncompressed audio.  It stores 8,16, and 24 bit audio, interleaved for multiple channels.  The 8 bitmode is signed.  The 16 and 24 bit modes are big endian signed.<H1>Vorbis</H1>This is the preferred encoding for compressed audio although itprobably won't be supported by Microsoft or Apple any time soon.  Ittakes the following parameters:<P><CODE>vorbis_bitrate (int)<BR>vorbis_max_bitrate (int)<BR>vorbis_min_bitrate (int)<BR></CODE><P>Units are bits per second.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -