I've linked nasm to openSUSE:Factory (build enabled for Leap 42.3 and SLE-12) and submitted an SR for libx264. Currently there are a lot of active (re)builds, so it will take a little time until all packages are published.