18 July 2024
5 months ago by ReadMe API
WebVTT and TTML subtitles mux to MP4
Added mp4-ttml (stpp) and mp4-webvtt (wvtt) mux types to closed captions for MP4 output.
Added support of copying closed captions muxed into MP4 as stpp or wvtt tracks
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>mp4</output>
<closed_captions>
<mux_type>[mp4-ttml|mp4-webvtt]</mux_type>
</closed_captions>
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "mp4", // required
"closed_captions": [
{
"mux_type": "[mp4-ttml|mp4-webvtt]"
}
]
}
}
}
DVB subtitles mux
Added DVB mux type to closed captions for MPEG-TS output
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<source>[SourceFile]</source> <!-- required-->
<format>
<output>mpegts</output>
<closed_captions>
<mux_type>dvb</mux_type>
<font_source>[FontSourceURL]</font_source> <!-- required for dvb mux type -->
</closed_captions>
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "mpegts", // required
"closed_captions": [
{
"mux_type": "dvb",
"font_source": "[FontSourceURL]" // required for dvb mux type
}
]
}
}
}
Round Bitrate appropriately to DNxHD codec profile
Added a new parameter to video settings to adjust the bitrate for the DNxHD video codec
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required -->
<userkey><<key>></userkey> <!-- required -->
<action>[Action]</action> <!-- required -->
<source>[SourceFile]</source> <!-- required -->
<format>
<output>[output]</output>
<video_codec>dnxhd</video_codec>
<bitrate_adjust>[yes|no]</bitrate_adjust>
</format>
</query>
{
"query": {
"userid": "<<id>>", // required
"userkey": "<<key>>", // required
"action": "[Action]", // required
"source": "[SourceFile]", // required
"format": {
"output": "[output]", // required
"video_codec": "dnxhd",
"bitrate_adjust": "[yes|no]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
bitrate_adjust | Round the specified bitrate value to the nearest allowed bitrate from DNxHD profiles | yes, no | no |