#11615: Web site Documentation - possibe error in https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu# ---------------------------------+--------------------------------------- Reporter: ezgoen | Type: defect Status: new | Priority: normal Component: website | Version: unspecified Keywords: libvmaf | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+--------------------------------------- In the section regarding libvmaf in https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu#
compiling with the result of the steps described: wget https://github.com/Netflix/vmaf/archive/v3.0.0.tar.gz && \ tar xvf v3.0.0.tar.gz && \ ... At the time of writing there are no .git folders in this archive. This generates a git error in the line within vmaf-3.0.0/libvmaf/build/build.ninja I note that the following line produces a fatal error --git-dir .../ffmpeg/sources/vmaf-3.0.0/libvmaf/../.git describe --tags --long --match '?.*.*' --always This is a git error NOT a compile error but results in a meson argument with a bogus component which may result in a failure to build I have rewritten the example with seemingly reliable results as : cd ~/ffmpeg_sources && \ git clone https://github.com/Netflix/vmaf.git vmaf-3.0.0 && \ mkdir -p vmaf-3.0.0/libvmaf/build && \ cd vmaf-3.0.0/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 The only caveat may be that git clone https://github.com/Netflix/vmaf.git may always retrieve the latest release which means the version may end up mismatching with the code examples In case this helps someone -- Ticket URL: <https://trac.ffmpeg.org/ticket/11615> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".