Changes between Version 9 and Version 10 of CompilationGuide/vcpkg


Ignore:
Timestamp:
Nov 9, 2020, 10:10:25 PM (6 years ago)
Author:
Tarmo Pikaro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/vcpkg

    v9 v10  
    2222}}}
    2323
    24 Edit {{{ports\ffmpeg\CONTROL}}} file
    25 and change this line:
    26 {{{
    27 Default-Features: avresample, avcodec, avformat, avdevice, avfilter, postproc, swresample, swscale
    28 }}}
     24ffmpeg package description can be found from {{{ports/ffmpeg/CONTROL}}} file - including what is build by default -
     25see {{{Default-Features}}} tag, and feature list.
    2926
    30 to something you want to build, for example - I wanted to build only ffmpeg with with scaling / resizing support, so I've changed this line to:
    31 
    32 {{{
    33 Default-Features: ffmpeg, swresample, swscale
    34 }}}
    35 
    36 
    37 After that build ffmpeg using command line like this:
     27Build ffmpeg using command line like this:
    3828
    3929{{{
    … …  
    4636       - Builds release only version
    4737
    48 vcpkg install ffmpeg[ffplay,avcodec]:x64-windows-rel
     38vcpkg install vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel
    4939
    50        - Add more features (listed in CONTROL file), which you want to build - in this case I have added ffplay and avcodec packages.
     40       - Using 'core' overrides features <Default-Features> list, after which you can list features which you want.
     41
     42         As feature list I have added ffmpeg with resize, scale / etc features - other features can be found from CONTROL file.
    5143
    5244         Please note that adding new feature reflects to for example ffmpeg compilation options, so better to figure out full feature
    53          list right away - no need to rebuild same libraries later on
    54 
     45         list right away - no need to rebuild same libraries later on.
    5546}}}
    5647
    … …  
    5849
    5950{{{
    60 >vcpkg install ffmpeg:x64-windows-rel --dry-run
     51>vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel --dry-run
    6152Computing installation plan...
    62 The following packages will be built and installed:
    63     ffmpeg[avcodec,avfilter,avformat,core,ffmpeg,swresample,swscale]:x64-windows-rel
     53The following packages are already installed:
     54    ffmpeg[avcodec,avdevice,avfilter,avformat,core,ffmpeg,swresample,swscale]:x64-windows-rel
    6455}}}
    6556