Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually.
Error selecting an encoder for stream 0:0
ffmpeg 4.0 isn’t even out for TW (yet) and I doubt it ever will be officially (by packman) for LEAP 15
there are a few user builds of 4.0 and a build in the multimedia:libs repo but no patented code can be allowed on OBS so all the builds from https://software.opensuse.org/package/ffmpeg
lack the restricted formats
the only fully functional version of ffmpeg for LEAP 15.0 is 3.4.2 from packman http://packman.links2linux.org/package/ffmpeg/854669
if you want a fully functional 4.x you’ll have to build it your self and seeing how ffmpeg depends on a ton of other packages that’s not an easy to do
you could use packman’s 3.4.2 build or upgrade to TW and wait a few days for 4.0 to enter in the packman TW builds or try and build it yourself