Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
F
ffmpeg
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • submodule
  • ffmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • libavcodec
  • nvenc.c
Find file
BlameHistoryPermalink
  • Zachariah Brown's avatar
    avcodec/nvenc: use framerate if available · 393eff89
    Zachariah Brown authored May 14, 2020
    The h264_nvenc and hevc_nvenc encoders aren't respecting the framerate in the codec context.
    Instead it was using the timebase which in our use-case was 1/1000 so the encoder was behaving
    as if we wanted 1000fps. This resulted in poor encoding results due to an extremely low bitrate.
    
    Both the amf and qsv encoders already contain similar logic to first check the framerate before
    falling back to the timebase.
    Signed-off-by: 's avatarZachariah Brown <zachariah@renewedvision.com>
    Signed-off-by: 's avatarTimo Rothenpieler <timo@rothenpieler.org>
    393eff89
nvenc.c 74.7 KB
EditWeb IDE

Replace nvenc.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.