| 1 |
.\" encodedv - encode a series of images to a digital video stream |
| 2 |
.\" Copyright (c) 2001-2004 James Bowman, Peter Schlaile, Daniel Kobras |
| 3 |
.\" |
| 4 |
.\" This manual page is free software; you can redistribute it and/or modify |
| 5 |
.\" it under the terms of the GNU General Public License as published by |
| 6 |
.\" the Free Software Foundation; either version 2 of the License, or |
| 7 |
.\" (at your option) any later version. |
| 8 |
.\" |
| 9 |
.\" This program is distributed in the hope that it will be useful, |
| 10 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
.\" GNU General Public License for more details. |
| 13 |
.\" |
| 14 |
.\" You should have received a copy of the GNU General Public License |
| 15 |
.\" along with this program; if not, write to the Free Software |
| 16 |
.\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 |
.\" |
| 18 |
.\" This manual page was written especially for Debian Linux. It is based |
| 19 |
.\" on encodedv's help output. |
| 20 |
.\" |
| 21 |
.TH ENCODE 1 "April 2001" |
| 22 |
.SH NAME |
| 23 |
encodedv \- encode a series of images to a digital video stream |
| 24 |
.SH SYNOPSIS |
| 25 |
.B encodedv |
| 26 |
[ \fBoptions\fR ] \fIvideo_pattern\fR \fI[ audio_input ]\fR |
| 27 |
.SH DESCRIPTION |
| 28 |
\fBencodedv\fR takes a series of images in PPM/PGM/video format and |
| 29 |
optionally an audio stream and compiles them |
| 30 |
into a DV-encoded video stream. \fIpattern\fR specifies where the input data is |
| 31 |
located and may be either \fI-\fR for stdin, or a \fBprintf\fR-style pattern |
| 32 |
taking one numeric argument that gets replaced by the current frame number. |
| 33 |
Like image%03d.ppm, which gets expanded to image000.ppm, image001.ppm, etc. |
| 34 |
.TP |
| 35 |
\fB\-\-version\fR |
| 36 |
show encodedv version number. |
| 37 |
.TP |
| 38 |
\fB\-s\fR, \fB\-\-start\-frame\fR=\fIcount\fR |
| 39 |
start encoding at frame number \fIcount\fR (defaults to 0). |
| 40 |
.TP |
| 41 |
\fB\-e\fR, \fB\-\-end\-frame\fR=\fIcount\fR |
| 42 |
end encoding at frame number \fIcount\fR (defaults to unlimited). |
| 43 |
.TP |
| 44 |
\fB\-l\fR, \fB\-\-wrong\-interlace\fR |
| 45 |
flip lines to compensate for wrong interlacing in the input data. Happened |
| 46 |
with mpeg2dec generated data. |
| 47 |
.TP |
| 48 |
\fB\-p\fR, \fB\-\-vlc\-passes\fR |
| 49 |
vlc code distribution passes (1-3) greater values = better quality but not |
| 50 |
necessarily slower encoding! This defaults for best quality = 3. |
| 51 |
.TP |
| 52 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 53 |
show encoder statistics / status information |
| 54 |
.TP |
| 55 |
\fB\-i\fR, \fB\-\-input\fR=\fIfilter-name\fR |
| 56 |
Choose input-filter: [>ppm<, pgm, video] |
| 57 |
The \fBppm\fR-filter only supports raw rgb ppm files. |
| 58 |
The \fBpgm\fR file format is the one generated by \fBmpeg2dec\fR of the |
| 59 |
livid project. ( http://linuxvideo.org ) This means: Y-data appended by |
| 60 |
U and V data which are scaled down by 2 and placed side by side. This |
| 61 |
option defaults to PPM. Some things you want to keep in mind: |
| 62 |
|
| 63 |
1) If you want to stream |
| 64 |
video frames (using video_pattern = "-") you have to make sure that there |
| 65 |
is no trailing garbage at the end of the pictures. This is ignored by most |
| 66 |
image manipulation programs! |
| 67 |
|
| 68 |
2) If you are one of the poor persons with a buggy PCI bus-mastering board |
| 69 |
be sure to have a backup handy if you want to use video support. Some versions |
| 70 |
of the VIA board chipsets crash your machine and even your harddisk. Since |
| 71 |
encodedv uses full resolution capturing it is more likely to trigger these |
| 72 |
bugs than other programs. If you have a VIA board you definitely want to |
| 73 |
upgrade to Linux 2.4.3 or higher. |
| 74 |
|
| 75 |
3) The encoded pictures must have the correct resolution. If they don't, you |
| 76 |
may want to try ppmqscale. The used video format is chosen by picture |
| 77 |
resolution. Use 720x576 for PAL and 720x480 for NTSC. |
| 78 |
|
| 79 |
4) If you want to speed up things a little bit and you are generating the |
| 80 |
input pictures automatically you may want to try pgm's instead of ppm's since |
| 81 |
they are encoded somewhat faster. But keep in mind, that this pgm format is |
| 82 |
only optimal for PAL since NTSC averages the U and V values somewhat |
| 83 |
differently. |
| 84 |
.TP |
| 85 |
\fB\-a\fR, \fB\-\-audio\-input\fR=\fIfilter-name\fR |
| 86 |
Choose audio-input-filter: [>none<, wav, dsp] |
| 87 |
.TP |
| 88 |
\fB\-o\fR, \fB\-\-output\fR=\fIfilter-name\fR |
| 89 |
Choose output-filter: [>raw<] |
| 90 |
.TP |
| 91 |
\fB\-q\fR, \fB\-\-static\-qno\fR=\fItable-no\fR |
| 92 |
Static qno tables for quantisation on 2 VLC passes. |
| 93 |
For turbo (but somewhat lossy encoding) try -q [1,2] -p [2,3]. |
| 94 |
There are only two static qno tables registered right now: |
| 95 |
|
| 96 |
1 : for sharp DV pictures |
| 97 |
|
| 98 |
2 : for somewhat noisy satelite television signal |
| 99 |
|
| 100 |
If you want to add some more, go ahead ;-) |
| 101 |
.TP |
| 102 |
\fB\-f\fR, \fB\-\-fps\fR=\fIfps-number\fR |
| 103 |
Set frames per second (default: use all frames) |
| 104 |
.TP |
| 105 |
\fB\-d, \fB\-\-force\-dct\fR=\fIdct-mode\fR |
| 106 |
Force dct mode (88 or 248) for whole picture |
| 107 |
.PP |
| 108 |
Help Options |
| 109 |
.TP |
| 110 |
-\fB?\fR, \fB\-\-help\fR |
| 111 |
Show help message. |
| 112 |
.TP |
| 113 |
\fB\-\-usage\fR |
| 114 |
Display brief usage message. |
| 115 |
.SH "SEE ALSO" |
| 116 |
.BR playdv (1), dvconnect (1), dubdv (1), encodedv (1). |
| 117 |
.SH AVAILABILITY |
| 118 |
See http://libdv.sourceforge.net/ for the latest version. |
| 119 |
.SH AUTHORS |
| 120 |
.B encodedv |
| 121 |
was written by James Bowman <[email protected]> and |
| 122 |
Peter Schlaile <[email protected]>. |
| 123 |
.PP |
| 124 |
This manual page is based on encodedv's help message and was written by |
| 125 |
Daniel Kobras <[email protected]> for the Debian GNU/Linux system |
| 126 |
(but may be used by others). It was updated |
| 127 |
by Peter Schlaile <[email protected]>. |
| 128 |
|