Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-30 Thread Cameron Gutman
On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpieler wrote: > > On 29.03.2025 21:58, Cameron Gutman wrote: > > Some scenarios (such as game streaming or videoconferencing) may use CBR > > to strictly cap the maximum encoded bitrate, but they don't mind the > > bitrate falling below the target if the

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-30 Thread Cameron Gutman
On Sat, Mar 29, 2025 at 4:42 PM Timo Rothenpieler wrote: > > On 29.03.2025 22:37, Cameron Gutman wrote: > > On Sat, Mar 29, 2025 at 4:26 PM Timo Rothenpieler > > wrote: > >> > >> On 29.03.2025 22:17, Cameron Gutman wrote: > >>> On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpieler > >>> wrote: > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Timo Rothenpieler
On 29.03.2025 22:17, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpieler wrote: On 29.03.2025 21:58, Cameron Gutman wrote: Some scenarios (such as game streaming or videoconferencing) may use CBR to strictly cap the maximum encoded bitrate, but they don't mind the bitrate

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Timo Rothenpieler
On 29.03.2025 21:58, Cameron Gutman wrote: Some scenarios (such as game streaming or videoconferencing) may use CBR to strictly cap the maximum encoded bitrate, but they don't mind the bitrate falling below the target if the encoder doesn't need the additional headroom. But why aren't they usin

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Timo Rothenpieler
On 29.03.2025 23:28, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:42 PM Timo Rothenpieler wrote: On 29.03.2025 22:37, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:26 PM Timo Rothenpieler wrote: On 29.03.2025 22:17, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpie

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Cameron Gutman
On Sat, Mar 29, 2025 at 4:26 PM Timo Rothenpieler wrote: > > On 29.03.2025 22:17, Cameron Gutman wrote: > > On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpieler > > wrote: > >> > >> On 29.03.2025 21:58, Cameron Gutman wrote: > >>> Some scenarios (such as game streaming or videoconferencing) may use

Re: [FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Timo Rothenpieler
On 29.03.2025 22:37, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:26 PM Timo Rothenpieler wrote: On 29.03.2025 22:17, Cameron Gutman wrote: On Sat, Mar 29, 2025 at 4:02 PM Timo Rothenpieler wrote: On 29.03.2025 21:58, Cameron Gutman wrote: Some scenarios (such as game streaming or vide

[FFmpeg-devel] [PATCH v2] avcodec/nvenc: add option to skip padding OBUs

2025-03-29 Thread Cameron Gutman
Some scenarios (such as game streaming or videoconferencing) may use CBR to strictly cap the maximum encoded bitrate, but they don't mind the bitrate falling below the target if the encoder doesn't need the additional headroom. Allow users to opt-out of filler data in CBR mode for those usecases w