1ENCODE(1) General Commands Manual ENCODE(1)
2
3
4
6 encodedv - encode a series of images to a digital video stream
7
9 encodedv [ options ] video_pattern [ audio_input ]
10
12 encodedv takes a series of images in PPM/PGM/video format and option‐
13 ally an audio stream and compiles them into a DV-encoded video stream.
14 pattern specifies where the input data is located and may be either -
15 for stdin, or a printf-style pattern taking one numeric argument that
16 gets replaced by the current frame number. Like image%03d.ppm, which
17 gets expanded to image000.ppm, image001.ppm, etc.
18
19 --version
20 show encodedv version number.
21
22 -s, --start-frame=count
23 start encoding at frame number count (defaults to 0).
24
25 -e, --end-frame=count
26 end encoding at frame number count (defaults to unlimited).
27
28 -l, --wrong-interlace
29 flip lines to compensate for wrong interlacing in the input
30 data. Happened with mpeg2dec generated data.
31
32 -p, --vlc-passes
33 vlc code distribution passes (1-3) greater values = better qual‐
34 ity but not necessarily slower encoding! This defaults for best
35 quality = 3.
36
37 -v, --verbose
38 show encoder statistics / status information
39
40 -i, --input=filter-name
41 Choose input-filter: [>ppm<, pgm, video] The ppm-filter only
42 supports raw rgb ppm files. The pgm file format is the one gen‐
43 erated by mpeg2dec of the livid project. ( http://linuxvideo.org
44 ) This means: Y-data appended by U and V data which are scaled
45 down by 2 and placed side by side. This option defaults to PPM.
46 Some things you want to keep in mind:
47
48 1) If you want to stream video frames (using video_pattern =
49 "-") you have to make sure that there is no trailing garbage at
50 the end of the pictures. This is ignored by most image manipula‐
51 tion programs!
52
53 2) If you are one of the poor persons with a buggy PCI bus-mas‐
54 tering board be sure to have a backup handy if you want to use
55 video support. Some versions of the VIA board chipsets crash
56 your machine and even your harddisk. Since encodedv uses full
57 resolution capturing it is more likely to trigger these bugs
58 than other programs. If you have a VIA board you definitely want
59 to upgrade to Linux 2.4.3 or higher.
60
61 3) The encoded pictures must have the correct resolution. If
62 they don't, you may want to try ppmqscale. The used video format
63 is chosen by picture resolution. Use 720x576 for PAL and 720x480
64 for NTSC.
65
66 4) If you want to speed up things a little bit and you are gen‐
67 erating the input pictures automatically you may want to try
68 pgm's instead of ppm's since they are encoded somewhat faster.
69 But keep in mind, that this pgm format is only optimal for PAL
70 since NTSC averages the U and V values somewhat differently.
71
72 -a, --audio-input=filter-name
73 Choose audio-input-filter: [>none<, wav, dsp]
74
75 -o, --output=filter-name
76 Choose output-filter: [>raw<]
77
78 -q, --static-qno=table-no
79 Static qno tables for quantisation on 2 VLC passes. For turbo
80 (but somewhat lossy encoding) try -q [1,2] -p [2,3]. There are
81 only two static qno tables registered right now:
82
83 1 : for sharp DV pictures
84
85 2 : for somewhat noisy satelite television signal
86
87 If you want to add some more, go ahead ;-)
88
89 -f, --fps=fps-number
90 Set frames per second (default: use all frames)
91
92 -d, --force-dct=dct-mode
93 Force dct mode (88 or 248) for whole picture
94
95 Help Options
96
97 -?, --help
98 Show help message.
99
100 --usage
101 Display brief usage message.
102
104 playdv(1),dvconnect(1),dubdv(1),encodedv(1).
105
107 See http://libdv.sourceforge.net/ for the latest version.
108
110 encodedv was written by James Bowman <jamesb@excamera.com> and Peter
111 Schlaile <udbz@rz.uni-karlsruhe.de>.
112
113 This manual page is based on encodedv's help message and was written by
114 Daniel Kobras <kobras@debian.org> for the Debian GNU/Linux system (but
115 may be used by others). It was updated by Peter Schlaile <udbz@rz.uni-
116 karlsruhe.de>.
117
118
119
120
121 April 2001 ENCODE(1)