TheDoctor TheDoctor - 3 months ago 15
JSON Question

Encoding.com transcoding speed

ffmpeg
presets are:

ultrafast
,
superfast
,
veryfast
,
faster
,
fast
,
medium
,
slow
,
slower
,
veryslow
and
placebo


How should my json request look like if i want as encoding speed
slow
?

My json so far:

{
"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"
}]
}
}

Answer

After some research and the help with @rogerdpack and the encoding.comsupport i found an answer

It can be set in the video codec parameters:

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

The JSON structure will look like this:

"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"
},
Comments