Osprey Talon Encoder Configuration and Control API User Guide. Osprey Talon Encoder Configuration and Control API User Guide

Similar documents
Osprey Talon Encoder Configuration and Control API User Guide. Osprey Talon Encoder Configuration and Control API User Guide

User s Manual. HD Multi-format Video Encoder. Model Name: Z3-MVE-02

Osprey SAH-E23 User Guide

Osprey TALON User Guide

Added Wowza streaming mode supports Wowza-generated configuration files and configuration URLs

Fixed bonding settings not being applied in Sputnik Direct mode.

User Instructions Compact H.264 Media Encoder and Streamer

Videon Product Manual. Shavano Encoder

User Instructions Multi-Channel H.264 HD Multimedia System

DHE-1000 MPEG4 HD ENCODER. MPEG4 system with IP output. Technical documentation / Instruction set

New Features. Changes/Improvements. o Icon indicates current media selected for recording o Message when Cube fails to write to the SD card

Videon Product Manual

Osprey TALON User Guide

DVS-200 Configuration Guide

Video bitrate and framerate could increase if video was reconnected after a long period without sync

DVS-200 Configuration Guide

MPEG TS. MAYAH Communications Application Note 34. MAYAH Communications GmbH Application Note 34 MPEG TS

User Instructions Ultra-Compact H.264 Media Encoder and Streamer

EN-264 DVB MPEG-4 HDTV ENCODER & TRANSCODER - 0 MI1720 -

HDMI/HD-SDI HEVC/H.264 IPTV

TBS8510 Transcoder Server User Guide

Chapter 28. Multimedia

GoStream Mini 100 GSM 100

Discover Video. StreamEngine. User Guide. Version 1.0. Discover Video LLC 8/5/2016

Full HD HEVC(H.265)/H.264 Hardware IPTV Encoder Model: MagicBox HD4 series MagicBox HD401: Single channel HDMI/AV, HDMI/VGA/YPbPr/AV, HDSDI input

VIDEO WORKFLOW ESSENTIALS

TBS8520 Transcoder Server User Guide

DM-TXRX-100-STR HD Streaming Transmitter/Receiver. Supplemental Guide Crestron Electronics, Inc.

Multi-Source Analyzer (MSA) Series

VIDEO WORKFLOW ESSENTIALS

Transport protocols Introduction

IRENIS HDE-265 HDMI Encoder User s Manual Introduction

IPTV 1

TransMu x. Users Manual. Version 3. Copyright PixelTools Corporation

HDMI/HD-SDI/VGA H.264/H.256 HEVC

SC601. User Guide V *EARLY VERSION 0.99* JMC Systems Engineering AB

DISCOVER THE POWER OF HEVC HEVC AND H.264 VIDEO ENCODERS AND DECODERS FEC H.264 CLOSED CAPTIONING

VIDEO PLAYER FOR RASPBERRY PI (update 2017/11/13)

SC6C0N1 Mini User Guide

Legaltek Monarch HDX Technical Specifications

VIDEO UPLOAD SPECIFICATIONS FOR EMMY AWARD SUBMISSIONS:

eeg EEG Application Note icap Alta Virtual Machine Setup Applies to Products: icap Alta VM Last Revised: June 2017

Easy Streamer User Manual

DigiVu II Professional Quality Encoder:

Streaming and Recording Capabilities

IOCAST video transmission solutions

HD-SDI/HDMI/VGA/CVBS Video IPTV Streamer. Model: MagicBox HD3 series. MagicBox HD301 (HDMI+CVBS) WIFI version. MagicBox HD301 (HDMI in/loop)

User Instructions Ultra-Compact H.264 Media Encoder and Streamer

IP-9610 V02L007 Enhancement List

How to achieve low latency audio/video streaming over IP network?

Wowza Streaming Cloud TM. User s Guide. Copyright 2017 by Wowza Media Systems TM, LLC. All rights reserved.

