1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/fftools
Andreas Rheinhardt 5312208f12 Revert "ffmpeg: force 128k default audio bitrate if nothing is specified and there is no specific default"
This reverts commit 628a73f8f3.

At the time of said commit there was talk of removing the audio bitrate
"ab" option to bring FFmpeg in line with what Libav has done in 2012 in
commit 041cd5a0c5. By having different
option flags for the "ab" and the ordinay bitrate "b" option is is
possible to have different default bitrates for audio and video. In
order to maintain this behaviour and not break user scripts the commit
to be reverted added code to ffmpeg.c that set the bitrate value to the
audio default for audio codecs, but only if AVCodec.defaults didn't
exist (as in this case the default would be codec-default and not
affected by the "ab" removal).

This had the downside of being an API violation, because
AVCodec.defaults is not a public field. Given that the "ab" option
and its audio-specific default value have never been removed,
said API violation can be simply fixed by reverting said commit.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-05 11:55:01 +02:00
..
cmdutils.c fftools/cmdutils: Use %c, not %s, to write single char 2021-09-04 08:12:56 +02:00
cmdutils.h fftools: Remove remnants of resample_opts 2021-09-03 16:08:19 +02:00
ffmpeg_filter.c ffmpeg: let AVFilterGraph parse the filter_threads option 2021-09-04 10:35:07 -03:00
ffmpeg_hw.c ffmpeg_hw: Don't ignore key parameters when initializing a hw device 2021-08-17 10:10:07 -03:00
ffmpeg_opt.c ffmpeg: let AVFilterGraph parse the filter_threads option 2021-09-04 10:35:07 -03:00
ffmpeg_videotoolbox.c ffmpeg_videotoolbox: skip memory copy if hwaccel_output_format match 2021-06-10 19:54:03 +08:00
ffmpeg.c Revert "ffmpeg: force 128k default audio bitrate if nothing is specified and there is no specific default" 2021-09-05 11:55:01 +02:00
ffmpeg.h ffmpeg: let AVFilterGraph parse the filter_threads option 2021-09-04 10:35:07 -03:00
ffplay.c fftools: Don't set default swscale flags in ffmpeg/ffprobe/ffplay 2021-08-05 22:23:49 +08:00
ffprobe.c avcodec: add a Film Grain codec property flag 2021-08-24 10:00:06 -03:00
Makefile qsvdec: add support for HW_DEVICE_CTX method 2021-08-11 13:45:36 -03:00