-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg codes use kvazaar #370
Comments
const AVCodec *avCodec = avcodec_find_encoder(AV_CODEC_ID_HEVC);
|
how can i change kvazaar-paramers into code (--cpuid --input-fps 30 --bitrate 10485760 --period 30 --preset ultrafast --erp-aqp --input-res 3840x1920 --no-open-gop --gop lp-g30d1t1 --tiles 1x3 --slices tiles --mv-constraint frametilemargin --no-bipred) |
i cant find avcodec_find_encoder_by_name("libkvazaar") , used wrong? |
You have to pack this parameters to string av_dict_set(&options, "kvazaar-params", options_string, 0) Where avcodec_open2(context, codec, &options) The answer might depend on version of ffmpeg. You can set some of the parameters via See source code: https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libkvazaar.c Read the friendly manual: |
This is right. If ffmpeg can't find the encoder, that could mean that you built the ffmpeg library without kvazaar. |
hi , im change command line to codes use ffmpeg libkvazaar ,i cant find codec_ID for libkvazaar, should i use AV_CODEC_ID_HEVC? or other codec_id
my codes like :
The text was updated successfully, but these errors were encountered: