Question / Help [SOLVED] Failed to create aac streaming encoder (simple output)

omento

New Member
Hi all, sorry if this is in the wrong place, first time posting in this forum. I'm trying to build RPM's for CentOS 7 (hopefully I can push to RPM Fusion). I keep running into an issue that I wasn't having yesterday if just building locally rather than through RPM's. When launching OBS, I get the error found in the title. Full output can be seen here: https://pastebin.com/yBUMbc2n. The main blob is:

Code:
error: Encoder ID 'obs_x264' not found
error: Failed to get properties for encoder '' (ffmpeg_aac)
error: Could not enumerate any AAC encoder bitrates
error: Failed to create aac streaming encoder (simple output)
info: Freeing OBS context data

The spec file I'm using to generate the RPM's can be found here: https://pastebin.com/tYGx0ekE. Is there anything that stands out to the more experienced people here about why this might be happening? At the end of the day I might just end up copying Nux's spec (which seems to be what the RPM Fusion Fedora build is doing) if I can't get this completely working and see what happens.

Cheers,
Mike
 

omento

New Member
Figured it out. OBS really did not like the folder renaming of `lib` to `lib64` for rpmbuild to see it with default macros. Seems without further hacking of the source there isn't an easy way to move OBS to default install to /usr/lib64 for its libraries. It completely ignores the suffix provided by cmake.

Cheers,
Mike
 

MMichael

New Member
Figured it out. OBS really did not like the folder renaming of `lib` to `lib64` for rpmbuild to see it with default macros. Seems without further hacking of the source there isn't an easy way to move OBS to default install to /usr/lib64 for its libraries. It completely ignores the suffix provided by cmake.

Cheers,
Mike
 
Top