gpt4 book ai didi

json - Encoding.com 转码速度

转载 作者:行者123 更新时间:2023-12-04 23:03:18 24 4
gpt4 key购买 nike

ffmpeg预设是:
ultrafast , superfast , veryfast , faster , fast , medium , slow , slower , veryslowplacebo
如果我想要编码速度 slow,我的 json 请求应该如何? ?

到目前为止我的json:

{
"query": {
"userid": "79943",
"userkey": "XXX",
"action": "addMedia",
"notify": "aw3somevideo@gmail.com",
"format": [{
"output": "mpeg_dash",
"sizes": "426x240,640x360",
"bitrates": "400k,800k"
}, {
"output": "ipad_stream",
"sizes": "426x240,640x360",
"bitrates": "400k,800k"
}]
}
}

最佳答案

经过一些研究和@rogerdpack 和encoding.com 的帮助支持我找到了答案

可以在视频编解码参数中设置:

Slow:
--me umh --subme 8 --ref 5 --b-adapt 2 --direct auto

JSON 结构将如下所示:
"video_codec_parameters": {
"coder": "1",
"flags": "+loop",
"flags2": "+bpyramid+wpred+mixed_refs+dct8x8-fastpskip",
"cmp": "+chroma",
"partitions": "+parti8x8+parti4x4+partp8x8+partb8x8",
"me_method": "umh",
"subq": "7",
"me_range": "16",
"bf": "16",
"keyint_min": "25",
"sc_threshold": "40",
"i_qfactor": "0.71",
"b_strategy": "1",
"qcomp": "0.6",
"qmin": "10",
"qmax": "51",
"qdiff": "4",
"directpred": "1",
"level": "30",
"refs": "4",
"psy": "0"
},

关于json - Encoding.com 转码速度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38975183/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com