NVENC using FFMPEG (Geforce Kepler cards required with 346.16 drivers)

Discussion in 'General Linux Discussion' started by mrdeathjr28, Nov 22, 2014.

  1. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Hi i leave this information with NVENC on linux thanks to

    And nvidia with lastest 346.16 drivers


    For more information about how compile and install can see this

    In my case works however needs nvEncodeAPI.h from NVENC Windows SDK and cuda SDK installed too


    Without NVENC (Wine 1.7.31 + Nvidia 346.16)




    With NVENC (Wine 1.7.31 + Nvidia 346.16)



    Maybe more later add other results

    :)
  2. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Added other results with NVENC using other bitrates: 2500k - 3000k and 3500k


    NVENC 2500k (Wine 1.7.31 + Nvidia 346.16)




    NVENC 3000k (Wine 1.7.31 + Nvidia 346.16)




    NVENC 3500k (Wine 1.7.31 + Nvidia 346.16)




    :)
  3. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Added some examples with FFXIII and Test Drive Unlimited 2


    FFXIII


    Without NVENC (Wine 1.7.31 + Nvidia 346.16)



    With NVENC (Wine 1.7.31 + Nvidia 346.16)




    Test Drive Unlimited 2


    Without NVENC (Wine 1.7.31 + Nvidia 346.16)



    With NVENC (Wine 1.7.31 + Nvidia 346.16)




    :)
  4. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,339
    Likes Received:
    624
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    Very cool. Are you using FFmpeg to record the screen or to convert your videos?
  5. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    No only for screencasting and runs much better than obs-studio with quality improvement (not same quality SSR*)

    *But main objective is have most close real performance machine

    :)
  6. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,339
    Likes Received:
    624
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    I use simplescreenrecorder because its "light weight", but I've noticed that my games are still choppy when recording.
    Does FFMpeg run any better when games are set to high resolution and high graphic settings?
  7. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    In theory NVENC (hardware encoding dedicated unit) only stay using at 15 to 18% but this unit is designed for high resolutions, in theory must be run better in higher resolutions

    :)
    Last edited: Nov 26, 2014
  8. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    8,339
    Likes Received:
    624
    Trophy Points:
    113
    Location:
    Linux, Virginia
    Home page:
    Dedicated unit? Is this a piece of hardware for encoding?
  9. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Exactly is hardware encoding unit (screencasting normally use cpu) for this reason give more performance without impact gpu performance, like as intel quicksync or amd vce

    :)
  10. Brainiarc7

    Brainiarc7 New Member

    Joined:
    Nov 27, 2014
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Hello guys,

    I'm Brainiarc7.

    If anyone here has a Windows build environment, they can try to build the package and see if it works.
    I tried cross-compiling for mingw32 target with mxe and the mingw-devel packages on Ubuntu and so far, the packages generated so far crash on startup on Windows 7. On Linux, under the mingw-runtime, they run fine.

    If anyone here can build this on Windows for testing, that would be awesome ;-)
  11. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Hi and thanks for your work and other members in this FFMPEG

    Libnvenc works good

    Do you know if build can works on windows xp???

    :)
  12. Brainiarc7

    Brainiarc7 New Member

    Joined:
    Nov 27, 2014
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Hello,

    On Windows Vista and Windows XP, NVIDIA NVENC SIP blocks are not exposed to the system by the driver, so no.
    For libnvenc and similar implementations to
  13. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    I leave this updates related NVENC

    This time using NVENC in Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 and appears huge impreovements compared to NVENC in Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24


    Final Fantasy XIII


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 without NVENC




    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  14. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Bulletstorm


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  15. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Blur


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  16. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Flatout Ultimate Carnage


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  17. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Pure


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  18. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Aliens Colonial Marines


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 without NVENC




    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  19. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Dead Rising 2


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 without NVENC




    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

  20. mrdeathjr28

    mrdeathjr28 Active Member

    Joined:
    Mar 9, 2014
    Messages:
    587
    Likes Received:
    38
    Trophy Points:
    28
    Test Drive Unlimited 2


    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 without NVENC




    Linux Mint 17 XFCE Edition 32Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC




    Linux Mint 17 XFCE Edition 64Bit - Kernel 3.13.0.24 + Wine 1.7.31 + Nvidia 346.16 with NVENC

Share This Page