Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Common Intermediate Format
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Multiple issues|{{Inline citations|date=April 2023}} {{One source|date=April 2023}}{{notability|date=May 2023}}}} '''CIF''' (''Common Intermediate Format'' or ''Common Interchange Format''), also known as '''FCIF''' (''Full Common Intermediate Format''), is a standardized format for the [[picture resolution]], [[frame rate]], [[color space]], and [[color subsampling]] of [[digital video]] sequences used in [[video teleconferencing]] systems. It was first defined in the [[H.261]] standard in 1988. [[File:CIF and D1 definitions comparison.svg|500px|thumb|Comparison of CIF formats and [[D-1 (Sony)|D-1]]]] As the word "common" in its name implies, CIF was designed as a common compromise format to be relatively easy to convert for use either with [[PAL]] or [[NTSC]] standard displays and cameras. CIF defines a video sequence with a resolution of 352 Γ 288, which has a simple relationship to the PAL picture size, but with a frame rate of 30000/1001 (roughly 29.97) frames per second like NTSC, with color encoded using a [[YCbCr]] representation with [[4:2:0]] color sampling. It was designed as a compromise between PAL and NTSC schemes, since it uses a picture size that corresponds most easily to PAL, but uses the frame rate of NTSC. The compromise was established as a way to reach international agreement so that video conferencing systems in different countries could communicate with each other without needing two separate modes for displaying the received video. ==Technical details== The simple way to convert NTSC video to CIF is to capture every other [[field (video)|field]] (e.g., the top fields) of [[interlaced video]], [[Sample-rate conversion|downsample]] it by 2:1 horizontally to convert 704 samples per line to 352 samples per line, and [[Sample-rate conversion|upsample]] it vertically by a ratio of 6:5 vertically to convert 240 lines to 288 lines. The simple way to convert PAL video to CIF is to similarly capture every other field, downsample it horizontally by 2:1, and introduce some [[jitter]] in the frame rate by skipping or repeating frames as necessary. Since H.261 systems typically operated at low [[bit rate]]s, they also typically operated at low frame rates by skipping many of the camera source frames, so introducing some jitter in the frame rate tended not to be noticeable. More sophisticated conversion schemes (e.g., using [[deinterlacing]] to improve the vertical resolution from an NTSC camera) could also be used in higher quality systems. In contrast to the CIF compromise that originated with the H.261 standard, there are two variants of the SIF (''[[Source Input Format]]'') that was first defined in the [[MPEG-1]] standard. SIF is otherwise very similar to CIF. SIF on 525-line ("NTSC") based systems is 352 Γ 240 with a frame rate of 30000/1001 frames per second, and on 625-line ("PAL") based systems, it has the same picture size as CIF (352 Γ 288) but with a frame rate of 25 frames per second. Some references to CIF are intended to refer only to its ''resolution'' (352 Γ 288), without intending to refer to its frame rate. The YCbCr color representation had been previously defined in the first standard digital video source format, [[CCIR 601]], in 1982. However, CCIR 601 uses [[4:2:2]] color sampling, which subsamples the Cb and Cr components only horizontally. H.261 additionally used vertical color subsampling, resulting in what is known as 4:2:0. '''QCIF''' means "Quarter CIF". To have one quarter of the area, as "quarter" implies, the height and width of the frame are halved. Terms also used are '''SQCIF''' (Sub Quarter CIF, sometimes '''Sub-QCIF'''<!-- Avidemux 2.5.1 (r5429) -->), '''SCIF''' (sometimes '''Sub-CIF''' <!-- Very uncommon, but a number of papers and sources include this resolution and term -->), '''4CIF''' (4 Γ CIF), '''9CIF''' (9 Γ CIF) and '''16CIF''' (16 Γ CIF). The resolutions for all of these formats are summarized in the table below. {| class="wikitable" |- !Format !Video Resolution ![[Aspect ratio (image)|Storage aspect ratio (SAR)]] |- | SQCIF || 128 Γ 96 || 4:3 |- | QCIF || 176 Γ 144 || 11:9 |- | SCIF || 256 x 192 || 4:3 |- | [[Source Input Format|SIF]](525)|| 352 x 160 || 11:5 (β13:6) |- | CIF/SIF(625)|| 352 Γ 288 || 11:9 |- | 4SIF(525) || 704 x 320 || 11:5 (β13:6) |- | 4CIF/4SIF(625)|| 704 Γ 576 || 11:9 |- | 9CIF || 1056 Γ 864 || 11:9 |- | 16CIF ||1408 Γ 1152 || 11:9 |} xCIF [[pixel]]s are not square, instead having a β³nativeβ³ aspect ratio ([[pixel aspect ratio#Pixel aspect ratios of common video formats|pixel aspect ratio (PAR)]]) of 12:11 (PAR = [[Display aspect ratio|DAR]] : [[Storage aspect ratio|SAR]] = {{sfrac|4|3}} : {{sfrac|11|9}} = {{sfrac|12|11}}), as with the standard for 625-line systems (see [[CCIR 601]]). On square-pixel displays (e.g., computer screens and many modern televisions) xCIF rasters should be rescaled so that the picture covers a 4:3 area, in order to avoid a "stretched" look: CIF content expanded horizontally by 12:11 results in a 4:3 raster of 384 Γ 288 square pixels (384 = 352 * 12/11). (This can happen on larger graphics displays of any aspect ratio in a [[Window (computing)|window]] of {{resx|384|288}} square pixels or enlarged to full screen on any larger 4:3 graphic display.){{cn|reason=A citation is needed that there are graphics displays with a resolution of 384 Γ 288 pixels|date=May 2023}} The CIF and QCIF picture dimensions were specifically chosen to be multiples of 16 because of the way that [[discrete cosine transform]] based video compression/decompression was handled in H.261, using 16 Γ 16 [[macroblock]]s and 8 Γ 8 transform blocks. So a CIF-size image (352 Γ 288) contains 22 Γ 18 macroblocks and a QCIF image (176 Γ 144) contains 11 Γ 9 macroblocks. The 16 Γ 16 macroblock concept was later also used in other compression standards such as [[MPEG-1]], [[H.262/MPEG-2 Part 2|MPEG-2]], [[MPEG-4 Part 2]], [[H.263]], and [[H.264/MPEG-4 AVC]]. == See also == * [[H.261]] * [[H.263]] * [[H.264]] * [[List of common display resolutions]] * [[Digital Video Broadcasting|DVB]] * [[DVD]] * [[High-definition television|HDTV]] * [[VCD]] * [[Source Input Format]] * [[3GP and 3G2]] ==References== * [http://www.itu.int/rec/T-REC-H.261-199303-I/en ITU-T H.261 standard] [[Category:Telecommunications standards]] [[Category:Videotelephony]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cn
(
edit
)
Template:Multiple issues
(
edit
)
Template:Resx
(
edit
)
Template:Sfrac
(
edit
)