Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
diana:windows:building:ffmpeg [2010-02-26 11:26:45]
dages created
diana:windows:building:ffmpeg [2022-05-31 09:29:31] (current)
Line 10: Line 10:
 Note that we've tried to trim it down a bit by disabling bits we don't need. Note that we've tried to trim it down a bit by disabling bits we don't need.
  
-You can safely ignore the ''pr: command not found'' messages.+You can safely ignore the ''pr: command not found'' messages.  If they really bother you, just create a do-nothing shell script:
  
-Finally, build and install:+  $ echo "#!/bin/sh" >/bin/pr 
 +  $ chmod a+rx /bin/pr
  
-  $ make all install+Build and install the libraries: 
 + 
 +  $ make all install-libs 
 + 
 +Now we need to fix up the headers so they look like they do on Hardy: 
 + 
 +  $ make INCINSTDIR=/c/met.no/include/ffmpeg install-headers 
 +  $ cd /c/met.no/include 
 +  $ for hdr in ffmpeg/*.h ; do \ 
 +      echo $hdr ; \ 
 +      sed -e '/^#include/s@"libav[a-z]*/@"@' <$hdr >$hdr- && mv $hdr- $hdr ; \ 
 +    done 
 + 
 +The ''INCINSTDIR'' bit forces ffmpeg to install its headers in ''/c/met.no/include/ffmpeg'' instead of separate directories for each library (''/c/met.no/include/libavformat'', ''/c/met.no/include/libavutil'' etc.), and the ''sed'' command edits them so they can still find each other when installed in a non-standard location. 
 + 
 +Finally, the copyright and license information: 
 + 
 +  $ cp README /c/met.no/copyright/ffmpeg.txt 
 +  $ cat COPYING.LGPL >>/c/met.no/copyright/ffmpeg.txt 
  
  • diana/windows/building/ffmpeg.1267183605.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)