File: encodedv.1

package info (click to toggle)
libdv 0.9.5-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,688 kB
  • ctags: 1,516
  • sloc: ansic: 12,578; sh: 7,062; asm: 3,624; makefile: 162
file content (129 lines) | stat: -rw-r--r-- 5,180 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
.\" encodedv - encode a series of images to a digital video stream
.\" Copyright (c) 2001 James Bowman, Peter Schlaile, Daniel Kobras
.\"
.\" This manual page is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\" 
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\" 
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.\"
.\" This manual page was written especially for Debian Linux. It is based
.\" on encodedv's help output.
.\"
.TH ENCODE 1 "April 2001"
.SH NAME
encodedv \- encode a series of images to a digital video stream
.SH SYNOPSIS
.B encodedv
[ \fBoptions\fR ] \fIvideo_pattern\fR \fI[ audio_input ]\fR
.SH DESCRIPTION
\fBencodedv\fR takes a series of images in PPM/PGM/video format and
optionally an audio stream and compiles them
into a DV-encoded video stream. \fIpattern\fR specifies where the input data is
located and may be either \fI-\fR for stdin, or a \fBprintf\fR-style pattern
taking one numeric argument that gets replaced by the current frame number.
Like image%03d.ppm, which gets expanded to image000.ppm, image001.ppm, etc.
.TP
\fB\-\-version\fR
show encodedv version number.
.TP
\fB\-s\fR, \fB\-\-start\-frame\fR=\fIcount\fR
start encoding at frame number \fIcount\fR (defaults to 0).
.TP
\fB\-e\fR, \fB\-\-end\-frame\fR=\fIcount\fR
end encoding at frame number \fIcount\fR (defaults to unlimited).
.TP
\fB\-l\fR, \fB\-\-wrong\-interlace\fR
flip lines to compensate for wrong interlacing in the input data. Happened
with mpeg2dec generated data.
.TP
\fB\-p\fR, \fB\-\-vlc\-passes\fR
vlc code distribution passes (1-3) greater values = better quality but not 
necessarily slower encoding! This defaults for best quality = 3.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
show encoder statistics / status information
.TP
\fB\-i\fR, \fB\-\-input\fR=\fIfilter-name\fR
Choose input-filter: [>ppm<, pgm, video]
The \fBppm\fR-filter only supports raw rgb ppm files. 
The \fBpgm\fR file format is the one generated by \fBmpeg2dec\fR of the
livid project. ( http://linuxvideo.org ) This means: Y-data appended by
U and V data which are scaled down by 2 and placed side by side. This
option defaults to PPM. Some things you want to keep in mind:

1) If you want to stream
video frames (using video_pattern = "-") you have to make sure that there 
is no trailing garbage at the end of the pictures. This is ignored by most 
image manipulation programs!

2) If you are one of the poor persons with a buggy PCI bus-mastering board
be sure to have a backup handy if you want to use video support. Some versions
of the VIA board chipsets crash your machine and even your harddisk. Since
encodedv uses full resolution capturing it is more likely to trigger these
bugs than other programs. If you have a VIA board you definitely want to
upgrade to Linux 2.4.3 or higher.

3) The encoded pictures must have the correct resolution. If they don't, you
may want to try ppmqscale. The used video format is chosen by picture 
resolution. Use 720x576 for PAL and 720x480 for NTSC.

4) If you want to speed up things a little bit and you are generating the
input pictures automatically you may want to try pgm's instead of ppm's since
they are encoded somewhat faster. But keep in mind, that this pgm format is
only optimal for PAL since NTSC averages the U and V values somewhat 
differently.
.TP
\fB\-a\fR, \fB\-\-audio\-input\fR=\fIfilter-name\fR
Choose audio-input-filter: [>none<, wav, dsp]
.TP
\fB\-o\fR, \fB\-\-output\fR=\fIfilter-name\fR
Choose output-filter: [>raw<]
Hint for Arne Schirmacher to add AVI support ;-)
.TP
\fB\-q\fR, \fB\-\-static\-qno\fR=\fItable-no\fR
Static qno tables for quantisation on 2 VLC passes. 
For turbo (but somewhat lossy encoding) try -q [1,2] -p [2,3].
There are only two static qno tables registered right now:

1 : for sharp DV pictures

2 : for somewhat noisy satelite television signal

If you want to add some more, go ahead ;-)
.TP
\fB\-f\fR, \fB\-\-fps\fR=\fIfps-number\fR
Set frames per second (default: use all frames)
.TP
\fB\-d, \fB\-\-force\-dct\fR=\fIdct-mode\fR
Force dct mode (88 or 248) for whole picture
.PP
Help Options
.TP
-\fB?\fR, \fB\-\-help\fR
Show help message.
.TP
\fB\-\-usage\fR
Display brief usage message.
.SH "SEE ALSO"
.BR playdv (1).
.SH AVAILABILITY
See http://libdv.sourceforge.net/ for the latest version.
.SH AUTHORS
.B encodedv
was written by James Bowman <jamesb@excamera.com> and
Peter Schlaile <udbz@rz.uni-karlsruhe.de>.
.PP
This manual page is based on encodedv's help message and was written by
Daniel Kobras <kobras@debian.org> for the Debian GNU/Linux system
(but may be used by others). It was updated 
by Peter Schlaile <udbz@rz.uni-karlsruhe.de>.