---
name: "oc-update"
section: "1"
platform: "linux"
package: "opencaster"
version: "3.2.2+dfsg-1.1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/oc-update"
---

# oc-update(1)

tool from openCaster suite

## NAME

oc-update - tool from openCaster suite

## DESCRIPTION

Usage: oc-update.sh object\_carousel\_directory association\_tag module\_version dsmcc\_pid carousel\_id \[compress\_mode\] \[padding\_on\] \[clean\_off\] \[DDB\_size\] \[update\_flag\] \[mount\_frequency\]\
 	\- carousel\_directory: the directory to marshal in an object carousel\
 	\- association\_tag aka common tag, referenced by PMTs and AITs, every carousel has one\
 	\- modules\_version, all the modules will have the same version, you need to change this to notify to the box files are changed, goes from 0 to 15\
 	\- pid, referenced by PMTs using this carousel\
 	\- carousel\_id, referenced by PMTs using this carousel, every carousel has its own, it is an alternative for association\_tag, they have the same function\
 	\- compress\_mode, 0: don't compress, 1:compress all, 2:smart compress, file with .solo extension are set in an uncompressed module alone to allow use cases like quick image file update, default is 2\
 	\- padding\_on, every section is padded, was useful with some buggy decoder, waste bandwidth, default off, unsupported since OpenCaster 2.4.8\
 	\- clean\_off, don't delete temp file, default off, used for debug\
 	\- DDB\_size, Use custom size for DDB payload, default = max = 4066\
 	\- sets the Update flag in the TransactionID of DSI and DII to the value given (0 or 1)\
 	\- mount\_frequency, set how often insert DII/DSI/SGW to speed up carousel mount, default is twice per carousel period

Example: oc-update.sh ocdir1 0xB 5 2003 7 2 0 0 4066 0 2\
 	carousel\_directory: ocdir1\
 	association\_tag: 0xB (11)\
 	modules\_version: 0x5 (5)\
 	pid: 2001\
 	carousel\_id: 7\
 	smart compress the carousel\
 	don't pad\
 	delete temp files\
 	use 4066 bytes for DDB size (usual and maximum size)\
 	sets update flag to 0 in DSI/DII\
 	insert DSI/DII/SGW twice per carousel length
