Video Transcoding
Video Transcoding
This chapter describes the video transcoding support that is available in Cisco Unified Communications
Manager Express (Cisco Unified CME).
Contents
This chapter contains information on the following topics:
• Prerequisites for Configuring Video Transcoding, page 481
• Information About Video Transcoding, page 483
• How to Configure Video Transcoding on Cisco ISR G2, page 486
• Configuration Example for Video Transcoding, page 491
• Additional References, page 493
• Feature Information for Video Transcoding, page 495
Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
Configuring Video Transcoding
Prerequisites for Configuring Video Transcoding
Platforms
This feature is supported on the following Cisco Integrated Services Routers:
• Cisco 2900 Series
• Cisco 3900 Series
The router with the DSP farm must have a PVDM3 module installed. See Table 42 for a list of the
supported video service for the different PVDM3 modules.
Software
• Cisco IOS 15.1(4)M
• Cisco Unified Communications Manager Express 8.6 and later
Supported Protocols
This feature supports the following standards and protocol:
• International Telecommunication Union (ITU-T) standards and protocols:
– H.320
– H.323
– H.324
• Internet Engineering Task Force (IETF) and Cisco-proprietary signaling protocol:
– SCCP
– SIP
• Video codecs:
– H.263
– H.264/AVC
• Audio codecs:
– G.711alaw
– G.711ulaw
– G.722-64
– G.729 abr8
– G.729ar8
– G.729br8
– G.729r8
– iLBC
– iSAC
Supported Video
This feature supports the following:
• Frame rate of 15 and 30 frames per second (f/s).
• Video stream bit rate of 64 kb/s to 2 Mb/s.
Resolution Dimension
1
CIF 352 x 288 pixels
2
SIF 352 x 240 pixels
Note If your phone supports SIF, configure
your DSP farm profile with the CIF codec.
W360P 640 x 360 pixels
W448P 768 x 448 pixels
4CIF 704 x 576 pixels
4SIF 704 x 480 pixels
3
QCIF 176 x 144 pixels
4
QSIF 176 x 120 pixels
VGA5 640 x 480 pixels
1. CIF = Common Intermediate Format.
2. SIF = Source Interchange Format.
3. QCIF = One-Quarter Common Intermediate Format.
4. QSIF = One-Quarter Source Interchange Format.
5. VGA = Video Graphic Array.
Video Terminology
You should be familiar with the terminology in Table 44 before you configure video transcoding.
Terminology Description
Transcode The process of converting one data stream using one codec format
to another data stream with a different codec format, for example,
converting H.263 to H.264.
Transrate The process of converting one data stream using one bit rate to
another data stream with a different bit rate, for example, converting
from a high-speed data rate of 2 Mbps to a lower-speed data rate of
1 Mbps.
Transsize The process of converting the resolution of a video transmission to
another resolution, for example converting 4CIF to CIF.
Video Conversion The process of transcoding, transrating, or transsizing a video
stream.
Video Format The attributes of the video stream (video codec, resolution, frame
rate, bitrate, RTP payload protocol, and annex).
Resolution Frame Rate (frames per second) Bit Rate (kilobits per second)
QCIF (QSIF) 15 f/s 64 kb/s to 704 kb/s
30 f/s 64 kb/s to 704 kb/s
CIF (SIF) 15 f/s 64 kb/s to 704 kb/s
30 f/s 64 kb/s to 704 kb/s
Resolution Frame Rate (frames per second) Bit Rate (kilobits per second)
QCIF (QSIF) 15 f/s 64 kb/s to 704 kb/s
30 f/s 64 kb/s to 704 kb/s
CIF (SIF) 15 f/s 64 kb/s to 704 kb/s
30 f/s 64 kb/s to 704 kb/s
4CIF (4SIF) 30 f/s 1 Mb/s to 2 Mb/s
VGA 30 f/s 1 Mb/s to 2 Mb/s
w360P 30 f/s 1 Mb/s to 2 Mb/s
w448P 30 f/s 1 Mb/s to 2 Mb/s
SUMMARY STEPS
1. enable
2. configure terminal
3. sccp local interface-type interface-number
4. sccp ccm ip-address identifier identifier-number
5. sccp
6. sccp ccm group group-number
7. associate ccm identifier-number priority priority-number
8. associate profile profile-identifier register device-name
9. exit
10. dspfarm profile profile-identifier transcode video
11. codec {codec-type [resolution]}
12. associate application sccp
13. no shutdown
14. end
DETAILED STEPS
Example:
Router# configure terminal
Example:
Router(config)# sccp
Step 6 sccp ccm group group-number Creates a Cisco Unified CME group and enters SCCP
configuration mode for Cisco Unified CME.
Example: • group-number—Number that identifies the
Router(config)# sccp ccm group 2 Cisco Unified CME group.
Note A Cisco Unified CME group is a naming device
under which data for the DSP farms is declared.
Only one group is required.
Step 7 associate ccm identifier-number priority Associates a Cisco Unified CME router with a group and
priority-number establishes its priority within the group.
• identifier-number—Number that identifies the
Example: Cisco Unified CME router.
Router(config-sccp-ccm)# associate ccm 2
priority 1 • priority—The priority of the Cisco Unified CME
router in the Cisco Unified CME group. Only one
Cisco Unified CME group is possible. Default is 1.
Note The identifier number should match the identifier
number in the sccp ccm command in Step 4.
Example:
Router(config-sccp-ccm)# exit
Step 10 dspfarm profile profile-identifier transcode Enters DSP farm profile configuration mode.
video
Example:
Router(config)# dspfarm profile 345 transcode
video
Step 11 codec {codec-type [resolution]} Specifies the codecs supported by a DSP farm profile.
Audio codecs are not automatically added to video
Example: transcoding DSP farm profiles. If audio transcoding is
Router(config)# codec h263 qcif needed along with video transcoding, transrating, and
transsizing, you must also specify the audio codecs.
Step 12 associate application sccp Associates SCCP with the DSP farm profile.
Example:
Router(config-dspfarm-profile)# associate
application sccp
Step 13 no shutdown Allocates the DSP farm resources and enables the DSP farm
profile.
Example:
Router(config-dspfarm-profile)# no shutdown
Step 14 end Returns to privileged EXEC mode.
Example:
Router(config-dspfarm-profile)# end
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. sdspfarm units number
5. sdspfarm transcode sessions number
6. sdspfarm tag number device-name
7. ip source-address [ip-address [port [port-number]]]
8. end
DETAILED STEPS
Example:
Router# configure terminal
Step 3 telephony-service Enters telephony-service configuration mode.
Example:
Router(config)# telephony-service
Step 4 sdspfarm units number Specifies the maximum number of DSP farms that are
allowed to be registered to the Cisco Unified CME router.
Example: • number—Range is 0 to 10. Default is 0.
Router(config-telephony)# sdspfarm units 5
Step 5 sdspfarm transcode sessions number Specifies the maximum number of transcoder sessions
allowed by the router.
Example: • One transcoder session consists of two transcoding
Router(config-telephony)# sdspfarm transcode streams between callers using transcode. Use the
sessions 10 maximum number of transcoding sessions and
conference calls that you want your router to support at
one time.
• number—Declares the number of DSP farm sessions.
Valid values are numbers from 1 to 128.
Example:
Router(config-dspfarm-profile)# end
SUMMARY STEPS
1. enable
2. configure terminal
3. voice service voip
4. sip
5. video screening
6. end
DETAILED STEPS
Example:
Router> enable
Step 2 configure terminal Enters global configuration mode.
Example:
Router# configure terminal
Step 3 voice service voip Enters voice service configuration mode and
specifies Voice over IP (VoIP) encapsulation.
Example:
Router(config)# voice service voip
Step 4 sip Enters SIP configuration mode.
Example:
Router(config-voi-srv)# sip
Step 5 video screening Detects codec mismatch and also detects and
triggers video transcoding based on FMTP
configuration under different codec profiles.
Example:
Router(config-voi-sip)# video screening
Step 6 end Exits configuration mode and enters privileged
EXEC mode.
Example:
Router(config-voi-sip)# end
Configuring Video Transcoding when the DSP Farm and Cisco Unified CME are
on Different Routers: Example
The following example shows the configurations for a DSP farm module and a Cisco Unified CME when
the DSP Farm module is on a different router from the Cisco Unified CME router.
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec h264 cif
codec h264 w360p
codec h264 vga
codec h264 w448p
codec h264 4cif
codec h264 720p
maximum sessions 1
associate application SCCP
!
Additional References
The following sections provide references related to video transcoding.
Related Documents
Standards
Standard Title
No new or modified standards are supported by this —
feature, and support for existing standards has not been
modified by this feature.
MIBs
RFCs
RFC Title
RFC-2190 for H.263 RTP Payload Format for H.263 Video Streams
RFC-2429 for H.263 RTP Payload Format for the 1998 Version of ITU-T Rec. H.263
Video (H.263+)
RFC-3984 RTP Payload Format for H.264 Video
Technical Assistance
Description Link
The Cisco Support website provides extensive online http://www.cisco.com/techsupport
resources, including documentation and tools for
troubleshooting and resolving technical issues with
Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various services,
such as the Product Alert Tool (accessed from Field
Notices), the Cisco Technical Services Newsletter, and
Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.