07 August 2019 - audio_only and video_only parameters for mp4
over 5 years ago by Encoding.com Product Team
Added <audio_only /> and <video_only /> parameters for mp4 output format.
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>addMedia</action>
<format> <!-- REQUIRED -->
<output>mp4</output> <!-- REQUIRED -->
<audio_only>[yes|no]</audio_only>
<video_only>[yes|no]</video_only>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "addMedia",
"format": {
"output": "mp4",
"audio_only": "[yes|no]",
"video_only": "[yes|no]"
}
}
}
Parameter | Description | Allowed Value | Default |
---|---|---|---|
audio_only | Use only audio streams in output | yes, no | no |
video_only | Use only video streams in output | yes, no | no |
For audio_only and video_only parameters
<audio_only /> and <video_only /> parameters works only for mp4 output.