OBS STUDIO TO AWS ELEMENTAL MEDIALIVE TO AWS ELEMENTAL MEDIAPACKAGE

IP-9x0E V02L060 Enhancement List

FULL METAL PLAYER (update 2017/11/24)

Public Educational & Governmental Access PEG Encoder

draft-begen-fecframe-interleaved-fec-scheme-00 IETF 72 July 2008 Ali C. Begen

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

CUBE ENCODER AND DECODER REFERENCE GUIDE

DVBControl Intuitive tools that enables you to Control DVB!

UC-450E+ MPEG-4 HD/SD Encoder. User Manual. Version:

VIDEO PLAYER FOR RASPBERRY PI (update 2018/12/25)

Ethernet Audio/Video Server Model 2453 Hardware Manual

Model: LT-122-PCIE For PCI Express

EAN-RTSP PN: EAN-RTSP 5/18/2018. SightLine Applications, Inc.

IP-9x0E V02L050 Enhancement List

MISB ST STANDARD. MPEG-2 Transport Stream for Class 1/Class 2 Motion Imagery, Audio and Metadata. 25 February Scope.

Using the Ease Menu and Niagara SCX Web Interface

HD/SD H.264 Capture Device (SDI HD/SD H.264 Video Encoder) User s Manual Model 2224 Rev.0 September 2013

EAN-RTSP User Guide. PN: EAN-RTSP-User Guide 9/18/2017. SightLine Applications, Inc.

Helix Producer Release Notes

WebRTC Monitoring and Alerting

HD/SD H.264 Capture Device (H.264 Video Encoder + Decoder) User s Manual Model 2226 Rev.A March 2010

MPEG-2 / H.264 Mini Encoder / Transcoder

IVP-3000 Series Multi-channel HD/SD Encoder REFERENCE GUIDE

MA5400 IP Video Gateway. Introduction. Summary of Features

Configure Video and Audio Settings

Video Options. The options available for video on the web are changing constantly. At the moment your options are divided between two types:

Digital Media Capabilities of the Modero X Series Touch Panels

MISB ST STANDARD. MPEG-2 Transport Stream for Class 1/Class 2 Motion Imagery, Audio and Metadata. 27 October Scope.

Contents. Introduction. Configure (Best Practices)

Encoder Core. API Specification. Revision: SOC Technologies Inc.

Table of Contents. Encoder to Decoder... Audio & Antenna Connections... Encoder to Software Decoder... Encoder to Internet...

4 rd class Department of Network College of IT- University of Babylon

Networking Applications

SMPTE ST 2022: Moving Serial Interfaces (ASI & SDI) to IP. Thomas Edwards VP Engineering & Development FOX Networks Engineering & Operations

VidPort Technical Reference Guide TD-VID-HD-REF-C

GV-IP Decoder Box Plus User s Manual

Triveni Digital Inc. MPEG Technology Series. MPEG 101 (MPEG 2 with a dash of MPEG 4 thrown in) Copyright 2011 Triveni Digital, Inc.

Services Generation and Adaptation

AWS Elemental MediaLive. User Guide

Requirements for a software API to cover automotive video applications. Martin Miller

4Ch SDI to IP+ASI MEPG-2 H.264 Encoder. User Manual B-SDI-ASI-IP-4CH

User Instructions H.265 4K IP Camera

Perfect Video over Any Network. State-of-the-art Technology for Live Video Comunications

Theoretical and Practical Aspects of Triple Play

Cisco D9034-S Encoder

DVS-100P Configuration Guide

User Instructions H.265 4K IP Camera

Enhanced Audio Features for High- Definition Broadcasts and Discs. Roland Vlaicu Dolby Laboratories, Inc.

QVidium H.264 HD Video Codecs. For Broadcast and Professional Video Applications. Model: #QVENC Encoder. Model: #QVDEC Decoder. Model: #QVPRO Codec

Transcription:

Osprey Talon Encoder Configuration and Control API User Guide i

ii

