Nvenc of the nv

Home Forums Tech Support Nvenc of the nv

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #67711
    Orn
    Participant

    Someone halp,

    Built ffmpeg with nvenc, xubuntu see nvenc in ffmepg but obs not see nvenc. obs only see .264 software not nvenc, please halp.

    Arch!@!@ AUR has this https://aur.archlinux.org/packages/ffmpeg-full-nvenc/ but not do cannot xubuntu.

    plox halp

    #76520
    Venn Stone
    Keymaster

    My PPA version of OBS does not show nvenc for FK and ALL reason.

    #76521
    Pedro Mateus
    Keymaster

    Build OBS from sauce?

    #76523
    strider
    Participant

    Please test:

    https://github.com/lutris/ffmpeg-nvenc

    Feedback, complaints, bug reports and insults are not only welcome, they are mandatory!

    #76524
    strider
    Participant
    Unaccounted4 wrote:
    Build OBS from sauce?

    I will add OBS for the script as well.

    #76525
    strider
    Participant
    Code:
    [ 10%] Linking C shared library libobs.so
    /usr/bin/ld: /home/strider/ffmpeg-nvenc/ffmpeg-nvenc/lib/../lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1′ can not be used when making a shared object; recompile with -fPIC
    /home/strider/ffmpeg-nvenc/ffmpeg-nvenc/lib/../lib/libavcodec.a: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    libobs/CMakeFiles/libobs.dir/build.make:1922: recipe for target ‘libobs/libobs.so.0’ failed
    make[2]: *** [libobs/libobs.so.0] Error 1
    CMakeFiles/Makefile2:430: recipe for target ‘libobs/CMakeFiles/libobs.dir/all’ failed
    make[1]: *** [libobs/CMakeFiles/libobs.dir/all] Error 2
    Makefile:149: recipe for target ‘all’ failed
    make: *** [all] Error 2

    Anyone has any idea what’s going on here?

    #76526
    Venn Stone
    Keymaster
    strider wrote:
    Code:
    [ 10%] Linking C shared library libobs.so
    /usr/bin/ld: /home/strider/ffmpeg-nvenc/ffmpeg-nvenc/lib/../lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1′ can not be used when making a shared object; recompile with -fPIC
    /home/strider/ffmpeg-nvenc/ffmpeg-nvenc/lib/../lib/libavcodec.a: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    libobs/CMakeFiles/libobs.dir/build.make:1922: recipe for target ‘libobs/libobs.so.0’ failed
    make[2]: *** [libobs/libobs.so.0] Error 1
    CMakeFiles/Makefile2:430: recipe for target ‘libobs/CMakeFiles/libobs.dir/all’ failed
    make[1]: *** [libobs/CMakeFiles/libobs.dir/all] Error 2
    Makefile:149: recipe for target ‘all’ failed
    make: *** [all] Error 2

    Anyone has any idea what’s going on here?

    http://stackoverflow.com/questions/2553 … -with-fpic

    #76528
    strider
    Participant

    Yep, that’s the stack overflow topic I was on, I’m currently trying to build with shared enabled. Let’s see how that goes…

    #76529
    strider
    Participant

    Dammit…

    Code:
    AR libavcodec/libavcodec.a
    /usr/bin/ld: libavcodec/mqc.o: relocation R_X86_64_32 against `.rodata’ can not be used when making a shared object; recompile with -fPIC
    libavcodec/mqc.o: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    library.mak:102: recipe for target ‘libavcodec/libavcodec.so.57’ failed
    make: *** [libavcodec/libavcodec.so.57] Error 1

    (this is while compiling FFmpeg, not OBS)

    #76530
    Venn Stone
    Keymaster
    strider wrote:
    Dammit…

    Code:
    AR libavcodec/libavcodec.a
    /usr/bin/ld: libavcodec/mqc.o: relocation R_X86_64_32 against `.rodata’ can not be used when making a shared object; recompile with -fPIC
    libavcodec/mqc.o: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status
    library.mak:102: recipe for target ‘libavcodec/libavcodec.so.57’ failed
    make: *** [libavcodec/libavcodec.so.57] Error 1

    (this is while compiling FFmpeg, not OBS)

    Might try using a release version instead of a nightly?

    #76531
    strider
    Participant
    Venn wrote:
    Might try using a release version instead of a nightly?

    Nooooooope

    http://i.imgur.com/y5hWG8a.jpg

    bender.gif

    #76532

    Nice work, Strider!
    EDIT: I spy a familiar “Now Playing”.

    #76535
    Orn
    Participant

    diddle diddle,
    h_1469192639_8916099_335529011e.png

    Apparently I had a lot of previous gunk that needed cleaning

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.