Advertisement
marcello

FFmpeg with pkgsrc

Jul 16th, 2012
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.45 KB | None | 0 0
  1. # check the list of binary packages after the initial bootstrap:
  2. pkg_info -a
  3.  
  4. tnftp-20070806      The enhanced FTP client in NetBSD
  5. bmake-20110606      Portable (autoconf) version of NetBSD 'make' utility
  6. figlet-2.2.4        Print text banners in fancy ASCII art characters
  7. nbpatch-20100124    Patch files using diff output
  8. pkg_install-20120221 Package management and administration tools for pkgsrc
  9. bootstrap-mk-files-20120415 *.mk files for the bootstrap bmake utility
  10. digest-20111104     Message digest wrapper utility
  11.  
  12. # switch to ffmpeg for building
  13. cd pkgsrc/multimedia/ffmpeg
  14.  
  15. # show default options
  16. bmake show-options
  17.  
  18. Any of the following general options may be selected:
  19.     faac     Enable AAC decoding support using faac.
  20.     lame     Use the lame encoder to create MP3 files.
  21.     libvpx 
  22.     opencore-amr     Enable OpenCORE Adaptive Multi-Rate speech codecs.
  23.     theora   Use the theora codecs.
  24.     vorbis   Enable Ogg Vorbis support.
  25.     x264   
  26.     xvid     Enable usage of XVid codecs.
  27.  
  28. These options are enabled by default:
  29.     lame libvpx theora vorbis x264 xvid
  30.  
  31. These options are currently enabled:
  32.     lame libvpx theora vorbis x264 xvid
  33.  
  34. You can select which build options to use by setting PKG_DEFAULT_OPTIONS
  35. or PKG_OPTIONS.ffmpeg.
  36.  
  37. # set options for activating the faac encoder
  38. echo "PKG_OPTIONS.ffmpeg+= faac" >> ../../../pkg/etc/mk.conf
  39. # Accept the LAME license
  40. echo "ACCEPTABLE_LICENSES+=lame-license" >> ../../../pkg/etc/mk.conf
  41.  
  42. # build a package
  43. bmake
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement