All posts by rogerdpack

os x remote x server

Remote X server.

  • If you want to be able to run remote “x” commands like “xterm” and have them show up on your local mac box (“remote x window server”), here’s how:
    • $ brew cask install xquartz
    • start xquartz application locally
    • install “xauth” on the remote server (ex: $ yum install xauth)
    • $ export DISPLAY=:0

    • ssh -Y username@hostname

libvmaf woe

ERROR: libvmaf >= 1.3.9 not found using pkg-config

test.c:3:54: error: _compute_vmaf‘ undeclared (first use in this function); did you mean ‘compute_vmaf‘?

even though that method is found in libvmaf.a, you can see it by running nm on the file.

This meant “in linux, ar somehow creates a .a file that mingw can still use, whoa, in os x, it can’t so creates a halfhearted one, *because* it was using the normal ar not the mingw cross one”

fix

https://github.com/Netflix/vmaf/issues/296

ibrary define global symbols)

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-g++ -s -o vmafossexec  /Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/win32/vmaf_git/wrapper/obj/main.o libvmaf.a -pthread

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: /Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/win32/vmaf_git/wrapper/obj/main.o: in function `Z11run_wrapperPciiS_S_S_S_S_bbbbbbbS_iib’:

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/win32/vmaf_git/wrapper/src/main.cpp:163: undefined reference to `read_frame’

/Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/lib/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: /Users/rdp/dev/ffmpeg-windows-build-helpers/sandbox/win32/vmaf_git/wrapper/src/main.cpp:163: undefined reference to `compute_vmaf’

collect2: error: ld returned 1 exit status

make[1]: *** [vmafossexec] Error 1