Statistics
| Branch: | Revision:

ffmpeg / doc / README.tech @ 360d33c9

History | View | Annotate | Download (1.86 KB)

1
Technical notes:
2
---------------
3

    
4
Video:
5
-----
6

    
7
- The decision intra/predicted macroblock is the algorithm suggested
8
  by the mpeg 1 specification.
9

    
10
- only Huffman based H263 is supported, mainly because of patent
11
  issues.
12

    
13
- MPEG4 is supported, as an extension of the H263 encoder. MPEG4 DC
14
  prediction is used, but not AC prediction. Specific VLC are used for
15
  intra pictures. The output format is compatible with Open DIVX
16
  version 47.
17

    
18
- MJPEG is supported, but in the current version the huffman tables
19
  are not optimized. It could be interesting to add this feature for
20
  the flash format.
21

    
22
- To increase speed, only motion vectors (0,0) are tested for real
23
  time compression. NEW: now motion compensation is done with several
24
  methods : none, full, log, and phods. The code is mmx/sse optimized.
25

    
26
- In high quality mode, full search is used for motion
27
  vectors. Currently, only fcode = 1 is used for both H263/MPEG1. Half
28
  pel vectors are used.
29

    
30
Audio:
31
-----
32

    
33
- The mpeg audio layer 2 compatible encoder was rewritten from
34
  scratch. It is one of the simplest encoder you can imagine (800
35
  lines of C code !). It is also one of the fastest because of its
36
  simplicity. There are still some problems of overflow. A minimal
37
  psycho acoustic model could be added. Currently, stereo is
38
  supported, but not joint stereo.
39

    
40
- The AC3 audio encoder was rewritten from scratch. It is fairly
41
  naive, but the result are quiet interesting at 64 kbit/s. It
42
  includes extensions for low sampling rates used in some Internet
43
  formats. Differential and coupled stereo is not handled. Stereo
44
  channels are simply handled as two mono channels.
45

    
46
- The mpeg audio layer 3 decoder was rewritten from scratch. It uses
47
  only integers and can be 16 bit precision for the synthesis filter
48
  at the expense of a slight precision loss. A slower bit exact mode
49
  is available too for compliance testing.