Skip to content

Commit

Permalink
build(deps): update to FFmpeg 7.1 (#3263)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman authored Oct 7, 2024
1 parent 756d2e1 commit 011a872
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions src/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ namespace video {
{ "delay"s, 0 },
{ "forced-idr"s, 1 },
{ "zerolatency"s, 1 },
{ "surfaces"s, 1 },
{ "preset"s, &config::video.nv_legacy.preset },
{ "tune"s, NV_ENC_TUNING_INFO_ULTRA_LOW_LATENCY },
{ "rc"s, NV_ENC_PARAMS_RC_CBR },
Expand All @@ -532,6 +533,7 @@ namespace video {
{ "delay"s, 0 },
{ "forced-idr"s, 1 },
{ "zerolatency"s, 1 },
{ "surfaces"s, 1 },
{ "preset"s, &config::video.nv_legacy.preset },
{ "tune"s, NV_ENC_TUNING_INFO_ULTRA_LOW_LATENCY },
{ "rc"s, NV_ENC_PARAMS_RC_CBR },
Expand All @@ -557,6 +559,7 @@ namespace video {
{ "delay"s, 0 },
{ "forced-idr"s, 1 },
{ "zerolatency"s, 1 },
{ "surfaces"s, 1 },
{ "preset"s, &config::video.nv_legacy.preset },
{ "tune"s, NV_ENC_TUNING_INFO_ULTRA_LOW_LATENCY },
{ "rc"s, NV_ENC_PARAMS_RC_CBR },
Expand Down Expand Up @@ -697,6 +700,9 @@ namespace video {
// Common options
{
{ "filler_data"s, false },
{ "forced_idr"s, 1 },
{ "latency"s, "lowest_latency"s },
{ "skip_frame"s, 0 },
{ "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } },
{ "preencode"s, &config::video.amd.amd_preanalysis },
{ "quality"s, &config::video.amd.amd_quality_av1 },
Expand All @@ -716,12 +722,13 @@ namespace video {
// Common options
{
{ "filler_data"s, false },
{ "forced_idr"s, 1 },
{ "latency"s, 1 },
{ "skip_frame"s, 0 },
{ "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } },
{ "gops_per_idr"s, 1 },
{ "header_insertion_mode"s, "idr"s },
{ "preencode"s, &config::video.amd.amd_preanalysis },
{ "qmax"s, 51 },
{ "qmin"s, 0 },
{ "quality"s, &config::video.amd.amd_quality_hevc },
{ "rc"s, &config::video.amd.amd_rc_hevc },
{ "usage"s, &config::video.amd.amd_usage_hevc },
Expand All @@ -740,10 +747,11 @@ namespace video {
// Common options
{
{ "filler_data"s, false },
{ "forced_idr"s, 1 },
{ "latency"s, 1 },
{ "frame_skipping"s, 0 },
{ "log_to_dbg"s, []() { return config::sunshine.min_log_level < 2 ? 1 : 0; } },
{ "preencode"s, &config::video.amd.amd_preanalysis },
{ "qmax"s, 51 },
{ "qmin"s, 0 },
{ "quality"s, &config::video.amd.amd_quality_h264 },
{ "rc"s, &config::video.amd.amd_rc_h264 },
{ "usage"s, &config::video.amd.amd_usage_h264 },
Expand Down Expand Up @@ -922,6 +930,7 @@ namespace video {
{ "require_sw"s, &config::video.vt.vt_require_sw },
{ "realtime"s, &config::video.vt.vt_realtime },
{ "prio_speed"s, 1 },
{ "max_ref_frames"s, 1 },
},
{}, // SDR-specific options
{}, // HDR-specific options
Expand All @@ -938,6 +947,7 @@ namespace video {
{ "require_sw"s, &config::video.vt.vt_require_sw },
{ "realtime"s, &config::video.vt.vt_realtime },
{ "prio_speed"s, 1 },
{ "max_ref_frames"s, 1 },
},
{}, // SDR-specific options
{}, // HDR-specific options
Expand All @@ -954,6 +964,7 @@ namespace video {
{ "require_sw"s, &config::video.vt.vt_require_sw },
{ "realtime"s, &config::video.vt.vt_realtime },
{ "prio_speed"s, 1 },
{ "max_ref_frames"s, 1 },
},
{}, // SDR-specific options
{}, // HDR-specific options
Expand Down
2 changes: 1 addition & 1 deletion third-party/build-deps
Submodule build-deps updated 456 files

0 comments on commit 011a872

Please sign in to comment.