MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.55k stars 288 forks source link

Adding Custom Codecs #400

Open YoshiTheFox opened 8 years ago

YoshiTheFox commented 8 years ago

Hello! I recently compiled my own FFMPEG build that included NVENC. The build was successful (as far as I know); however, I can't seem to figure out how to make SSR show the NVENC codec. How would I go about doing this?

I understand that I can change the LD Library Path, but I don't really know how to do so.

Any help is appreciated!

MaartenBaert commented 8 years ago

SSR supports NVENC. If it doesn't show up under 'Other' codecs, it means you're loading the wrong ffmpeg library. You can try to load your new library with: LD_LIBRARY_PATH=/path/to/lib/ffmpeg simplescreenrecorder" This only works if the major version number of the library you compiled matches the version that SSR expects. If this isn't the case, you should recompile SSR with the new library (run ./configure with modified FFMPEG_LIBS).

YoshiTheFox commented 8 years ago

So, after a little while of me attempting to do this, I've gotten confused at what file I am supposed to configure. How would I go about writing the command?