Contents Description... 3 Testing... 3 Starting an Encoder... 4 Stopping an Encoder... 5 Delete Channel... 6 Add Channel... 7 Clone Channel... 8 Get Encoder Status... 9 Update Source Status... 10 Update Stream Status... 11 Get Stats... 12 Restart Talon... 14 Change Operational Mode... 15 Modifying an Encoder Property... 16 Table 1: Encoder Properties... 17 iii

ii

Description This document describes the Osprey Talon Configuration and Control API (OTCC API). The API uses HTTP PUT/GET requests and values are returned through JSON. All Osprey Talon Encoders are shipped with the OTCC API pre-installed. This API can be used in C++, C#, Java, IOS, etc. Testing The functions in this document can all be tested outside of a development environment using CURL in Linux or the Advanced REST Client (ARC) that is free for Chrome. An example is provided below for a GET to obtain the stats from the Osprey Talon. iii

The server response headers and JSON results are all shown in the ARC windows. 2

Similarly the ARC can be used to test the POST functions such as the GetStatus function is in this example. 3

Starting an Encoder Description Starts the selected channel on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=startchannel&chn={channel} Required Parameters action string The start command. StartChannel chn string This is a numerical value that represents the channel to start 1 Response Payload { "status": "POLLING" "ret": "0" } status string The last status of the RUNNING encoder. (POLLING, RUNNING, error responses, etc.) ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=startchannel&chn=1 4

Stopping an Encoder Description Stops the selected channel on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=stopchannel&chn={channel} Required Parameters action string The stop command. StopChannel chn string This is a numerical value that represents the channel to stop 1 Response Payload { "status": "POLLING" "ret": "0" } status string The last status of the STOPPED encoder. (POLLING, STOPPED, error responses, etc.) ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=stopchannel&chn=1 5

Delete Channel Description Deletes the selected channel on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=deletechannel&chn={channel} Required Parameters action string The delete channel DeleteChannel command. chn string This is a numerical value that represents the channel to delete 3 Response Payload { "channels": "C1,C2" "ret": "0" } channels string The list of currently C1,C2 configured channels. ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=deletechannel&chn=3 6

Add Channel Description Creates an additional channel with the channel number specified on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=addchannel&newchn={channel} Required Parameters action string The add channel AddChannel command. newchn string This is a numerical value that represents the channel to add 1 Response Payload { "ret": "0" } ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=addchannel&chn=1 7

Clone Channel Description Clones a selected channel to a specified channel number on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=clonechannel&from={channel}& from={channel2} Required Parameters action string The clone channel CloneChannel command. from string This is a numerical 1 value that represents the channel to clone to string This is a numerical value that represents the channel to create 2 Response Payload { "status": "Idle" "ret": "0" } status string The last status of the encoder. (POLLING,!Error: Bad destination [10.0.0.1] STOPPED, error responses, etc.) ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=clonechannel&chn=1 8

Get Encoder Status Description Returns the encoder station of a specified channel number on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=getstatus&chn={channel} Required Parameters action string The get status GetStatus command. chn string This is a numerical value that represents the channel to stop 1 Response Payload { "status": "Idle" "ret": "0" } status string The last status of the encoder. (POLLING,!Error: Bad destination [10.0.0.1] STOPPED, error responses, etc.) ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=getstatus&chn=1 9

Update Source Status Description Updates the internal status of the source connection status. This is to be used in conjunction with the GetStats function on the Talon Encoder Method: POST https://encoderip/cgi-bin/control.cgi?action=sourcestatus Required Parameters action string The get update source SourceStatus command. Response Payload { "ret": "0" } ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=sourcestatus 10

Update Stream Status Description Updates the internal status of the streamstatus. This is to be used in conjunction with the GetStats function on the Talon Encoder Method: POST https://encoderip/cgi-bin/control.cgi?action=streamstatus Required Parameters action string The get update stream StreamStatus status command. Response Payload { "ret": "0" } ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=streamstatus 11

