]> Shamusworld >> Repos - ardour-manual/blob - _manual/23_video-timeline/02_transcoding_formats_codecs.html
Merge branch 'patch-1' of git://github.com/dbolton/manual
[ardour-manual] / _manual / 23_video-timeline / 02_transcoding_formats_codecs.html
1 ---
2 layout: default
3 title: Transcoding, Formats & Codecs
4 ---
5
6 <p>
7 A short primer on video-files, formats and codecs â€“ because it is often cause for confusion:
8 </p>
9
10 <p>
11 A video file is a <em>container</em>. It usually contains one video-track and one or more audio-tracks.
12 </p>
13
14 <p>
15 How these tracks are stored in the file is defined by the <strong>file-format</strong>. Common formats are avi, mov, ogg, mkv, mpeg, mpeg-ts, mp4, flv, vob
16 </p>
17
18 <p>
19 Each of the tracks by itself in <em>encoded</em> - using a Codec. Common Video-Codecs are h264, mpeg2, mpeg4, theora, mjpeg, wmv3. Audio-Codecs: mp2, mp3, dts, aac, wav/pcm.
20 </p>
21
22 <p>
23 Not all codecs can be packed into a given format. For example the &#039;mpeg&#039; format is limited to mpeg2, mpeg4 and mp3 codecs (not entirely true) and generally naming conventions uses for format and codecs are cause for a lot of confusion. DVDs do have stringent limitations…
24 </p>
25
26 <p>
27 The export dialog includes presets for common format &amp; codec combinations (such as DVD, web-video,..). If in doubt use one of the presets.
28 </p>
29
30 <p>
31 All in all it is a very wide and deep field. Suffice there are different uses for different codecs.
32 When importing a video into ardour, it will be <em>transcoded</em> (transcoding: change from one format and codec to another) to avi/mjpeg for internal use (this allows reliable seeking to frames at low CPU cost - the file-size will increase, but hard-disks are large and fast).
33 </p>
34
35 <p>
36 As last note: Every time a video is transcoded the quality gets worse. Hence for the final mastering/muxing process always to back to the original source of the video.
37 </p>