diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2024-11-06 20:31:21 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-11-20 19:22:58 +0800 |
commit | fa2ff5effcf3767fadbfcde1b8e826f1acb505c1 (patch) | |
tree | 39706b357bc44d816b8ed201e60f92a75dc8789e /libavcodec/siren.c | |
parent | 46ad1abd361f2486bfd9ee28ab80aea28e890f2f (diff) | |
download | ffmpeg-fa2ff5effcf3767fadbfcde1b8e826f1acb505c1.tar.gz |
avcodec/mediacodecenc: Add operating_rate option
For example, with
./ffmpeg -operating_rate 400 -hwaccel mediacodec -i test.mp4 -an \
-c:v h264_mediacodec -operating_rate 400 -b:v 5M -f null -
The transcoding speed is 254 FPS.
Without -operating_rate on dec/enc, the speed is 148 FPS.
With -operating_rate on decoder only, the speed is 239 FPS.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavcodec/siren.c')
0 files changed, 0 insertions, 0 deletions