Changeset ac38e9dc for multimedia/videoutils/ffmpeg.xml
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multimedia/videoutils/ffmpeg.xml
r4a83293 rac38e9dc 7 7 <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.bz2"> 8 8 <!ENTITY ffmpeg-download-ftp " "> 9 <!ENTITY ffmpeg-md5sum " a77ca736bbc68d83b3ea77246d22ae8c">10 <!ENTITY ffmpeg-size " 9.1MB">11 <!ENTITY ffmpeg-buildsize "13 1.6 MB (additional 416 MB for docs and 2289 MB to run the FATE tests)">12 <!ENTITY ffmpeg-time " 2.8 SBU, using parallelism=2 (additional 1.1 SBU for docs and 4.2 SBU to run the FATE tests, after sample files are downloaded)">9 <!ENTITY ffmpeg-md5sum "f159c6d7eed8546b23e1a17325cbf1f8"> 10 <!ENTITY ffmpeg-size "7.8 MB"> 11 <!ENTITY ffmpeg-buildsize "135 MB (additional 1.0 GB to build and install Doxygen, PDF and Postscript documentation)"> 12 <!ENTITY ffmpeg-time "3.7 SBU"> 13 13 ]> 14 14 … … 42 42 </para> 43 43 44 &lfs7 6_checked;44 &lfs77_checked; 45 45 46 46 <bridgehead renderas="sect3">Package Information</bridgehead> … … 83 83 <para role="recommended"> 84 84 <xref linkend="fdk-aac"/>, 85 <xref linkend="freetype2"/>, 85 86 <xref linkend="lame"/>, 86 87 <xref linkend="libass"/>, … … 88 89 <xref linkend="libvorbis"/>, 89 90 <xref linkend="libvpx"/>, 90 <xref linkend="yasm"/>, and 91 <xref linkend="x264"/> 91 <xref linkend="opus"/>, 92 <xref linkend="x264"/>, and 93 <xref linkend="yasm"/> 92 94 </para> 93 95 … … 95 97 <para> 96 98 <xref linkend="alsa-lib"/>, 97 <xref linkend="libva"/>, 98 <xref linkend="libvdpau"/> (with the corresponding driver package), 99 <xref linkend="sdl"/>, and 100 <xref linkend="x-window-system"/>, 99 <xref linkend="libva"/> (with the corresponding driver package), 100 <xref linkend="libvdpau"/> (with the corresponding driver package), and 101 <xref linkend="sdl"/> 101 102 </para> 102 103 … … 104 105 <para role="optional"> 105 106 <xref linkend="faac"/>, 106 <xref linkend="fr eetype2"/>,107 <xref linkend="fribidi"/>, 107 108 <xref linkend="fontconfig"/>, 108 <xref linkend=" gnutls"/>,109 <xref linkend="libcdio"/> (to identify and play CDs), 109 110 <xref linkend="libwebp"/>, 110 111 <xref linkend="openjpeg"/>, 111 <xref linkend="openssl"/> ,112 <xref linkend=" opus"/>,112 <xref linkend="openssl"/> or 113 <xref linkend="gnutls"/>, 113 114 <xref linkend="pulseaudio"/>, 115 <xref linkend="samba"/>, 114 116 <xref linkend="speex"/>, 117 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) for PDF and PS documentation, 118 <xref linkend="v4l-utils"/>, 115 119 <xref linkend="xvid"/>, 120 <xref linkend="x-window-system"/>, 116 121 <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>, 117 122 <ulink url="https://files.dyne.org/frei0r/snapshots/">frei0r</ulink>, … … 121 126 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>, 122 127 <ulink url="http://caca.zoy.org/">libcaca</ulink>, 123 <ulink url="http://ftp.gnu.org/pub/gnu/libcdio/">libcdio</ulink>,124 128 <ulink url="http://www.celt-codec.org/">libcelt</ulink>, 125 129 <ulink url="http://sourceforge.net/projects/libdc1394">libdc1394</ulink>, 130 <ulink url="https://www.videolan.org/developers/libdca.html">libdca</ulink>, 126 131 <ulink url="https://ieee1394.wiki.kernel.org/index.php/Libraries">libiec61883</ulink>, 127 132 <ulink url="https://github.com/dekkers/libilbc">libilbc</ulink>, … … 137 142 <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink> (to build HTML documentation), 138 143 <ulink url="http://www.twolame.org/">TwoLAME</ulink>, 139 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>, 140 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>, 141 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, 142 <ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout), 143 <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>, and 144 <ulink url="http://www.videolan.org/developers/x265.html">x265 (H.265/MPEG-H HEVC)</ulink> 144 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc">vo-aaenc</ulink>, 145 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc">vo-amrwbenc</ulink>, 146 <ulink url="https://bitbucket.org/multicoreware/x265/">x265</ulink>, and 147 <ulink url="http://zapping.sourceforge.net/ZVBI/">ZVBI</ulink> 145 148 </para> 146 149 … … 168 171 --enable-libass \ 169 172 --enable-libfdk-aac \ 173 --enable-libfreetype \ 170 174 --enable-libmp3lame \ 175 --enable-libopus \ 171 176 --enable-libtheora \ 172 177 --enable-libvorbis \ … … 179 184 180 185 <para> 181 HTML documentation was built in the previous step. If you have 182 <xref linkend="texlive"/> installed and wish to build PDF and 183 Postscript versions of the documentation, issue the following commands: 184 </para> 185 186 <screen><userinput>sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi && 187 sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi && 188 189 pushd doc && 190 for DOCNAME in `basename -s .html *.html` 186 If you have <xref linkend="texlive"/> installed and want to build 187 PDF and Postscript documentation, issue the following commands: 188 </para> 189 190 <screen><userinput>pushd doc && 191 for DOCNAME in $(basename -s .html *.html) 191 192 do 192 193 texi2pdf -b $DOCNAME.texi && 193 194 texi2dvi -b $DOCNAME.texi && 194 dvips -o $DOCNAME.ps \ 195 $DOCNAME.dvi 196 done && 197 popd && 195 dvips -o $DOCNAME.ps $DOCNAME.dvi 196 done && 197 popd && 198 198 unset DOCNAME</userinput></screen> 199 199 200 200 <para> 201 If you have <xref linkend="doxygen"/> installed and wish to create the API 202 documentation (takes about 350 MB of space), issue the command 203 <command>doxygen doc/Doxyfile</command>. 204 </para> 205 206 <para> 207 The fate-suite tests include comparisons with installed files, and should 208 not be run before the package is installed. Therefore, if you desire to 209 run them, instructions are given further below. 201 If you have <xref linkend="doxygen"/> installed and want to build 202 the API documentation, issue: <command>doxygen doc/Doxyfile</command>. 203 </para> 204 205 <para> 206 To test the results, issue <command>make RUNNING_FATE= check</command>. 210 207 </para> 211 208 … … 215 212 216 213 <screen role="root"><userinput>make install && 217 install -v -m755 tools/qt-faststart /usr/bin && 218 install -v -m644 doc/*.txt \ 219 /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 220 221 <para> 222 If PDF and Postscript documentations were built, issue the following 223 commands, as the <systemitem class="username">root</systemitem> user, to 224 install them: 225 </para> 226 227 <screen role="root"><userinput>install -v -m644 doc/*.pdf \ 228 /usr/share/doc/ffmpeg-&ffmpeg-version; && 229 install -v -m644 doc/*.ps \ 230 /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 231 232 <para> 233 If you used <command>doxygen</command> to create the API documentation, 234 install it (another 300 MB of space) by issuing the following commands 214 install -v -m755 tools/qt-faststart /usr/bin && 215 install -v -m644 doc/*.txt /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 216 217 <para> 218 If the PDF and Postscript documentation was built, run the following 219 commands as the <systemitem class="username">root</systemitem> user 220 to install it: 221 </para> 222 223 <screen role="root"><userinput>install -v -m644 doc/*.pdf /usr/share/doc/ffmpeg-&ffmpeg-version; && 224 install -v -m644 doc/*.ps /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 225 226 <para> 227 If you used <command>doxygen</command> to build the API documentation, 228 you can install it by running the following commands 235 229 as the <systemitem class="username">root</systemitem> user: 236 230 </para> 237 231 238 <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 239 cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 240 find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 "{}" ";" && 241 find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 "{}" ";"</userinput></screen> 242 243 <para> 244 To properly test the installation you must have <xref linkend="rsync"/> 245 installed and follow the instructions for the <ulink 246 url="http://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing 247 Environment</ulink> (FATE). First, about 879 MB of sample files used to 248 run FATE are downloaded with the command: 249 </para> 250 251 <screen><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen> 252 253 <para> 254 The <filename class="directory">fate-suite</filename> directory is 255 created and the files are downloaded there. That command actually runs 256 <command>rsync -vrltLW --timeout=60 --contimeout=60 257 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</command> command, 258 thus you may want to compress and keep this directory for testing again, 259 in another system, or when a new version of ffmpeg is launched. Then, you 260 unpack the sample files in the source directory, and run, again, the 261 <command>make</command> command above, to sync with the repository. Now, 262 the download size and time are drastically reduced. Estimated values in 263 "Package Information" do not include the download SBU. Next, FATE is 264 executed, with the commands (you obtain a number of tests greater than 265 2000): 266 </para> 267 268 <screen><userinput>make fate SAMPLES=fate-suite/ | tee ../fate.log && 269 grep ^TEST ../fate.log | wc -l</userinput></screen> 232 <screen role="root"><userinput>install -v -dm755 /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 233 cp -rv doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api</userinput></screen> 270 234 271 235 </sect2> … … 282 246 283 247 <para> 284 <command>sed -i ... texi</command>: Fix some .texi files for285 documentation builds.286 </para>287 288 <para>289 <command>find ... ";"</command>: Fix permissions of documentation files290 and directories.291 </para>292 293 <para>294 248 <option>--enable-libfreetype</option>: Enables 295 249 <application>Freetype</application> support. … … 356 310 <parameter>--enable-libx264</parameter>: Enables high-quality 357 311 H.264/MPEG-4 AVC encoding via <filename 358 class="libraryfile">libx264</filename>. A312 class="libraryfile">libx264</filename>. 359 313 </para> 360 314 361 315 <para> 362 316 <parameter>--enable-x11grab</parameter>: Enables X11 grabbing. 317 </para> 318 319 <para> 320 <option>--enable-openssl</option> or <option>--enable-gnutls</option>: 321 Enables HTTPS protocol for network streams. 363 322 </para> 364 323 … … 423 382 <seglistitem> 424 383 <seg> 425 ffmpeg, ffplay, ffprobe, ffserver ,and384 ffmpeg, ffplay, ffprobe, ffserver and 426 385 qt-faststart 427 386 </seg> … … 429 388 libavcodec.so, libavdevice.so, libavfilter.so, 430 389 libavformat.so, libavutil.so, libpostproc.so, 431 libswresample ,and libswscale.so390 libswresample and libswscale.so 432 391 </seg> 433 392 <seg> 434 /usr/include/libavcodec, 435 /usr/include/libavdevice, 436 /usr/include/libavfilter, 437 /usr/include/libavformat, 438 /usr/include/libavutil, 439 /usr/include/libpostproc, 440 /usr/include/libswresample 441 /usr/include/libswscale, 442 /usr/share/ffmpeg, and 443 /usr/share/doc/ffmpeg-&ffmpeg-version; 393 /usr/include/{libavcodec,libavdevice,libavfilter,libavformat}, 394 /usr/include/{libavutil,libpostproc,libswresample,libswscale}, 395 /usr/share/doc/ffmpeg-&ffmpeg-version; and 396 /usr/share/ffmpeg 444 397 </seg> 445 398 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.