Changeset 12fbef3 for multimedia/videoutils/ffmpeg.xml
- Timestamp:
- 02/01/2016 12:21:29 AM (8 years ago)
- Branches:
- systemd-13485
- Children:
- d6e4445
- Parents:
- 3144280
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multimedia/videoutils/ffmpeg.xml
r3144280 r12fbef3 5 5 %general-entities; 6 6 7 <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar. bz2">7 <!ENTITY ffmpeg-download-http "http://ffmpeg.org/releases/ffmpeg-&ffmpeg-version;.tar.xz"> 8 8 <!ENTITY ffmpeg-download-ftp " "> 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"> 9 <!ENTITY ffmpeg-md5sum "b34164bd181f4f81c21da3dd131d919d"> 10 <!ENTITY ffmpeg-size "6.9 MB"> 11 <!ENTITY ffmpeg-buildsize "156 MB (additional 2450 MB for the FATE suite)"> 12 <!ENTITY ffmpeg-time "1.2 SBU, with -j4 (additional 3.1 SBU, with THREADS=4, 13 to run the FATE suite, after sample files are downloaded)"> 13 14 ]> 14 15 … … 42 43 </para> 43 44 44 &lfs7 7_checked;45 &lfs78_checked; 45 46 46 47 <bridgehead renderas="sect3">Package Information</bridgehead> … … 82 83 <bridgehead renderas="sect4">Recommended</bridgehead> 83 84 <para role="recommended"> 85 <xref linkend="libass"/>, 84 86 <xref linkend="fdk-aac"/>, 85 87 <xref linkend="freetype2"/>, 86 88 <xref linkend="lame"/>, 87 <xref linkend="libass"/>,88 89 <xref linkend="libtheora"/>, 89 90 <xref linkend="libvorbis"/>, 90 91 <xref linkend="libvpx"/>, 91 92 <xref linkend="opus"/>, 92 <xref linkend="x264"/>, and 93 <xref linkend="x264"/>, 94 <xref linkend="x265"/>, and 93 95 <xref linkend="yasm"/> 94 96 </para> … … 97 99 <para> 98 100 <xref linkend="alsa-lib"/>, 99 <xref linkend="libva"/> (with the corresponding driver package),101 <xref linkend="libva"/>, 100 102 <xref linkend="libvdpau"/> (with the corresponding driver package), and 101 103 <xref linkend="sdl"/> … … 105 107 <para role="optional"> 106 108 <xref linkend="faac"/>, 107 <xref linkend="fribidi"/>,108 109 <xref linkend="fontconfig"/>, 110 <xref linkend="frei0r"/>, 109 111 <xref linkend="libcdio"/> (to identify and play CDs), 110 112 <xref linkend="libwebp"/>, 113 <xref linkend="opencv"/>, 111 114 <xref linkend="openjpeg"/>, 112 115 <xref linkend="openssl"/> or 113 116 <xref linkend="gnutls"/>, 114 117 <xref linkend="pulseaudio"/>, 115 <xref linkend="samba"/>,116 118 <xref linkend="speex"/>, 117 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) for PDF and PS documentation, 119 <xref linkend="texlive"/> 120 (or <xref linkend="tl-installer"/>) for PDF and PS documentation, 118 121 <xref linkend="v4l-utils"/>, 119 122 <xref linkend="xvid"/>, 120 123 <xref linkend="x-window-system"/>, 121 124 <ulink url="http://www.speech.cs.cmu.edu/flite/">Flite</ulink>, 122 <ulink url="https://files.dyne.org/frei0r/snapshots/">frei0r</ulink>,123 125 <ulink url="http://www.quut.com/gsm/">GSM</ulink>, 124 <ulink url="http://www.ladspa.org/">LADSPA</ulink>, 126 <ulink url="http://xhevc.com/en/hevc/decoder/download.jsp">HEVC/H.265</ulink>, 127 <!--<ulink url="http://www.ladspa.org/">LADSPA</ulink>,--> 125 128 <ulink url="http://tipok.org.ua/node/17">libaacplus</ulink>, 126 129 <ulink url="http://www.videolan.org/developers/libbluray.html">libbluray</ulink>, … … 135 138 <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>, 136 139 <ulink url="http://www.libssh.org/">libssh</ulink>, 137 < ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),140 <!--<ulink url="http://xavs.sourceforge.net/">libxavs</ulink> (SVN checkout),--> 138 141 <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>, 139 142 <ulink url="http://sourceforge.net/projects/opencore-amr">OpenCore AMR</ulink>, 140 <ulink url="http://opencv.org/">OpenCV</ulink>, 141 <ulink url="http://diracvideo.org/">Schroedinger</ulink>, 142 <ulink url="http://www.nongnu.org/texi2html">texi2html</ulink> (to build HTML documentation), 143 <!--<ulink url="http://diracvideo.org/">Schroedinger</ulink>,--> 144 <ulink url="http://sourceforge.net/projects/schrodinger/">Schroedinger</ulink>, 143 145 <ulink url="http://www.twolame.org/">TwoLAME</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>, and146 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-aacenc/">vo-aaenc</ulink>, 147 <ulink url="http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/">vo-amrwbenc</ulink>, and 148 <!--<ulink url="http://www.videolan.org/developers/x265.html">x265 (H.265/MPEG-H HEVC)</ulink>, and--> 147 149 <ulink url="http://zapping.sourceforge.net/ZVBI/">ZVBI</ulink> 148 150 </para> … … 162 164 163 165 <screen><userinput>sed -i 's/-lflite"/-lflite -lasound"/' configure && 166 164 167 ./configure --prefix=/usr \ 165 168 --enable-gpl \ … … 178 181 --enable-libvpx \ 179 182 --enable-libx264 \ 183 --enable-libx265 \ 180 184 --enable-x11grab \ 181 185 --docdir=/usr/share/doc/ffmpeg-&ffmpeg-version; && 186 182 187 make && 188 183 189 gcc tools/qt-faststart.c -o tools/qt-faststart</userinput></screen> 184 190 185 191 <para> 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) 192 HTML documentation was built in the previous step. If you have 193 <xref linkend="texlive"/> installed and wish to build PDF and 194 Postscript versions of the documentation, issue the following commands: 195 </para> 196 197 <screen><userinput>sed -i '$s/$/\n\n@bye/' doc/{git-howto,nut,fate}.texi && 198 sed -i '/machine:i386/ s/\\/@backslashchar{}/g' doc/platform.texi && 199 200 pushd doc && 201 for DOCNAME in `basename -s .html *.html` 192 202 do 193 203 texi2pdf -b $DOCNAME.texi && 194 204 texi2dvi -b $DOCNAME.texi && 195 dvips -o $DOCNAME.ps $DOCNAME.dvi 205 206 dvips -o $DOCNAME.ps \ 207 $DOCNAME.dvi 196 208 done && 197 209 popd && … … 199 211 200 212 <para> 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>. 213 If you have <xref linkend="doxygen"/> installed and wish to create the API 214 documentation (takes about 350 MB of space), issue the command 215 <command>doxygen doc/Doxyfile</command>. 216 </para> 217 218 <para> 219 The fate-suite tests include comparisons with installed files, and should 220 not be run before the package is installed. Therefore, if you desire to 221 run them, instructions are given further below. 207 222 </para> 208 223 … … 212 227 213 228 <screen role="root"><userinput>make install && 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 229 230 install -v -m755 tools/qt-faststart /usr/bin && 231 install -v -m644 doc/*.txt \ 232 /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 233 234 <para> 235 If PDF and Postscript documentations were built, issue the following 236 commands, as the <systemitem class="username">root</systemitem> user, to 237 install them: 238 </para> 239 240 <screen role="root"><userinput>install -v -m644 doc/*.pdf \ 241 /usr/share/doc/ffmpeg-&ffmpeg-version; && 242 install -v -m644 doc/*.ps \ 243 /usr/share/doc/ffmpeg-&ffmpeg-version;</userinput></screen> 244 245 <para> 246 If you used <command>doxygen</command> to create the API documentation, 247 install it (another 300 MB of space) by issuing the following commands 229 248 as the <systemitem class="username">root</systemitem> user: 230 249 </para> 231 250 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> 251 <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 252 cp -vr doc/doxy/html/* /usr/share/doc/ffmpeg-&ffmpeg-version;/api && 253 find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type f -exec chmod -c 0644 \{} \; && 254 find /usr/share/doc/ffmpeg-&ffmpeg-version;/api -type d -exec chmod -c 0755 \{} \;</userinput></screen> 255 256 <para> 257 To properly test the installation you must have <xref linkend="rsync"/> 258 installed and follow the instructions for the <ulink 259 url="http://www.ffmpeg.org/fate.html"> FFmpeg Automated Testing 260 Environment</ulink> (FATE). First, about 958 MB of sample files used to 261 run FATE are downloaded with the command: 262 </para> 263 264 <screen><userinput>make fate-rsync SAMPLES=fate-suite/</userinput></screen> 265 266 <para> 267 The <filename class="directory">fate-suite</filename> directory is 268 created and the files are downloaded there. That command actually runs an 269 rsync command, to obtain the sample files. You may want to compress and 270 keep this directory for testing again, in another system, or when a new 271 version of ffmpeg is launched. Then, you unpack the sample files in the 272 source directory, and run, again, the <command>make fate-rsync 273 ...</command> command above, to sync with the repository. Now, the 274 download size and time are drastically reduced. Estimated values in 275 "Package Information" do not include the download SBU. Some samples may 276 have been removed, in the new version, so, in order to be sure local and 277 server fate samples are identical, when you use previously saved samples, 278 run the following command: 279 </para> 280 281 <screen><userinput><command>rsync -vrltLW --delete --timeout=60 --contimeout=60 \ 282 rsync://fate-suite.ffmpeg.org/fate-suite/ fate-suite/</command></userinput></screen> 283 284 <para> 285 Next, FATE is executed, with the commands (you obtain a number of tests 286 larger than 2500): 287 </para> 288 289 <screen><userinput>make fate THREADS=<replaceable>N</replaceable> SAMPLES=fate-suite/ | tee ../fate.log && 290 grep ^TEST ../fate.log | wc -l</userinput></screen> 291 292 <para> 293 where <replaceable>N</replaceable> is an integer, 294 <replaceable>N</replaceable> ≤ number of threads in the system. 295 </para> 234 296 235 297 </sect2> … … 246 308 247 309 <para> 310 <command>sed -i ... texi</command>: Fix some .texi files for 311 documentation builds. 312 </para> 313 314 <para> 315 <command>find ... ;</command>: Fix permissions of documentation files 316 and directories. 317 </para> 318 319 <para> 248 320 <option>--enable-libfreetype</option>: Enables 249 321 <application>Freetype</application> support. … … 311 383 H.264/MPEG-4 AVC encoding via <filename 312 384 class="libraryfile">libx264</filename>. 385 </para> 386 387 <para> 388 <parameter>--enable-libx265</parameter>: Enables high-quality 389 H.265/HEVC encoding via <filename 390 class="libraryfile">libx265</filename>. 313 391 </para> 314 392 … … 382 460 <seglistitem> 383 461 <seg> 384 ffmpeg, ffplay, ffprobe, ffserver and 385 qt-faststart 462 ffmpeg, ffplay, ffprobe, ffserver, and qt-faststart 386 463 </seg> 387 464 <seg> 388 465 libavcodec.so, libavdevice.so, libavfilter.so, 389 466 libavformat.so, libavutil.so, libpostproc.so, 390 libswresample and libswscale.so467 libswresample, and libswscale.so 391 468 </seg> 392 469 <seg> 393 /usr/include/ {libavcodec,libavdevice,libavfilter,libavformat},394 /usr/include/ {libavutil,libpostproc,libswresample,libswscale},395 /usr/share/doc/ffmpeg-&ffmpeg-version; and470 /usr/include/lib{avcodec,avdevice,avfilter,avformat}, 471 /usr/include/lib{avutil,postproc,swresample,swscale}, 472 /usr/share/doc/ffmpeg-&ffmpeg-version;, and 396 473 /usr/share/ffmpeg 397 474 </seg>
Note:
See TracChangeset
for help on using the changeset viewer.