[FFmpeg-trac] #10717(undetermined:new): Issue with CompilationGuide/ubuntu

FFmpeg trac at avcodec.org
Sat Dec 2 18:43:12 EET 2023


#10717: Issue with CompilationGuide/ubuntu
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  iconoclasthero                     |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 How to reproduce:

 {{{
 cd ~/ffmpeg_sources && \
 wget https://github.com/Netflix/vmaf/archive/v2.3.1.tar.gz && \
 tar xvf v2.3.1.tar.gz && \
 mkdir -p vmaf-2.3.1/libvmaf/build &&\
 cd vmaf-2.3.1/libvmaf/build && \
 meson setup -Denable_tests=false -Denable_docs=false --buildtype=release
 --default-library=static .. --prefix "$HOME/ffmpeg_build"
 --bindir="$HOME/bin" --libdir="$HOME/ffmpeg_build/lib" && \
 ninja && \
 ninja install
 }}}


 this results in an error in at the meson step:
 `../meson.build:1:0: ERROR: The value of the 'bindir' option is
 '$HOME/bin' which must be a subdir of the prefix '$HOME/ffmpeg_build'.`

 So the instructions must be amended to change:
 {{{
 - --bindir="$HOME/bin"
 + --bindir="$HOME/ffmpeg_build/bin
 }}}

 As I'm writing this, I suppose that means that if the build step of ffmpeg
 is looking for it in $HOME/bin, you will also need to
 `mv $HOME/ffmpeg_build/bin/* $HOME/bin/`

 Also, just for the sake of argument, is there an easy way to amend the
 titular guide to use something other than my home directory?  I *really*
 do not like that my home dir is shown in the header info every single time
 I run ffmpeg.  I have to take that all out if I want to paste it.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10717>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list