Changeset c08bd877
- Timestamp:
- 11/25/2011 02:48:42 AM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 5b74b27
- Parents:
- 9e5b78b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multimedia/videoutils/ffmpeg.xml
r9e5b78b rc08bd877 97 97 <ulink url="http://medialibrary.sourceforge.net/">MediaLibrary</ulink>, 98 98 <ulink url="http://www.openjpeg.org">OpenJPEG</ulink> 99 (<application> ffmpeg</application> includes code for it's own jpeg200099 (<application>FFmpeg</application> includes code for it's own jpeg2000 100 100 encoder and decoder which is enabled by default), <xref linkend="speex"/>, 101 101 <!-- <xref linkend="tetex"/>, --> <xref linkend="sdl"/> and … … 114 114 commands:</para> 115 115 116 <screen><userinput>./configure --prefix=/usr --enable-shared --disable-static --enable-gpl && 116 <screen><userinput>mkdir build && 117 cd build && 118 ../configure --prefix=/usr --enable-shared --disable-static --enable-gpl && 117 119 make</userinput></screen> 118 120 121 <para>If you upload certain formats (quicktime, mov or mp4) to youtube, you 122 need to "flatten" them (move the index to the front of the file) before 123 uploading. FFmpeg contains a tool called <command>qt-faststart</command> 124 that can do this. If need <command>qt-faststart</command>, you can compile 125 it with gcc:</para> 126 127 <screen><userinput>gcc ../tools/qt-faststart.c -o qt-faststart</userinput></screen> 128 119 129 <para>If you have <xref linkend="doxygen"/> installed and wish to create 120 the API documentation (takes about 150 MB of space), issue 130 the API documentation (takes about 150 MB of space), issue the command 121 131 <command>doxygen</command>.</para> 122 132 … … 140 150 141 151 <screen role="root"><userinput>mkdir /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 142 cp -v doxy/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen> 152 cp -v doxy/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen> 153 154 <para>If you compiled <command>qt-faststart</command> install it as the 155 <systemitem class="username">root</systemitem> user:</para> 156 157 <screen role="root"><userinput>cp qt-faststart /usr/bin</userinput></screen> 143 158 144 159 </sect2> … … 147 162 <title>Command Explanations</title> 148 163 164 <para><command>mkdir build</command> and <command>cd build</command>: 165 This ensures that we compile the <application>FFmpeg</application> object 166 files in a separate directory to the source files.</para> 167 149 168 <para><option>--enable-shared</option>: This switch is needed to 150 169 build the shared libraries, otherwise only static libraries are built … … 159 178 160 179 <para><option>--enable-<replaceable><codec></replaceable></option>: 161 <application> ffmpeg</application> comes with code to compile decoders for180 <application>FFmpeg</application> comes with code to compile decoders for 162 181 almost every codec you could think of. The only reason to enable a specific 163 codec (and make ffmpeg link to the prerequisite shared library installed on 164 your system) is to make ffmpeg compile an <emphasis>encoder</emphasis> for 165 that codec. Encoding video is a job for a specialist. If that is what you 166 want to do, study the output of <command>configure --help</command>. 167 Remember, the dependencies all install their own encoders that are often 168 better than <application>ffmpeg</application>'s. 169 <application>Ffmpeg</application> is an excellent collection of decoders. 170 If you just want to use ffmpeg to watch video or listen to music there is 171 no benefit from linking it to another library.</para> 182 codec (and make <application>FFmpeg</application> link to the prerequisite 183 shared library installed on your system) is to make ffmpeg compile an 184 <emphasis>encoder</emphasis> for that codec. Encoding video is a 185 specialist job. If that is what you want to do with 186 <command>ffmpeg</command>, study the output of <command>configure 187 --help</command>. Remember, the dependencies all install their own encoders 188 (that are often better than <application>FFmpeg</application>'s). 189 <application>FFmpeg</application> is an excellent collection of decoders. 190 If you just want to use <application>FFmpeg</application> to watch video or 191 listen to music (via other applications like 192 <application>Gstreamer</application>) then you will not benefit from 193 linking it to another library.</para> 172 194 173 195 <para><option>--disable-yasm</option>: use this option if you've not … … 194 216 </indexterm> 195 217 196 <para>You'll find a sample ffserver configuration file at197 <filename>doc/ffserver.conf</filename> in the source tree.</para>218 <para>You'll find a sample <command>ffserver</command> configuration file 219 at <filename>doc/ffserver.conf</filename> in the source tree.</para> 198 220 199 221 </sect3> … … 210 232 211 233 <seglistitem> 212 <seg>ffmpeg, ffplay, ffprobe, and ffserver</seg>234 <seg>ffmpeg, ffplay, ffprobe, ffserver and qt-faststart</seg> 213 235 <seg>libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, 214 236 libavutil.so, libpostproc.so, and libswscale.so</seg> … … 254 276 <indexterm zone="ffmpeg ffserver"> 255 277 <primary sortas="b-ffserver">ffserver</primary> 278 </indexterm> 279 </listitem> 280 </varlistentry> 281 282 <varlistentry id="qt-faststart"> 283 <term><command>qt-faststart</command></term> 284 <listitem> 285 <para>moves the index file to the front of quicktime (mov/mp4) 286 videos.</para> 287 <indexterm zone="ffmpeg qt-faststart"> 288 <primary sortas="b-qt-faststart">qt-faststart</primary> 256 289 </indexterm> 257 290 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.