Offset 1, 10 lines modified | Offset 1, 10 lines modified |
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·HTML·4.01·Transitional//EN"·"http://www.w3.org/TR/html4/loose.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·HTML·4.01·Transitional//EN"·"http://www.w3.org/TR/html4/loose.dtd"> |
2 | <html> | 2 | <html> |
3 | <!--·Created·on·June·10,·2016·by·texi2html·5.0 | 3 | <!--·Created·on·June·11,·2016·by·texi2html·5.0 |
4 | texi2html·was·written·by:· | 4 | texi2html·was·written·by:· |
5 | ············Lionel·Cons·<Lionel.Cons@cern.ch>·(original·author) | 5 | ············Lionel·Cons·<Lionel.Cons@cern.ch>·(original·author) |
6 | ············Karl·Berry··<karl@freefriends.org> | 6 | ············Karl·Berry··<karl@freefriends.org> |
7 | ············Olaf·Bachmann·<obachman@mathematik.uni-kl.de> | 7 | ············Olaf·Bachmann·<obachman@mathematik.uni-kl.de> |
8 | ············and·many·others. | 8 | ············and·many·others. |
9 | Maintained·by:·Many·creative·people. | 9 | Maintained·by:·Many·creative·people. |
10 | Send·bugs·and·suggestions·to·<texi2html-bug@nongnu.org> | 10 | Send·bugs·and·suggestions·to·<texi2html-bug@nongnu.org> |
Offset 57, 41 lines modified | Offset 57, 41 lines modified |
57 | <h1>Table·of·Contents</h1> | 57 | <h1>Table·of·Contents</h1> |
| |
58 | <div·class="contents"> | 58 | <div·class="contents"> |
| |
59 | <ul·class="no-bullet"> | 59 | <ul·class="no-bullet"> |
60 | ··<li><a·name="toc-Synopsis"·href="#Synopsis">1·Synopsis</a></li> | 60 | ··<li><a·name="toc-Synopsis"·href="#Synopsis">1·Synopsis</a></li> |
61 | ··<li><a·name="toc-Description"·href="#Description">2·Description</a></li> | 61 | ··<li><a·name="toc-Description"·href="#Description">2·Description</a></li> |
62 | ··<li><a·name="toc-Options-2"·href="#Options-2">3·Options</a> | 62 | ··<li><a·name="toc-Options-4"·href="#Options-4">3·Options</a> |
63 | ··<ul·class="no-bullet"> | 63 | ··<ul·class="no-bullet"> |
64 | ····<li><a·name="toc-Generic-options"·href="#Generic-options">3.1·Generic·options</a></li> | 64 | ····<li><a·name="toc-Generic-options"·href="#Generic-options">3.1·Generic·options</a></li> |
65 | ····<li><a·name="toc-Main-options"·href="#Main-options">3.2·Main·options</a></li> | 65 | ····<li><a·name="toc-Main-options"·href="#Main-options">3.2·Main·options</a></li> |
66 | ····<li><a·name="toc-Video-Options"·href="#Video-Options">3.3·Video·Options</a></li> | 66 | ····<li><a·name="toc-Video-Options"·href="#Video-Options">3.3·Video·Options</a></li> |
67 | ····<li><a·name="toc-Advanced-Video-Options"·href="#Advanced-Video-Options">3.4·Advanced·Video·Options</a></li> | 67 | ····<li><a·name="toc-Advanced-Video-Options"·href="#Advanced-Video-Options">3.4·Advanced·Video·Options</a></li> |
68 | ····<li><a·name="toc-Audio-Options"·href="#Audio-Options">3.5·Audio·Options</a></li> | 68 | ····<li><a·name="toc-Audio-Options"·href="#Audio-Options">3.5·Audio·Options</a></li> |
69 | ····<li><a·name="toc-Advanced-Audio-options_003a"·href="#Advanced-Audio-options_003a">3.6·Advanced·Audio·options:</a></li> | 69 | ····<li><a·name="toc-Advanced-Audio-options_003a"·href="#Advanced-Audio-options_003a">3.6·Advanced·Audio·options:</a></li> |
70 | ····<li><a·name="toc-Subtitle-options_003a"·href="#Subtitle-options_003a">3.7·Subtitle·options:</a></li> | 70 | ····<li><a·name="toc-Subtitle-options_003a"·href="#Subtitle-options_003a">3.7·Subtitle·options:</a></li> |
71 | ····<li><a·name="toc-Audio_002fVideo-grab-options"·href="#Audio_002fVideo-grab-options">3.8·Audio/Video·grab·options</a></li> | 71 | ····<li><a·name="toc-Audio_002fVideo-grab-options"·href="#Audio_002fVideo-grab-options">3.8·Audio/Video·grab·options</a></li> |
72 | ····<li><a·name="toc-Advanced-options"·href="#Advanced-options">3.9·Advanced·options</a></li> | 72 | ····<li><a·name="toc-Advanced-options"·href="#Advanced-options">3.9·Advanced·options</a></li> |
73 | ····<li><a·name="toc-Preset-files"·href="#Preset-files">3.10·Preset·files</a></li> | 73 | ····<li><a·name="toc-Preset-files"·href="#Preset-files">3.10·Preset·files</a></li> |
74 | ··</ul></li> | 74 | ··</ul></li> |
75 | ··<li><a·name="toc-Tips"·href="#Tips">4·Tips</a></li> | 75 | ··<li><a·name="toc-Tips"·href="#Tips">4·Tips</a></li> |
76 | ··<li><a·name="toc-Examples-1"·href="#Examples-1">5·Examples</a> | 76 | ··<li><a·name="toc-Examples"·href="#Examples">5·Examples</a> |
77 | ··<ul·class="no-bullet"> | 77 | ··<ul·class="no-bullet"> |
78 | ····<li><a·name="toc-Video-and-Audio-grabbing"·href="#Video-and-Audio-grabbing">5.1·Video·and·Audio·grabbing</a></li> | 78 | ····<li><a·name="toc-Video-and-Audio-grabbing"·href="#Video-and-Audio-grabbing">5.1·Video·and·Audio·grabbing</a></li> |
79 | ····<li><a·name="toc-X11-grabbing"·href="#X11-grabbing">5.2·X11·grabbing</a></li> | 79 | ····<li><a·name="toc-X11-grabbing"·href="#X11-grabbing">5.2·X11·grabbing</a></li> |
80 | ····<li><a·name="toc-Video-and-Audio-file-format-conversion"·href="#Video-and-Audio-file-format-conversion">5.3·Video·and·Audio·file·format·conversion</a></li> | 80 | ····<li><a·name="toc-Video-and-Audio-file-format-conversion"·href="#Video-and-Audio-file-format-conversion">5.3·Video·and·Audio·file·format·conversion</a></li> |
81 | ··</ul></li> | 81 | ··</ul></li> |
82 | ··<li><a·name="toc-Expression-Evaluation"·href="#Expression-Evaluation">6·Expression·Evaluation</a></li> | 82 | ··<li><a·name="toc-Expression-Evaluation"·href="#Expression-Evaluation">6·Expression·Evaluation</a></li> |
83 | ··<li><a·name="toc-Decoders"·href="#Decoders">7·Decoders</a></li> | 83 | ··<li><a·name="toc-Decoders"·href="#Decoders">7·Decoders</a></li> |
84 | ··<li><a·name="toc-Video-Decoders"·href="#Video-Decoders">8·Video·Decoders</a> | 84 | ··<li><a·name="toc-Video-Decoders"·href="#Video-Decoders">8·Video·Decoders</a> |
85 | ··<ul·class="no-bullet"> | 85 | ··<ul·class="no-bullet"> |
86 | ····<li><a·name="toc-rawvideo"·href="#rawvideo">8.1·rawvideo</a> | 86 | ····<li><a·name="toc-rawvideo"·href="#rawvideo">8.1·rawvideo</a> |
87 | ····<ul·class="no-bullet"> | 87 | ····<ul·class="no-bullet"> |
88 | ······<li><a·name="toc-Options-4"·href="#Options-4">8.1.1·Options</a></li> | 88 | ······<li><a·name="toc-Options"·href="#Options">8.1.1·Options</a></li> |
89 | ····</ul> | 89 | ····</ul> |
90 | </li> | 90 | </li> |
91 | ··</ul></li> | 91 | ··</ul></li> |
92 | ··<li><a·name="toc-Encoders"·href="#Encoders">9·Encoders</a></li> | 92 | ··<li><a·name="toc-Encoders"·href="#Encoders">9·Encoders</a></li> |
93 | ··<li><a·name="toc-Audio-Encoders"·href="#Audio-Encoders">10·Audio·Encoders</a> | 93 | ··<li><a·name="toc-Audio-Encoders"·href="#Audio-Encoders">10·Audio·Encoders</a> |
94 | ··<ul·class="no-bullet"> | 94 | ··<ul·class="no-bullet"> |
95 | ····<li><a·name="toc-ac3-and-ac3_005ffixed"·href="#ac3-and-ac3_005ffixed">10.1·ac3·and·ac3_fixed</a> | 95 | ····<li><a·name="toc-ac3-and-ac3_005ffixed"·href="#ac3-and-ac3_005ffixed">10.1·ac3·and·ac3_fixed</a> |
Offset 113, 64 lines modified | Offset 113, 64 lines modified |
113 | ····</ul> | 113 | ····</ul> |
114 | </li> | 114 | </li> |
115 | ··</ul></li> | 115 | ··</ul></li> |
116 | ··<li><a·name="toc-Video-Encoders"·href="#Video-Encoders">11·Video·Encoders</a> | 116 | ··<li><a·name="toc-Video-Encoders"·href="#Video-Encoders">11·Video·Encoders</a> |
117 | ··<ul·class="no-bullet"> | 117 | ··<ul·class="no-bullet"> |
118 | ····<li><a·name="toc-libvpx"·href="#libvpx">11.1·libvpx</a> | 118 | ····<li><a·name="toc-libvpx"·href="#libvpx">11.1·libvpx</a> |
119 | ····<ul·class="no-bullet"> | 119 | ····<ul·class="no-bullet"> |
120 | ······<li><a·name="toc-Options-3"·href="#Options-3">11.1.1·Options</a></li> | 120 | ······<li><a·name="toc-Options-2"·href="#Options-2">11.1.1·Options</a></li> |
121 | ····</ul></li> | 121 | ····</ul></li> |
122 | ····<li><a·name="toc-libx264"·href="#libx264">11.2·libx264</a> | 122 | ····<li><a·name="toc-libx264"·href="#libx264">11.2·libx264</a> |
123 | ····<ul·class="no-bullet"> | 123 | ····<ul·class="no-bullet"> |
124 | ······<li><a·name="toc-Options"·href="#Options">11.2.1·Options</a></li> | 124 | ······<li><a·name="toc-Options-1"·href="#Options-1">11.2.1·Options</a></li> |
125 | ····</ul> | 125 | ····</ul> |
126 | </li> | 126 | </li> |
127 | ··</ul></li> | 127 | ··</ul></li> |
128 | ··<li><a·name="toc-Demuxers"·href="#Demuxers">12·Demuxers</a> | 128 | ··<li><a·name="toc-Demuxers"·href="#Demuxers">12·Demuxers</a> |
129 | ··<ul·class="no-bullet"> | 129 | ··<ul·class="no-bullet"> |
130 | ····<li><a·name="toc-image2-1"·href="#image2-1">12.1·image2</a></li> | 130 | ····<li><a·name="toc-image2"·href="#image2">12.1·image2</a></li> |
131 | ····<li><a·name="toc-applehttp"·href="#applehttp">12.2·applehttp</a></li> | 131 | ····<li><a·name="toc-applehttp-1"·href="#applehttp-1">12.2·applehttp</a></li> |
132 | ··</ul></li> | 132 | ··</ul></li> |
133 | ··<li><a·name="toc-Muxers"·href="#Muxers">13·Muxers</a> | 133 | ··<li><a·name="toc-Muxers"·href="#Muxers">13·Muxers</a> |
134 | ··<ul·class="no-bullet"> | 134 | ··<ul·class="no-bullet"> |
135 | ····<li><a·name="toc-crc-1"·href="#crc-1">13.1·crc</a></li> | 135 | ····<li><a·name="toc-crc-1"·href="#crc-1">13.1·crc</a></li> |
136 | ····<li><a·name="toc-framecrc-1"·href="#framecrc-1">13.2·framecrc</a></li> | 136 | ····<li><a·name="toc-framecrc-1"·href="#framecrc-1">13.2·framecrc</a></li> |
137 | ····<li><a·name="toc-image2"·href="#image2">13.3·image2</a></li> | 137 | ····<li><a·name="toc-image2-1"·href="#image2-1">13.3·image2</a></li> |
138 | ····<li><a·name="toc-mpegts"·href="#mpegts">13.4·mpegts</a></li> | 138 | ····<li><a·name="toc-mpegts"·href="#mpegts">13.4·mpegts</a></li> |
139 | ····<li><a·name="toc-null"·href="#null">13.5·null</a></li> | 139 | ····<li><a·name="toc-null-1"·href="#null-1">13.5·null</a></li> |
140 | ····<li><a·name="toc-matroska"·href="#matroska">13.6·matroska</a></li> | 140 | ····<li><a·name="toc-matroska"·href="#matroska">13.6·matroska</a></li> |
141 | ··</ul></li> | 141 | ··</ul></li> |
142 | ··<li><a·name="toc-Input-Devices"·href="#Input-Devices">14·Input·Devices</a> | 142 | ··<li><a·name="toc-Input-Devices"·href="#Input-Devices">14·Input·Devices</a> |
143 | ··<ul·class="no-bullet"> | 143 | ··<ul·class="no-bullet"> |
144 | ····<li><a·name="toc-alsa-1"·href="#alsa-1">14.1·alsa</a></li> | 144 | ····<li><a·name="toc-alsa"·href="#alsa">14.1·alsa</a></li> |
145 | ····<li><a·name="toc-bktr"·href="#bktr">14.2·bktr</a></li> | 145 | ····<li><a·name="toc-bktr"·href="#bktr">14.2·bktr</a></li> |
146 | ····<li><a·name="toc-dv1394"·href="#dv1394">14.3·dv1394</a></li> | 146 | ····<li><a·name="toc-dv1394"·href="#dv1394">14.3·dv1394</a></li> |
147 | ····<li><a·name="toc-fbdev"·href="#fbdev">14.4·fbdev</a></li> | 147 | ····<li><a·name="toc-fbdev"·href="#fbdev">14.4·fbdev</a></li> |
148 | ····<li><a·name="toc-jack"·href="#jack">14.5·jack</a></li> | 148 | ····<li><a·name="toc-jack"·href="#jack">14.5·jack</a></li> |
149 | ····<li><a·name="toc-libdc1394"·href="#libdc1394">14.6·libdc1394</a></li> | 149 | ····<li><a·name="toc-libdc1394"·href="#libdc1394">14.6·libdc1394</a></li> |
150 | ····<li><a·name="toc-oss"·href="#oss">14.7·oss</a></li> | 150 | ····<li><a·name="toc-oss-1"·href="#oss-1">14.7·oss</a></li> |
151 | ····<li><a·name="toc-sndio-1"·href="#sndio-1">14.8·sndio</a></li> | 151 | ····<li><a·name="toc-sndio"·href="#sndio">14.8·sndio</a></li> |
152 | ····<li><a·name="toc-video4linux-and-video4linux2"·href="#video4linux-and-video4linux2">14.9·video4linux·and·video4linux2</a></li> | 152 | ····<li><a·name="toc-video4linux-and-video4linux2"·href="#video4linux-and-video4linux2">14.9·video4linux·and·video4linux2</a></li> |
153 | ····<li><a·name="toc-vfwcap"·href="#vfwcap">14.10·vfwcap</a></li> | 153 | ····<li><a·name="toc-vfwcap"·href="#vfwcap">14.10·vfwcap</a></li> |
154 | ····<li><a·name="toc-x11grab"·href="#x11grab">14.11·x11grab</a></li> | 154 | ····<li><a·name="toc-x11grab"·href="#x11grab">14.11·x11grab</a></li> |
155 | ··</ul></li> | 155 | ··</ul></li> |
156 | ··<li><a·name="toc-Output-Devices"·href="#Output-Devices">15·Output·Devices</a> | 156 | ··<li><a·name="toc-Output-Devices"·href="#Output-Devices">15·Output·Devices</a> |
157 | ··<ul·class="no-bullet"> | 157 | ··<ul·class="no-bullet"> |
158 | ····<li><a·name="toc-alsa"·href="#alsa">15.1·alsa</a></li> | 158 | ····<li><a·name="toc-alsa-1"·href="#alsa-1">15.1·alsa</a></li> |
159 | ····<li><a·name="toc-oss-1"·href="#oss-1">15.2·oss</a></li> | 159 | ····<li><a·name="toc-oss"·href="#oss">15.2·oss</a></li> |
160 | ····<li><a·name="toc-sdl"·href="#sdl">15.3·sdl</a> | 160 | ····<li><a·name="toc-sdl"·href="#sdl">15.3·sdl</a> |
161 | ····<ul·class="no-bullet"> | 161 | ····<ul·class="no-bullet"> |
162 | ······<li><a·name="toc-Options-1"·href="#Options-1">15.3.1·Options</a></li> | 162 | ······<li><a·name="toc-Options-3"·href="#Options-3">15.3.1·Options</a></li> |
163 | ······<li><a·name="toc-Examples"·href="#Examples">15.3.2·Examples</a></li> | 163 | ······<li><a·name="toc-Examples-1"·href="#Examples-1">15.3.2·Examples</a></li> |
164 | ····</ul></li> | 164 | ····</ul></li> |
165 | ····<li><a·name="toc-sndio"·href="#sndio">15.4·sndio</a></li> | 165 | ····<li><a·name="toc-sndio-1"·href="#sndio-1">15.4·sndio</a></li> |
166 | ··</ul></li> | 166 | ··</ul></li> |
167 | ··<li><a·name="toc-Protocols"·href="#Protocols">16·Protocols</a> | 167 | ··<li><a·name="toc-Protocols"·href="#Protocols">16·Protocols</a> |
168 | ··<ul·class="no-bullet"> | 168 | ··<ul·class="no-bullet"> |
169 | ····<li><a·name="toc-applehttp-1"·href="#applehttp-1">16.1·applehttp</a></li> | 169 | ····<li><a·name="toc-applehttp"·href="#applehttp">16.1·applehttp</a></li> |
170 | ····<li><a·name="toc-concat"·href="#concat">16.2·concat</a></li> | 170 | ····<li><a·name="toc-concat"·href="#concat">16.2·concat</a></li> |
171 | ····<li><a·name="toc-file"·href="#file">16.3·file</a></li> | 171 | ····<li><a·name="toc-file"·href="#file">16.3·file</a></li> |
172 | ····<li><a·name="toc-gopher"·href="#gopher">16.4·gopher</a></li> | 172 | ····<li><a·name="toc-gopher"·href="#gopher">16.4·gopher</a></li> |
173 | ····<li><a·name="toc-http"·href="#http">16.5·http</a></li> | 173 | ····<li><a·name="toc-http"·href="#http">16.5·http</a></li> |
174 | ····<li><a·name="toc-mmst"·href="#mmst">16.6·mmst</a></li> | 174 | ····<li><a·name="toc-mmst"·href="#mmst">16.6·mmst</a></li> |
175 | ····<li><a·name="toc-mmsh"·href="#mmsh">16.7·mmsh</a></li> | 175 | ····<li><a·name="toc-mmsh"·href="#mmsh">16.7·mmsh</a></li> |
176 | ····<li><a·name="toc-md5"·href="#md5">16.8·md5</a></li> | 176 | ····<li><a·name="toc-md5"·href="#md5">16.8·md5</a></li> |
Offset 234, 15 lines modified | Offset 234, 15 lines modified |
234 | ····<li><a·name="toc-gradfun"·href="#gradfun">22.12·gradfun</a></li> | 234 | ····<li><a·name="toc-gradfun"·href="#gradfun">22.12·gradfun</a></li> |
235 | ····<li><a·name="toc-hflip"·href="#hflip">22.13·hflip</a></li> | 235 | ····<li><a·name="toc-hflip"·href="#hflip">22.13·hflip</a></li> |
236 | ····<li><a·name="toc-hqdn3d"·href="#hqdn3d">22.14·hqdn3d</a></li> | 236 | ····<li><a·name="toc-hqdn3d"·href="#hqdn3d">22.14·hqdn3d</a></li> |
237 | ····<li><a·name="toc-lut_002c-lutrgb_002c-lutyuv"·href="#lut_002c-lutrgb_002c-lutyuv">22.15·lut,·lutrgb,·lutyuv</a></li> | 237 | ····<li><a·name="toc-lut_002c-lutrgb_002c-lutyuv"·href="#lut_002c-lutrgb_002c-lutyuv">22.15·lut,·lutrgb,·lutyuv</a></li> |
238 | ····<li><a·name="toc-mp"·href="#mp">22.16·mp</a></li> | 238 | ····<li><a·name="toc-mp"·href="#mp">22.16·mp</a></li> |
239 | ····<li><a·name="toc-negate"·href="#negate">22.17·negate</a></li> | 239 | ····<li><a·name="toc-negate"·href="#negate">22.17·negate</a></li> |
240 | ····<li><a·name="toc-noformat"·href="#noformat">22.18·noformat</a></li> | 240 | ····<li><a·name="toc-noformat"·href="#noformat">22.18·noformat</a></li> |
241 | ····<li><a·name="toc-null-1"·href="#null-1">22.19·null</a></li> | 241 | ····<li><a·name="toc-null"·href="#null">22.19·null</a></li> |
242 | ····<li><a·name="toc-ocv"·href="#ocv">22.20·ocv</a> | 242 | ····<li><a·name="toc-ocv"·href="#ocv">22.20·ocv</a> |
243 | ····<ul·class="no-bullet"> | 243 | ····<ul·class="no-bullet"> |
244 | ······<li><a·name="toc-dilate-1"·href="#dilate-1">22.20.1·dilate</a></li> | 244 | ······<li><a·name="toc-dilate-1"·href="#dilate-1">22.20.1·dilate</a></li> |
245 | ······<li><a·name="toc-erode"·href="#erode">22.20.2·erode</a></li> | 245 | ······<li><a·name="toc-erode"·href="#erode">22.20.2·erode</a></li> |
246 | ······<li><a·name="toc-smooth"·href="#smooth">22.20.3·smooth</a></li> | 246 | ······<li><a·name="toc-smooth"·href="#smooth">22.20.3·smooth</a></li> |
247 | ····</ul></li> | 247 | ····</ul></li> |
248 | ····<li><a·name="toc-overlay"·href="#overlay">22.21·overlay</a></li> | 248 | ····<li><a·name="toc-overlay"·href="#overlay">22.21·overlay</a></li> |
Offset 331, 16 lines modified | Offset 331, 16 lines modified |
331 | <p>The·format·option·may·be·needed·for·raw·input·files. | 331 | <p>The·format·option·may·be·needed·for·raw·input·files. |
332 | </p> | 332 | </p> |
333 | <p>By·default·ffmpeg·tries·to·convert·as·losslessly·as·possible:·It | 333 | <p>By·default·ffmpeg·tries·to·convert·as·losslessly·as·possible:·It |
334 | uses·the·same·audio·and·video·parameters·for·the·outputs·as·the·one | 334 | uses·the·same·audio·and·video·parameters·for·the·outputs·as·the·one |
335 | specified·for·the·inputs. | 335 | specified·for·the·inputs. |
336 | </p> | 336 | </p> |
| |
337 | <a·name="Options-2"></a> | 337 | <a·name="Options-4"></a> |
338 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Options-2">3·Options</a></h1> | 338 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Options-4">3·Options</a></h1> |
| |
339 | <p>All·the·numerical·options,·if·not·specified·otherwise,·accept·in·input | 339 | <p>All·the·numerical·options,·if·not·specified·otherwise,·accept·in·input |
340 | a·string·representing·a·number,·which·may·contain·one·of·the | 340 | a·string·representing·a·number,·which·may·contain·one·of·the |
341 | International·System·number·postfixes,·for·example·’K’,·’M’,·’G’. | 341 | International·System·number·postfixes,·for·example·’K’,·’M’,·’G’. |
342 | If·’i’·is·appended·after·the·postfix,·powers·of·2·are·used·instead·of | 342 | If·’i’·is·appended·after·the·postfix,·powers·of·2·are·used·instead·of |
343 | powers·of·10.·The·’B’·postfix·multiplies·the·value·for·8,·and·can·be | 343 | powers·of·10.·The·’B’·postfix·multiplies·the·value·for·8,·and·can·be |
344 | appended·after·another·postfix·or·used·alone.·This·allows·using·for | 344 | appended·after·another·postfix·or·used·alone.·This·allows·using·for |
Offset 1492, 16 lines modified | Offset 1492, 16 lines modified |
1492 | </li><li> | 1492 | </li><li> |
1493 | When·converting·video·files,·you·can·use·the·’-sameq’·option·which | 1493 | When·converting·video·files,·you·can·use·the·’-sameq’·option·which |
1494 | uses·the·same·quality·factor·in·the·encoder·as·in·the·decoder. | 1494 | uses·the·same·quality·factor·in·the·encoder·as·in·the·decoder. |
1495 | It·allows·almost·lossless·encoding. | 1495 | It·allows·almost·lossless·encoding. |
| |
1496 | </li></ul> | 1496 | </li></ul> |
| |
1497 | <a·name="Examples-1"></a> | 1497 | <a·name="Examples"></a> |
1498 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Examples-1">5·Examples</a></h1> | 1498 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Examples">5·Examples</a></h1> |
| |
1499 | <a·name="Video-and-Audio-grabbing"></a> | 1499 | <a·name="Video-and-Audio-grabbing"></a> |
1500 | <h2·class="section"><a·href="ffmpeg.html#toc-Video-and-Audio-grabbing">5.1·Video·and·Audio·grabbing</a></h2> | 1500 | <h2·class="section"><a·href="ffmpeg.html#toc-Video-and-Audio-grabbing">5.1·Video·and·Audio·grabbing</a></h2> |
| |
1501 | <p>If·you·specify·the·input·format·and·device·then·ffmpeg·can·grab·video | 1501 | <p>If·you·specify·the·input·format·and·device·then·ffmpeg·can·grab·video |
1502 | and·audio·directly. | 1502 | and·audio·directly. |
1503 | </p> | 1503 | </p> |
Offset 1885, 16 lines modified | Offset 1885, 16 lines modified |
1885 | <a·name="rawvideo"></a> | 1885 | <a·name="rawvideo"></a> |
1886 | <h2·class="section"><a·href="ffmpeg.html#toc-rawvideo">8.1·rawvideo</a></h2> | 1886 | <h2·class="section"><a·href="ffmpeg.html#toc-rawvideo">8.1·rawvideo</a></h2> |
| |
1887 | <p>Rawvideo·decoder. | 1887 | <p>Rawvideo·decoder. |
1888 | </p> | 1888 | </p> |
1889 | <p>This·decoder·decodes·rawvideo·streams. | 1889 | <p>This·decoder·decodes·rawvideo·streams. |
1890 | </p> | 1890 | </p> |
1891 | <a·name="Options-4"></a> | 1891 | <a·name="Options"></a> |
1892 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-4">8.1.1·Options</a></h3> | 1892 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options">8.1.1·Options</a></h3> |
| |
1893 | <dl·compact="compact"> | 1893 | <dl·compact="compact"> |
1894 | <dt>‘<samp>top·<var>top_field_first</var></samp>’</dt> | 1894 | <dt>‘<samp>top·<var>top_field_first</var></samp>’</dt> |
1895 | <dd><p>Specify·the·assumed·field·type·of·the·input·video. | 1895 | <dd><p>Specify·the·assumed·field·type·of·the·input·video. |
1896 | </p><dl·compact="compact"> | 1896 | </p><dl·compact="compact"> |
1897 | <dt>‘<samp>-1</samp>’</dt> | 1897 | <dt>‘<samp>-1</samp>’</dt> |
1898 | <dd><p>the·video·is·assumed·to·be·progressive·(default) | 1898 | <dd><p>the·video·is·assumed·to·be·progressive·(default) |
Offset 2416, 16 lines modified | Offset 2416, 16 lines modified |
2416 | <h2·class="section"><a·href="ffmpeg.html#toc-libvpx">11.1·libvpx</a></h2> | 2416 | <h2·class="section"><a·href="ffmpeg.html#toc-libvpx">11.1·libvpx</a></h2> |
| |
2417 | <p>VP8·format·supported·through·libvpx. | 2417 | <p>VP8·format·supported·through·libvpx. |
2418 | </p> | 2418 | </p> |
2419 | <p>Requires·the·presence·of·the·libvpx·headers·and·library·during·configuration. | 2419 | <p>Requires·the·presence·of·the·libvpx·headers·and·library·during·configuration. |
2420 | You·need·to·explicitly·configure·the·build·with·<code>--enable-libvpx</code>. | 2420 | You·need·to·explicitly·configure·the·build·with·<code>--enable-libvpx</code>. |
2421 | </p> | 2421 | </p> |
2422 | <a·name="Options-3"></a> | 2422 | <a·name="Options-2"></a> |
2423 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-3">11.1.1·Options</a></h3> | 2423 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-2">11.1.1·Options</a></h3> |
| |
2424 | <p>Mapping·from·FFmpeg·to·libvpx·options·with·conversion·notes·in·parentheses. | 2424 | <p>Mapping·from·FFmpeg·to·libvpx·options·with·conversion·notes·in·parentheses. |
2425 | </p> | 2425 | </p> |
2426 | <dl·compact="compact"> | 2426 | <dl·compact="compact"> |
2427 | <dt>‘<samp>threads</samp>’</dt> | 2427 | <dt>‘<samp>threads</samp>’</dt> |
2428 | <dd><p>g_threads | 2428 | <dd><p>g_threads |
2429 | </p> | 2429 | </p> |
Offset 2563, 16 lines modified | Offset 2563, 16 lines modified |
2563 | <p>H.264·/·AVC·/·MPEG-4·AVC·/·MPEG-4·part·10·format·supported·through | 2563 | <p>H.264·/·AVC·/·MPEG-4·AVC·/·MPEG-4·part·10·format·supported·through |
2564 | libx264. | 2564 | libx264. |
2565 | </p> | 2565 | </p> |
2566 | <p>Requires·the·presence·of·the·libx264·headers·and·library·during | 2566 | <p>Requires·the·presence·of·the·libx264·headers·and·library·during |
2567 | configuration.·You·need·to·explicitly·configure·the·build·with | 2567 | configuration.·You·need·to·explicitly·configure·the·build·with |
2568 | <code>--enable-libx264</code>. | 2568 | <code>--enable-libx264</code>. |
2569 | </p> | 2569 | </p> |
2570 | <a·name="Options"></a> | 2570 | <a·name="Options-1"></a> |
2571 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options">11.2.1·Options</a></h3> | 2571 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-1">11.2.1·Options</a></h3> |
| |
2572 | <dl·compact="compact"> | 2572 | <dl·compact="compact"> |
2573 | <dt>‘<samp>preset·<var>preset_name</var></samp>’</dt> | 2573 | <dt>‘<samp>preset·<var>preset_name</var></samp>’</dt> |
2574 | <dd><p>Set·the·encoding·preset. | 2574 | <dd><p>Set·the·encoding·preset. |
2575 | </p> | 2575 | </p> |
2576 | </dd> | 2576 | </dd> |
2577 | <dt>‘<samp>tune·<var>tune_name</var></samp>’</dt> | 2577 | <dt>‘<samp>tune·<var>tune_name</var></samp>’</dt> |
Offset 2637, 16 lines modified | Offset 2637, 16 lines modified |
2637 | with·the·option·"–disable-demuxer=<var>DEMUXER</var>". | 2637 | with·the·option·"–disable-demuxer=<var>DEMUXER</var>". |
2638 | </p> | 2638 | </p> |
2639 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of | 2639 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of |
2640 | enabled·demuxers. | 2640 | enabled·demuxers. |
2641 | </p> | 2641 | </p> |
2642 | <p>The·description·of·some·of·the·currently·available·demuxers·follows. | 2642 | <p>The·description·of·some·of·the·currently·available·demuxers·follows. |
2643 | </p> | 2643 | </p> |
2644 | <a·name="image2-1"></a> | 2644 | <a·name="image2"></a> |
2645 | <h2·class="section"><a·href="ffmpeg.html#toc-image2-1">12.1·image2</a></h2> | 2645 | <h2·class="section"><a·href="ffmpeg.html#toc-image2">12.1·image2</a></h2> |
| |
2646 | <p>Image·file·demuxer. | 2646 | <p>Image·file·demuxer. |
2647 | </p> | 2647 | </p> |
2648 | <p>This·demuxer·reads·from·a·list·of·image·files·specified·by·a·pattern. | 2648 | <p>This·demuxer·reads·from·a·list·of·image·files·specified·by·a·pattern. |
2649 | </p> | 2649 | </p> |
2650 | <p>The·pattern·may·contain·the·string·"%d"·or·"%0<var>N</var>d",·which | 2650 | <p>The·pattern·may·contain·the·string·"%d"·or·"%0<var>N</var>d",·which |
2651 | specifies·the·position·of·the·characters·representing·a·sequential | 2651 | specifies·the·position·of·the·characters·representing·a·sequential |
Offset 2684, 16 lines modified | Offset 2684, 16 lines modified |
2684 | <p>Note·that·the·pattern·must·not·necessarily·contain·"%d"·or | 2684 | <p>Note·that·the·pattern·must·not·necessarily·contain·"%d"·or |
2685 | "%0<var>N</var>d",·for·example·to·convert·a·single·image·file | 2685 | "%0<var>N</var>d",·for·example·to·convert·a·single·image·file |
2686 | ‘<tt>img.jpeg</tt>’·you·can·employ·the·command: | 2686 | ‘<tt>img.jpeg</tt>’·you·can·employ·the·command: |
2687 | </p><div·class="example"> | 2687 | </p><div·class="example"> |
2688 | <pre·class="example">ffmpeg·-f·image2·-i·img.jpeg·img.png | 2688 | <pre·class="example">ffmpeg·-f·image2·-i·img.jpeg·img.png |
2689 | </pre></div> | 2689 | </pre></div> |
| |
2690 | <a·name="applehttp"></a> | 2690 | <a·name="applehttp-1"></a> |
2691 | <h2·class="section"><a·href="ffmpeg.html#toc-applehttp">12.2·applehttp</a></h2> | 2691 | <h2·class="section"><a·href="ffmpeg.html#toc-applehttp-1">12.2·applehttp</a></h2> |
| |
2692 | <p>Apple·HTTP·Live·Streaming·demuxer. | 2692 | <p>Apple·HTTP·Live·Streaming·demuxer. |
2693 | </p> | 2693 | </p> |
2694 | <p>This·demuxer·presents·all·AVStreams·from·all·variant·streams. | 2694 | <p>This·demuxer·presents·all·AVStreams·from·all·variant·streams. |
2695 | The·id·field·is·set·to·the·bitrate·variant·index·number.·By·setting | 2695 | The·id·field·is·set·to·the·bitrate·variant·index·number.·By·setting |
2696 | the·discard·flags·on·AVStreams·(by·pressing·’a’·or·’v’·in·ffplay), | 2696 | the·discard·flags·on·AVStreams·(by·pressing·’a’·or·’v’·in·ffplay), |
2697 | the·caller·can·decide·which·variant·streams·to·actually·receive. | 2697 | the·caller·can·decide·which·variant·streams·to·actually·receive. |
Offset 2790, 16 lines modified | Offset 2790, 16 lines modified |
2790 | MPEG-2·video,·use·the·command: | 2790 | MPEG-2·video,·use·the·command: |
2791 | </p><div·class="example"> | 2791 | </p><div·class="example"> |
2792 | <pre·class="example">ffmpeg·-i·INPUT·-acodec·pcm_u8·-vcodec·mpeg2video·-f·framecrc·- | 2792 | <pre·class="example">ffmpeg·-i·INPUT·-acodec·pcm_u8·-vcodec·mpeg2video·-f·framecrc·- |
2793 | </pre></div> | 2793 | </pre></div> |
| |
2794 | <p>See·also·the·<code>crc</code>·muxer·(see·<a·href="#crc">crc</a>). | 2794 | <p>See·also·the·<code>crc</code>·muxer·(see·<a·href="#crc">crc</a>). |
2795 | </p> | 2795 | </p> |
2796 | <a·name="image2"></a> | 2796 | <a·name="image2-1"></a> |
2797 | <h2·class="section"><a·href="ffmpeg.html#toc-image2">13.3·image2</a></h2> | 2797 | <h2·class="section"><a·href="ffmpeg.html#toc-image2-1">13.3·image2</a></h2> |
| |
2798 | <p>Image·file·muxer. | 2798 | <p>Image·file·muxer. |
2799 | </p> | 2799 | </p> |
2800 | <p>The·image·file·muxer·writes·video·frames·to·image·files. | 2800 | <p>The·image·file·muxer·writes·video·frames·to·image·files. |
2801 | </p> | 2801 | </p> |
2802 | <p>The·output·filenames·are·specified·by·a·pattern,·which·can·be·used·to | 2802 | <p>The·output·filenames·are·specified·by·a·pattern,·which·can·be·used·to |
2803 | produce·sequentially·numbered·series·of·files. | 2803 | produce·sequentially·numbered·series·of·files. |
Offset 2895, 16 lines modified | Offset 2895, 16 lines modified |
2895 | ·····-mpegts_pmt_start_pid·0x1500·\ | 2895 | ·····-mpegts_pmt_start_pid·0x1500·\ |
2896 | ·····-mpegts_start_pid·0x150·\ | 2896 | ·····-mpegts_start_pid·0x150·\ |
2897 | ·····-metadata·service_provider="Some·provider"·\ | 2897 | ·····-metadata·service_provider="Some·provider"·\ |
2898 | ·····-metadata·service_name="Some·Channel"·\ | 2898 | ·····-metadata·service_name="Some·Channel"·\ |
2899 | ·····-y·out.ts | 2899 | ·····-y·out.ts |
2900 | </pre></div> | 2900 | </pre></div> |
| |
2901 | <a·name="null"></a> | 2901 | <a·name="null-1"></a> |
2902 | <h2·class="section"><a·href="ffmpeg.html#toc-null">13.5·null</a></h2> | 2902 | <h2·class="section"><a·href="ffmpeg.html#toc-null-1">13.5·null</a></h2> |
| |
2903 | <p>Null·muxer. | 2903 | <p>Null·muxer. |
2904 | </p> | 2904 | </p> |
2905 | <p>This·muxer·does·not·generate·any·output·file,·it·is·mainly·useful·for | 2905 | <p>This·muxer·does·not·generate·any·output·file,·it·is·mainly·useful·for |
2906 | testing·or·benchmarking·purposes. | 2906 | testing·or·benchmarking·purposes. |
2907 | </p> | 2907 | </p> |
2908 | <p>For·example·to·benchmark·decoding·with·‘<tt>ffmpeg</tt>’·you·can·use·the | 2908 | <p>For·example·to·benchmark·decoding·with·‘<tt>ffmpeg</tt>’·you·can·use·the |
Offset 3017, 16 lines modified | Offset 3017, 16 lines modified |
3017 | input·device·using·the·option·"–disable-indev=<var>INDEV</var>". | 3017 | input·device·using·the·option·"–disable-indev=<var>INDEV</var>". |
3018 | </p> | 3018 | </p> |
3019 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of | 3019 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of |
3020 | supported·input·devices·(amongst·the·demuxers). | 3020 | supported·input·devices·(amongst·the·demuxers). |
3021 | </p> | 3021 | </p> |
3022 | <p>A·description·of·the·currently·available·input·devices·follows. | 3022 | <p>A·description·of·the·currently·available·input·devices·follows. |
3023 | </p> | 3023 | </p> |
3024 | <a·name="alsa-1"></a> | 3024 | <a·name="alsa"></a> |
3025 | <h2·class="section"><a·href="ffmpeg.html#toc-alsa-1">14.1·alsa</a></h2> | 3025 | <h2·class="section"><a·href="ffmpeg.html#toc-alsa">14.1·alsa</a></h2> |
| |
3026 | <p>ALSA·(Advanced·Linux·Sound·Architecture)·input·device. | 3026 | <p>ALSA·(Advanced·Linux·Sound·Architecture)·input·device. |
3027 | </p> | 3027 | </p> |
3028 | <p>To·enable·this·input·device·during·configuration·you·need·libasound | 3028 | <p>To·enable·this·input·device·during·configuration·you·need·libasound |
3029 | installed·on·your·system. | 3029 | installed·on·your·system. |
3030 | </p> | 3030 | </p> |
3031 | <p>This·device·allows·capturing·from·an·ALSA·device.·The·name·of·the | 3031 | <p>This·device·allows·capturing·from·an·ALSA·device.·The·name·of·the |
Offset 3142, 16 lines modified | Offset 3142, 16 lines modified |
3142 | <a·href="http://jackaudio.org/">http://jackaudio.org/</a> | 3142 | <a·href="http://jackaudio.org/">http://jackaudio.org/</a> |
3143 | </p> | 3143 | </p> |
3144 | <a·name="libdc1394"></a> | 3144 | <a·name="libdc1394"></a> |
3145 | <h2·class="section"><a·href="ffmpeg.html#toc-libdc1394">14.6·libdc1394</a></h2> | 3145 | <h2·class="section"><a·href="ffmpeg.html#toc-libdc1394">14.6·libdc1394</a></h2> |
| |
3146 | <p>IIDC1394·input·device,·based·on·libdc1394·and·libraw1394. | 3146 | <p>IIDC1394·input·device,·based·on·libdc1394·and·libraw1394. |
3147 | </p> | 3147 | </p> |
3148 | <a·name="oss"></a> | 3148 | <a·name="oss-1"></a> |
3149 | <h2·class="section"><a·href="ffmpeg.html#toc-oss">14.7·oss</a></h2> | 3149 | <h2·class="section"><a·href="ffmpeg.html#toc-oss-1">14.7·oss</a></h2> |
| |
3150 | <p>Open·Sound·System·input·device. | 3150 | <p>Open·Sound·System·input·device. |
3151 | </p> | 3151 | </p> |
3152 | <p>The·filename·to·provide·to·the·input·device·is·the·device·node | 3152 | <p>The·filename·to·provide·to·the·input·device·is·the·device·node |
3153 | representing·the·OSS·input·device,·and·is·usually·set·to | 3153 | representing·the·OSS·input·device,·and·is·usually·set·to |
3154 | ‘<tt>/dev/dsp</tt>’. | 3154 | ‘<tt>/dev/dsp</tt>’. |
3155 | </p> | 3155 | </p> |
Offset 3160, 16 lines modified | Offset 3160, 16 lines modified |
3160 | </p><div·class="example"> | 3160 | </p><div·class="example"> |
3161 | <pre·class="example">ffmpeg·-f·oss·-i·/dev/dsp·/tmp/oss.wav | 3161 | <pre·class="example">ffmpeg·-f·oss·-i·/dev/dsp·/tmp/oss.wav |
3162 | </pre></div> | 3162 | </pre></div> |
| |
3163 | <p>For·more·information·about·OSS·see: | 3163 | <p>For·more·information·about·OSS·see: |
3164 | <a·href="http://manuals.opensound.com/usersguide/dsp.html">http://manuals.opensound.com/usersguide/dsp.html</a> | 3164 | <a·href="http://manuals.opensound.com/usersguide/dsp.html">http://manuals.opensound.com/usersguide/dsp.html</a> |
3165 | </p> | 3165 | </p> |
3166 | <a·name="sndio-1"></a> | 3166 | <a·name="sndio"></a> |
3167 | <h2·class="section"><a·href="ffmpeg.html#toc-sndio-1">14.8·sndio</a></h2> | 3167 | <h2·class="section"><a·href="ffmpeg.html#toc-sndio">14.8·sndio</a></h2> |
| |
3168 | <p>sndio·input·device. | 3168 | <p>sndio·input·device. |
3169 | </p> | 3169 | </p> |
3170 | <p>To·enable·this·input·device·during·configuration·you·need·libsndio | 3170 | <p>To·enable·this·input·device·during·configuration·you·need·libsndio |
3171 | installed·on·your·system. | 3171 | installed·on·your·system. |
3172 | </p> | 3172 | </p> |
3173 | <p>The·filename·to·provide·to·the·input·device·is·the·device·node | 3173 | <p>The·filename·to·provide·to·the·input·device·is·the·device·node |
Offset 3281, 21 lines modified | Offset 3281, 21 lines modified |
3281 | input·device·using·the·option·"–disable-outdev=<var>OUTDEV</var>". | 3281 | input·device·using·the·option·"–disable-outdev=<var>OUTDEV</var>". |
3282 | </p> | 3282 | </p> |
3283 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of | 3283 | <p>The·option·"-formats"·of·the·ff*·tools·will·display·the·list·of |
3284 | enabled·output·devices·(amongst·the·muxers). | 3284 | enabled·output·devices·(amongst·the·muxers). |
3285 | </p> | 3285 | </p> |
3286 | <p>A·description·of·the·currently·available·output·devices·follows. | 3286 | <p>A·description·of·the·currently·available·output·devices·follows. |
3287 | </p> | 3287 | </p> |
3288 | <a·name="alsa"></a> | 3288 | <a·name="alsa-1"></a> |
3289 | <h2·class="section"><a·href="ffmpeg.html#toc-alsa">15.1·alsa</a></h2> | 3289 | <h2·class="section"><a·href="ffmpeg.html#toc-alsa-1">15.1·alsa</a></h2> |
| |
3290 | <p>ALSA·(Advanced·Linux·Sound·Architecture)·output·device. | 3290 | <p>ALSA·(Advanced·Linux·Sound·Architecture)·output·device. |
3291 | </p> | 3291 | </p> |
3292 | <a·name="oss-1"></a> | 3292 | <a·name="oss"></a> |
3293 | <h2·class="section"><a·href="ffmpeg.html#toc-oss-1">15.2·oss</a></h2> | 3293 | <h2·class="section"><a·href="ffmpeg.html#toc-oss">15.2·oss</a></h2> |
| |
3294 | <p>OSS·(Open·Sound·System)·output·device. | 3294 | <p>OSS·(Open·Sound·System)·output·device. |
3295 | </p> | 3295 | </p> |
3296 | <a·name="sdl"></a> | 3296 | <a·name="sdl"></a> |
3297 | <h2·class="section"><a·href="ffmpeg.html#toc-sdl">15.3·sdl</a></h2> | 3297 | <h2·class="section"><a·href="ffmpeg.html#toc-sdl">15.3·sdl</a></h2> |
| |
3298 | <p>SDL·(Simple·Directmedia·Layer)·output·device. | 3298 | <p>SDL·(Simple·Directmedia·Layer)·output·device. |
Offset 3306, 16 lines modified | Offset 3306, 16 lines modified |
3306 | </p> | 3306 | </p> |
3307 | <p>To·enable·this·output·device·you·need·libsdl·installed·on·your·system | 3307 | <p>To·enable·this·output·device·you·need·libsdl·installed·on·your·system |
3308 | when·configuring·your·build. | 3308 | when·configuring·your·build. |
3309 | </p> | 3309 | </p> |
3310 | <p>For·more·information·about·SDL,·check: | 3310 | <p>For·more·information·about·SDL,·check: |
3311 | <a·href="http://www.libsdl.org/">http://www.libsdl.org/</a> | 3311 | <a·href="http://www.libsdl.org/">http://www.libsdl.org/</a> |
3312 | </p> | 3312 | </p> |
3313 | <a·name="Options-1"></a> | 3313 | <a·name="Options-3"></a> |
3314 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-1">15.3.1·Options</a></h3> | 3314 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Options-3">15.3.1·Options</a></h3> |
| |
3315 | <dl·compact="compact"> | 3315 | <dl·compact="compact"> |
3316 | <dt>‘<samp>window_title</samp>’</dt> | 3316 | <dt>‘<samp>window_title</samp>’</dt> |
3317 | <dd><p>Set·the·SDL·window·title,·if·not·specified·default·to·the·filename | 3317 | <dd><p>Set·the·SDL·window·title,·if·not·specified·default·to·the·filename |
3318 | specified·for·the·output·device. | 3318 | specified·for·the·output·device. |
3319 | </p> | 3319 | </p> |
3320 | </dd> | 3320 | </dd> |
Offset 3327, 25 lines modified | Offset 3327, 25 lines modified |
3327 | <dt>‘<samp>window_size</samp>’</dt> | 3327 | <dt>‘<samp>window_size</samp>’</dt> |
3328 | <dd><p>Set·the·SDL·window·size,·can·be·a·string·of·the·form | 3328 | <dd><p>Set·the·SDL·window·size,·can·be·a·string·of·the·form |
3329 | <var>width</var>x<var>height</var>·or·a·video·size·abbreviation. | 3329 | <var>width</var>x<var>height</var>·or·a·video·size·abbreviation. |
3330 | If·not·specified·it·defaults·to·the·size·of·the·input·video. | 3330 | If·not·specified·it·defaults·to·the·size·of·the·input·video. |
3331 | </p></dd> | 3331 | </p></dd> |
3332 | </dl> | 3332 | </dl> |
| |
3333 | <a·name="Examples"></a> | 3333 | <a·name="Examples-1"></a> |
3334 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Examples">15.3.2·Examples</a></h3> | 3334 | <h3·class="subsection"><a·href="ffmpeg.html#toc-Examples-1">15.3.2·Examples</a></h3> |
| |
3335 | <p>The·following·command·shows·the·‘<tt>ffmpeg</tt>’·output·is·an | 3335 | <p>The·following·command·shows·the·‘<tt>ffmpeg</tt>’·output·is·an |
3336 | SDL·window,·forcing·its·size·to·the·qcif·format: | 3336 | SDL·window,·forcing·its·size·to·the·qcif·format: |
3337 | </p><div·class="example"> | 3337 | </p><div·class="example"> |
3338 | <pre·class="example">ffmpeg·-i·INPUT·-vcodec·rawvideo·-pix_fmt·yuv420p·-window_size·qcif·-f·sdl·"SDL·output" | 3338 | <pre·class="example">ffmpeg·-i·INPUT·-vcodec·rawvideo·-pix_fmt·yuv420p·-window_size·qcif·-f·sdl·"SDL·output" |
3339 | </pre></div> | 3339 | </pre></div> |
| |
3340 | <a·name="sndio"></a> | 3340 | <a·name="sndio-1"></a> |
3341 | <h2·class="section"><a·href="ffmpeg.html#toc-sndio">15.4·sndio</a></h2> | 3341 | <h2·class="section"><a·href="ffmpeg.html#toc-sndio-1">15.4·sndio</a></h2> |
| |
3342 | <p>sndio·audio·output·device. | 3342 | <p>sndio·audio·output·device. |
3343 | </p> | 3343 | </p> |
3344 | <a·name="Protocols"></a> | 3344 | <a·name="Protocols"></a> |
3345 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Protocols">16·Protocols</a></h1> | 3345 | <h1·class="chapter"><a·href="ffmpeg.html#toc-Protocols">16·Protocols</a></h1> |
| |
3346 | <p>Protocols·are·configured·elements·in·FFmpeg·which·allow·to·access | 3346 | <p>Protocols·are·configured·elements·in·FFmpeg·which·allow·to·access |
Offset 3362, 16 lines modified | Offset 3362, 16 lines modified |
3362 | "–disable-protocol=<var>PROTOCOL</var>". | 3362 | "–disable-protocol=<var>PROTOCOL</var>". |
3363 | </p> | 3363 | </p> |
3364 | <p>The·option·"-protocols"·of·the·ff*·tools·will·display·the·list·of | 3364 | <p>The·option·"-protocols"·of·the·ff*·tools·will·display·the·list·of |
3365 | supported·protocols. | 3365 | supported·protocols. |
3366 | </p> | 3366 | </p> |
3367 | <p>A·description·of·the·currently·available·protocols·follows. | 3367 | <p>A·description·of·the·currently·available·protocols·follows. |
3368 | </p> | 3368 | </p> |
3369 | <a·name="applehttp-1"></a> | 3369 | <a·name="applehttp"></a> |
3370 | <h2·class="section"><a·href="ffmpeg.html#toc-applehttp-1">16.1·applehttp</a></h2> | 3370 | <h2·class="section"><a·href="ffmpeg.html#toc-applehttp">16.1·applehttp</a></h2> |
| |
3371 | <p>Read·Apple·HTTP·Live·Streaming·compliant·segmented·stream·as | 3371 | <p>Read·Apple·HTTP·Live·Streaming·compliant·segmented·stream·as |
3372 | a·uniform·one.·The·M3U8·playlists·describing·the·segments·can·be | 3372 | a·uniform·one.·The·M3U8·playlists·describing·the·segments·can·be |
3373 | remote·HTTP·resources·or·local·files,·accessed·using·the·standard | 3373 | remote·HTTP·resources·or·local·files,·accessed·using·the·standard |
3374 | file·protocol. | 3374 | file·protocol. |
3375 | HTTP·is·default,·specific·protocol·can·be·declared·by·specifying | 3375 | HTTP·is·default,·specific·protocol·can·be·declared·by·specifying |
3376 | "+<var>proto</var>"·after·the·applehttp·URI·scheme·name,·where·<var>proto</var> | 3376 | "+<var>proto</var>"·after·the·applehttp·URI·scheme·name,·where·<var>proto</var> |
Offset 4939, 16 lines modified | Offset 4939, 16 lines modified |
4939 | #·input·to·the·vflip·filter | 4939 | #·input·to·the·vflip·filter |
4940 | noformat=yuv420p,vflip | 4940 | noformat=yuv420p,vflip |
| |
4941 | #·convert·the·input·video·to·any·of·the·formats·not·contained·in·the·list | 4941 | #·convert·the·input·video·to·any·of·the·formats·not·contained·in·the·list |
4942 | noformat=yuv420p:yuv444p:yuv410p | 4942 | noformat=yuv420p:yuv444p:yuv410p |
4943 | </pre></div> | 4943 | </pre></div> |
| |
4944 | <a·name="null-1"></a> | 4944 | <a·name="null"></a> |
4945 | <h2·class="section"><a·href="ffmpeg.html#toc-null-1">22.19·null</a></h2> | 4945 | <h2·class="section"><a·href="ffmpeg.html#toc-null">22.19·null</a></h2> |
| |
4946 | <p>Pass·the·video·source·unchanged·to·the·output. | 4946 | <p>Pass·the·video·source·unchanged·to·the·output. |
4947 | </p> | 4947 | </p> |
4948 | <a·name="ocv"></a> | 4948 | <a·name="ocv"></a> |
4949 | <h2·class="section"><a·href="ffmpeg.html#toc-ocv">22.20·ocv</a></h2> | 4949 | <h2·class="section"><a·href="ffmpeg.html#toc-ocv">22.20·ocv</a></h2> |
| |
4950 | <p>Apply·video·transform·using·libopencv. | 4950 | <p>Apply·video·transform·using·libopencv. |