Get Stats Method: GET http://encoderip/cgi-bin/control.cgi Required Query Parameters ctrl string The get stats stats command. *This method returns the last known status for each item. To update the status, first call individual methods: EncoderStatus, SourceStatus, AStreamStatus, StreamStatus prior to calling the status function. Response Payload { "session": "-" "decoder_status_str": "" "encoder_status_str": "### Encode Bitstream Received Statistics ### Elapsed time = 27.8 secs CH Bitrate (Kbps) Actual Bitrate FPS Actual FPS Key-frame FPS Width Height ---------------------------------------------- -------------------------------------------------------------- 1 1500.00 106.56 60.0 60.0 1.0 1280 720 +OK" "stream_status_str": "Channel 1 URL udp://239.0.0.1:5004 Frames 2284 +OK" "astream_status_str": "+OK" "source_status_str": "+HD-SDI1 1280x720p 60.00 fps" "ret": "0" } session string The last status of the - encoder. (POLLING, STOPPED, error responses, etc.) decoder_status_str string Decoder status N/A encoder_status_str string Encoder status for all channels "### Encode Bitstream Received Statistics ### Elapsed time = 27.8 secs 12

CH Bitrate (Kbps) Actual Bitrate FPS Actual FPS Key-frame FPS Width Height -------------------------------------------- ----------------------------------------------------- ----------- 1 1500.00 106.56 60.0 60.0 1.0 1280 720 +OK stream_status_str string Return Code "Channel 1 URL udp://239.0.0.1:5004 Frames 2284 +OK" astream_status_str string The last status of the "+OK" encoder. (POLLING, STOPPED, error responses, etc.) source_status_str string Return Code "+HD-SDI1 1280x720p 60.00 fps ret string Return Code 0 Curl Example $ curl - -X GET http://10.0.0.1/cgi-bin/control.cgi?ctrl=stats 13

Restart Talon Description Restarts the Osprey Talon device immediately. Method: POST http://encoderip/cgi-bin/control.cgi?action=restartboard Required Parameters action string The restart command. RestartBoard Response Payload No response. System immediately restarts. Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=restartboard 14

Change Operational Mode Description Allows the operational mode to be changed on the Talon Encoder. Method: POST http://encoderip/cgi-bin/control.cgi?action=setopmode&newopmode={mode} Required Parameters action string The change operational mode SetOpmode command. newopmode string The new operational mode. Valid Modes: 2x2 LC: enc_int_prog 1x3 MBR: enc_1_to_3_ch enc_1_to_3_ch Response Payload { "status": "Idle" "ret": "0" } status string The last status of the encoder. (POLLING, STOPPED, error responses, etc.)!error: Bad destination [10.0.0.1] ret string Return Code 0 Curl Example $ curl - -X POST http://10.0.0.1/cgi-bin/control.cgi?action=setopmode&newopmode=enc_int_prog 15

Modifying an Encoder Property Description Modifies selected properties on the Osprey Talon Encoder Method: POST https://encoderip/cgi-bin/control.cgi?{property}={value} Required Parameters property string The property to change formatted as C{#}_PropertyName where # is the channel number of the stream to modify (1, 2, 3) C1_enc_gopsize (Refer to table 1 for property names and values) Response Payload { "ret": "0" } ret string Return Code 0 $ curl - -X POST https://10.0.0.1/cgi-bin/control.cgi?action=c1_enc_gopsize=25 Curl Example 16

Table 1: Encoder Properties Property Name Valid Values Description enc_autostart 0 1 enc_vidin HD-SD1 HDMI2 COMPOSITE2 Used to enable or disable auto start of channel upon system startup. The input source selection for the stream. enc_vbitrate Numerical Value The video bitrate for the stream in enc_frameratediv 1 2 4 6 enc_gopsize 10 12 15 25 30 50 60 90 100 120 200 240 300 enc_wxh 1920x1080 1280x1024 1280x720 720x480 720x576 1024x576 704x576 640x480 640x360 352x576 352x288 352x240 320x240 176x144 kilobits. Used to encode at less than the input frame rate. For example, an input frame rate of 30 fps with a divider of 2 would produce an output stream of 15 fps. The I-frame frequency. The encode resolution. If this resolution is different from the capture resolution resizing will occur. 17

