]> Shamusworld >> Repos - ardour-manual-diverged/blob - include/transcoding-formats-amp-codecs.html
Move content from _manual/ to include/.
[ardour-manual-diverged] / include / transcoding-formats-amp-codecs.html
1
2 <p>
3   This chapter provides a short primer on video files, formats and 
4   codecs – because it is often cause for confusion:
5 </p>
6
7 <p>
8   A video file is a <dfn>container</dfn>. It usually contains one 
9   <dfn>video track</dfn> and one or more <dfn>audio tracks</dfn>. 
10   How these tracks are stored in the file is defined by the 
11   <dfn>file format</dfn>. Common formats are 
12   avi, mov, ogg, mkv, mpeg, mpeg-ts, mp4, flv, or vob.
13 </p>
14 <p>
15   Each of the tracks by itself is encoded using a <abbr
16   title="Coder-Decoder"><dfn>Codec</dfn></abbr>. Common video codecs 
17   are h264, mpeg2, mpeg4, theora, mjpeg, wmv3. Common audio codecs are
18   mp2, mp3, dts, aac, wav/pcm.
19 </p>
20 <p>
21   Not all codecs can be packed into a given format. For example the 
22   mpeg format is limited to mpeg2, mpeg4 and mp3 codecs (not entirely true). 
23   DVDs do have stringent limitations as well. The opposite would be .avi; 
24   pretty much every audio/video codec combination can be contained in an avi 
25   file-format.
26 </p>
27 <p>
28   To make things worse, naming conventions for video codecs and formats are 
29   often identical (especially MPEG ones) which leads to confusion.
30   All in all it is a very wide and deep field. Suffice there are different 
31   uses for different codecs and formats.
32 </p>
33
34 <h2>Ardour specific issues</h2>
35 <p>
36   Ardour supports a wide variety of video file formats codecs. More 
37   specifically, Ardour itself actually does not support any video at all 
38   but delegates handling of video files to <a
39   href="http://ffmpeg.org/">ffmpeg</a>, which supports over 350 different 
40   video codecs and more than 250 file formats.
41 </p>
42 <p>
43   When importing a video into Ardour, it will be <dfn>transcoded</dfn> 
44   (changed from one format and codec to another) to avi/mjpeg for internal 
45   use (this allows reliable seeking to frames at low CPU cost &mdash; the 
46   file size will increase, but hard disks are large and fast).
47 </p>
48 <p>
49   The export dialog includes presets for common format and codec 
50   combinations (such as DVD, web-video,..). If in doubt use one of the 
51   presets.
52 </p>
53 <p>
54   As last note: every time a video is transcoded, the quality can only get 
55   worse. Hence for the final mastering/<abbr 
56   title="Multiplexing Audio and Video">muxing</abbr> process, one should 
57   always to back and use the original source of the video.
58 </p>
59