-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffx264.1
131 lines (123 loc) · 2.47 KB
/
ffx264.1
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
130
131
.\" Hey, EMACS: -*- nroff -*-
.\" add new suboption
.de IPs
.IP "\\$1"
..
.TH ffx264 1 "Oct 24, 2019"
.SH NAME
ffx264
.SH SYNOPSIS
.B ffx264
[\-m <mode>] [\-p <preset>] [\-t <tune>] [\-b|\-v|\-e|\-r|\-h] [\-c <preset/config file>]
.br
.SH DESCRIPTION
\fBffx264\fR is a small yet quite capable shell script for encoding to the H.264/AVC video
format. It uses the FFmpeg encoder and the libx264 library. \fBffx264\fR supports a wide range
of options for video encoding coupled with support for encoding multiple audio tracks
and copying multiple subtitles. \fBffx264\fR only supports as input video files so it is
not possible to encode directly from a DVD/BD drive or an ISO image.
.LP
The script uses a configuration file stored in $HOME/.ffx264 where the user can set things up.
\fBffx264\fR is interactive in nature but the user can pass through it in under a few minutes.
.SH REQUIREMENTS
- FFmpeg with libx264 support
.br
- FFprobe (part of FFmpeg)
.br
- MPlayer (for crop preview only)
.br
- MP4Box from GPAC (for mp4/m4v/mov cover art only)
.br
- bc
.SH PARAMETERS
.TP
.B -m <mode>
Specify a pass mode. If this option is not used, the script defaults to crf mode.
Valid pass modes are:
.RS
.IPs
.B 1p (1-pass mode)
.br
.B 2p (2-pass mode)
.br
.B 3p (3-pass mode)
.br
.B crf (constant rate factor mode)
.RE
.
.TP
.B -b
Activate batch encoding mode. This mode is used to encode directories
with video files in them.
.TP
.B -c /path/to/file/preset.txt
Load a custom preset file. The package includes an example preset file.
This option can also be used to load a custom configuration file instead
of a preset.
.TP
.B -p <preset>
Use a built-in x264 preset. You can choose from the following:
.RS
.IPs
.B ultrafast
.br
.B superfast
.br
.B veryfast
.br
.B faster
.br
.B fast
.br
.B medium
.br
.B slow
.br
.B slower
.br
.B veryslow
.br
.B placebo
.RE
.
.TP
.B -t <tune>
Use a built-in x264 tune profile. You can choose from the following:
.RS
.IPs
.B film
.br
.B animation
.br
.B grain
.br
.B stillimage
.br
.B psnr
.br
.B fastdecode
.br
.B zerolatency
.RE
.
.TP
.B -e
Edit the configuration file.
.TP
.B -r
Reset the configuration file to its defaults.
.TP
.B -v
Display version and exit.
.TP
.B -h
Display internal help menu and exit.
.SH SEE ALSO
.B ffmpeg (1)
.SH AUTHORS
.B ffx264
was written by Grozdan Nikolov <neutrino8@gmail.com>
.SH BUG REPORTS
Please send all bug reports and/or questions/suggestions/donations to <neutrino8@gmail.com>
.SH WWW
https://ffx264.teambelgium.net