enc_vprofile enc_deimodeid main high baseline nodei toponly dei The H264 profile of the bitstream. Generally High is used for 1080p, Main for D1, and Baseline for less than D1 sizes. Deinterlacing modes: nodei=off toponly=deinterlace dei=deinterlacehq enc_maxdelayms 0 ms to 5000ms The number of milliseconds to buffer. The higher the value, the smoother the encode, but also the higher the enc_interframeinterval 0 1 2 3 enc_audonoff on off enc_transport rtmp rtp udp tsfile latency. The number of B-frames to be used. A value of '0' means B-frames are disabled Enables or disables audio for the encode. Select the output format (container format) for the stream. enc_ip rtmp://rtmp.ustream.tv/live/stream1 The output URL for the encoder. If using multicast, this will be the multicast address. This is also the full path to a save when saving to archiving. enc_port Numerical Value The output port to be used for the selected output format. enc_vpid 0-8191 PID assigned to video in the TS stream. enc_pcrpid 0-8191 PID assigned to PCR (Program Clock Reference) in the TS stream. enc_pmtpid Numerical Value The PMT (Program Map Table) for the output TS stream. enc_tsrate Numerical Value The rate of the transport stream. Normally this value should be set to 1.25 x (video bitrate + audio bitrate). This can be set to higher values to allow for extra headroom when 18

enc_lowlate enc_auxonoff on off on off many bits are needed to encode. Enables or disables the low latency mode for encoding. Enables or disables the TS File output for UDP streams. enc_auxfname String Value The fully qualified path for the aux TS enc_framealign enc_force169 enc_authonoff on off on off enable disable file to be created. Enables or disables frame align for the stream. For SD inputs only. Forces aspect ratio to 16:9 in player when on. Enables or disables RTMP authentication for the stream. enc_authuser String Value The username that will be used during RTMP authentication for the stream. enc_authpasswd String Value The password that will be used during RTMP authentication for the enc_framealign enc_audchan1_enable enc_audchan1_source enc_audchan1_codec on off none sdi hdmi analog fdk_aaclc fdk_aaclc_mp2 fdk_aache arm_mp12 enc_audchan1_brate 12000 24000 32000 56000 64000 96000 128000 192000 256000 320000 384000 stream. Enables or disables frame align for the stream. Selection of what source to use for the selected subchannel of audio. The codec to use for the encoding of the audio source. fdk_aaclc=aaclc fdk_aaclc_mp2=aaclc MPEG2 fdk_aache=aache arm_mp12=mpeg1l2 The bitrate of the audio in the encoding in bits. 19

enc_audchan1_srate 48000 44100 32000 16000 enc_audchan{channelid}_mode stereo mono The sample rate of the audio in the encoding. Allows selection between stereo and mono input. enc_audchan{channelid}_pid Numerical Value The PID to use for the audio subchannel. (Valid for UDP only) enc_audchan{channelid}_rtpport Numerical Value The port number associated with that audio channel. (Valid for RTP only) enc_audchan{channelid}_ptspcr Numerical Value PTS is the presentation timestamp. This is used to achieve synchronization of the separate elementary streams. PCR is the Program Clock enc_audchan{channelid}_format adts latm enc_audchan{channelid}_jumbo_pes 0 1 2 3 4 Reference. Select Audio Data Transport Stream (ADTS) or Low Overheard Audio Transport Multiplex formats (LATM). Select the number of AUs for Packetized Elementary Stream (PES). 0=none 1=1 AUs 2=2 AUs 3=3 AUs 4=4 AUs 20

www.ospreyvideo.com 2016 Osprey Video. Osprey and SimulStream are registered trademarks of Osprey Video. All other trademarks are the property of their respective owners. Product specifications and availability may change without notice. 21