background image

User’s Manual v.15 

 

QVidium

®

 H.264 HD Video Codecs

 

 

 

Copyright 2011-2014 QVidium

®

 Technologies, Inc. 

Page 31 of 71  

4.2.1  URL Control  

There are 2 URLs, one to get the current video bitrate and a second url to set the video bitrate.  
These URLs return plain text (no HTML) to simplify parsing.  The "

Encoder->Bitrate

" link in the 

web UI allows you to set the video bitrate with a browser.  
 

/cgi-bin/encoder_bitrate2.cgi

: Gets the current video bitrate.  Returns 

VIDEO_BITRATE=xxxxxxx, where xxxxxxx is the current bitrate.  
 

/cgi-bin/encoder_bitrate2.cgi?VIDEO_BITRATE=xxxxxxx

: Sets the video bitrate where xxxxxxx 

is the desired bitrate. Returns VIDEO_BITRATE=xxxxxxx where xxxxxxx is the bitrate that was 
set.  The maximum video bitrate is 25000000.  
 
Examples of using the wget command. The initial bitrate was 23Mbps.  
 

$ wget -q -O - 

http://root:[email protected]/cgi-bin/encoder_bitrate2.cgi

  

VIDEO_BITRATE=23000000  

$ wget -q -O - 

http://root:[email protected]/cgi-bin/encoder_bitrate2.cgi?VIDEO_BITRATE=9000000

  

VIDEO_BITRATE=9000000  

$ wget -q -O - 

http://root:[email protected]/cgi-bin/encoder_bitrate2.cgi

  

VIDEO_BITRATE=9000000  

$ wget -q -O - 

http://root:[email protected]/cgi-bin/encoder_bitrate2.cgi?VIDEO_BITRATE=500000000

  

VIDEO_BITRATE=25000000 
 

4.2.2  Command-line Control  

The program, /qvidium/qvctrl, allows you to communicate with the encoder via a command-line 
interface, such as 

telnet

ssh

, or the RS-232 Console port.  This allows you to dynamically and 

seamlessly change the encoding bitrate and format, while the encoder is running.  
 
The first argument is always /dev/qvencode1, The second argument is "get_videobitrate" or 
"set_videobitrate BITRATE"

, or “set_outputformat FORMAT”. Here BITRATE is the desired new 

bitrate, in bits per second. The maximum bitrate is 30000000 (30 Mbps, UDP only). FORMAT is 
one of: 

1080i59.94|1080i50|720p59.94|720p50|480i59.94|576i50|240p30

. The 

set_videobitrate command always returns VIDEO_BITRATE=xxxxxxx where xxxxxx is the current 
bitrate. The set_outputformat command always returns OUTPUT_FORMAT=YYYxZZZ, where 
YYYxZZZ is the new video format. Here are some examples:  
 
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 "get_videobitrate"  
VIDEO_BITRATE=4000000  
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 "set_videobitrate 2000000"  
VIDEO_BITRATE=2000000  
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 "set_videobitrate 8000000"  
VIDEO_BITRATE=8000000 
 
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 'set_outputformat 480i59.94' 
OUTPUT_FORMAT=720x480i30 
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 'set_outputformat 1080i59.94' 
OUTPUT_FORMAT=1920x1080i30 
[QVPRO.qvidium.com]$ /qvidium/qvctrl /dev/qvencode1 'set_outputformat 240p30' 
OUTPUT_FORMAT=352x240p30 
 
 

Summary of Contents for QVDEC

Page 1: ...ofessional Video Applications Model QVENC Encoder Model QVDEC Decoder Model QVPRO Codec User s Manual v 15 September 12 2014 Application Firmware Version 261 2011 2014 QVidium Technologies Inc 12989 C...

Page 2: ...3 Configuring the Encoder for RTSP and Server Mode 32 5 Decoder Configuration and Operation 33 5 1 Decoding Configuration and Web Interface 33 5 2 Decoding Profile Settings 33 5 2 1 Video Tab 33 5 2 2...

Page 3: ...ts QVENC or QVDEC for which the section applies As of the current firmware release V 261 licenses are required to enable HD encoding on the QVENC and QVPRO The QVENC also requires a license to enable...

Page 4: ...e encoding and transcoding capabilities of the QVPRO However while the QVPRO has SDI and HDMI inputs the QVENC keeps the SDI HD SDI 3G SDI interface but replaces the HDMI input with Composite and S Vi...

Page 5: ...can also be reconfigured through a web browser when you know the IP address For a new unit or one having the factory default IP settings follow the steps below to reconfigure the network settings thr...

Page 6: ...eed to change the URL in the web browser to point to the new address after clicking on Apply The Network Configure panel allows you to modify the static IP address parameters and DNS server settings o...

Page 7: ...USB memory stick you can reset all of the network settings on the QVPRO to their factory default values Go to http www qvidium com reset copy the autorun file on a USB flash and plug flash into QVPRO...

Page 8: ...e configured at least one DNS server Likewise you can use Traceroute to ping every router along the route from the QVPRO to the IP or DNS address you specify Traceroute is very helpful in locating ins...

Page 9: ...assword If you lose the password and need to reset it you can go to http www qvidium com reset click on Reset Password copy the autorun file onto a USB flash and plug flash into QVPRO File must be sav...

Page 10: ...in the codec Note Sometimes a web browser will not be able to continue to reconnect to the new HTTP Daemon after it restarts causing you to no longer see the update progress If this happens please wa...

Page 11: ...or Switch Description 1 SDI Glows green with active SD SDI or HD SDI input 2 HDMI Glows green when video input is a valid HDMI signal 3 Power Glows green when the power is connected and unit is on 4 R...

Page 12: ...or ASI signal on SDI input 6 SDI ASI Input SD SDI HD SDI 3G SDI DVB ASI input with embedded audio 7 HDMI IN HDMI HD Input 8 SDI ASI Output SD SDI HD SDI 3G SDI DVB ASI output with embedded audio 9 HDM...

Page 13: ...the power is connected and unit is on 4 Reset Various reset functions See description in manual Note Whether this indicates Composite CVBS or S Video Y C depends upon video input selection from last t...

Page 14: ...put pairs 7 S PDIF Optical digital audio input fo AC3 Dolby Digital audio 8 SDI Input SDI video input auto detects SD SDI HD SDI and 3G SDI input 9 3G HD SD Glows green to indicate 3Gbps HD SDI or SD...

Page 15: ...1 Power Glows green when the power is connected and unit is on 2 Reset Various reset functions See description in manual Ref Port Description 3 USB 2 USB 2 0 Ports external storage or LCD console or L...

Page 16: ...VBS Output Composite SD analog video output PAL or NTSC 5 SDI Output SD SDI HD SDI and 3G SDI output with embedded audio 6 HDMI OUT HDMI HD Output Note Serial number not shown is located above S PDIF...

Page 17: ...192 168 1 23 encode if using the default address Use username encode and the password for the admin user default admin You can change this password from the main System Password menu 2 Select the Vid...

Page 18: ...rver or network equipment that will be receiving the stream Enter the desired Video Bit Rate in bps and modify the other audio and video parameters such as Video Input and Audio Bit Rate in bps to sui...

Page 19: ...egulates the output timing of the IP packets to maintain a constant inter packet spacing thereby minimizing packet jitter to under 25ms This helps to reduce packet loss on Internet links that limit pa...

Page 20: ...to one of several devices a Network Ethernet port for MPEG Transport Stream TS over IP output an ASI port for DVB ASI compatible output on QVENC with optional ASI daughter card to a File on a USB or N...

Page 21: ...way the encoder can automatically switch between HD and SD video encoding with appropriate bit rates to match by simply changing the SDI input signal Video Encoding You can select primarily between H...

Page 22: ...put video resolution and frame rate using the corresponding parameters under the Advanced Encoding tab Without an HD encoding license it will automatically scale am HD video input to SD To produce the...

Page 23: ...am and the replacement packets ARQ shares similarities with robust packet transport protocols such as TCP IP in that both use feedback to create robust network packet transport However TCP IP uses a s...

Page 24: ...ackets in a synchronized network de jitter buffer that maintains a constant configurable delay for incoming packets The de jitter buffer processes RTP sequence numbers and reorders packets as necessar...

Page 25: ...file you wish to reset and click Default This will reset all the parameters to a known set of pre tested values Figure 1b Advanced Encoder Configuration Advanced Encoding Parameters Stream Mode This s...

Page 26: ...the SDI signal Note For SDI input without embedded audio the encoder will not start with Audio Video set to Both This must be set to Video Only for the encoder to start or alternatively on the QVENC...

Page 27: ...essary for the QVPRO and can be set to No Dynamic Bitrate This is an experimental that causes the operating system to limit the peak output bit rate of the Ethernet port s to a value 20 higher than th...

Page 28: ...e easily manage and choose among multiple program feeds You can supply a short description of the video feed as the SAP Session Name This only works for multicast RTP streams Insert Metadata and Metad...

Page 29: ...User s Manual v 15 QVidium H 264 HD Video Codecs Copyright 2011 2014 QVidium Technologies Inc Page 29 of 71 Figure 1c Advanced Encoder Network Configuration...

Page 30: ...g to check the log file Near the end of that page you should see the line Start encoding OK If the video source is absent or invalid the last line of the log may read Video NOT locked waiting for vali...

Page 31: ...line Control The program qvidium qvctrl allows you to communicate with the encoder via a command line interface such as telnet ssh or the RS 232 Console port This allows you to dynamically and seamle...

Page 32: ...contact www evostream com for the EVOstream add on to the QVENC and QVPRO To set up the QVPRO or QVENC codec for the unsupported version of RTSP operation to a computer running VLC for example you ca...

Page 33: ...setup and configuration of a remote QVidium video server respectively Please refer to Appendix B for a detailed description of each of these parameters 5 Press the Save button to save your changes If...

Page 34: ...esolution using the Output Resolution and Format pull down menu The format is in the form of XXXX i or p YYYY where XXXX is the horizontal resolution eg 1080 corresponding to 1920x1080 resolution or 7...

Page 35: ...ver in some systems the audio entering the encoder may have been preprocessed and delayed such as with a Dolby AC3 encoder prior to entering the encoder This Audio sync offset control allows you to ad...

Page 36: ...In rare circumstances such excessive packet loss can cause the genlock mechanism to incorrectly estimate the video clock frequency and result in the decoder losing color sync Disabling Genlock by sett...

Page 37: ...ble with third party video encoders Enter the UDP Port on which to receive IP video packets Enter a Multicast Address if receiving multicast Ethernet or IGMP v3 packets otherwise leave this field blan...

Page 38: ...n the encoder is restarted with a different encoding type or resolution This can also help if you are experiencing color loss or other decoder problems due to excessive packet loss If you are experien...

Page 39: ...er tab shown in Figure 3d above For more details on these features please consult Appendix B You should set the Server Type to None the default when not using a QVidium server or connecting to an RSTP...

Page 40: ...ting a unicast video IP stream leave this field blank The decoder interprets the video and audio signals as UDP IP packets in all cases regardless of the type of packet transport you select Specifying...

Page 41: ...t retransmission and recovery process The ARQ mechanism will attempt as many retries as possible within this target latency time Thus larger target latency times increase the delay before video is out...

Page 42: ...User s Manual v 15 QVidium H 264 HD Video Codecs Copyright 2011 2014 QVidium Technologies Inc Page 42 of 71 6 Transcoding Available upon request Please contact QVidium...

Page 43: ...ly create a new profile that configures that second codec specifying the file you had just used to save the configuration of the first codec Default will reset the configuration settings for the selec...

Page 44: ...eo Codec includes a number of features to aid in system security and logging A Management Configuration page shown below allows you to specify the HTTP port for web access and whether to enable or dis...

Page 45: ...ws all the current trap configuration settings Figure 6 SNMP Trap Configuration For the encoder with traps enabled an SNMP trap notification will be sent when the video input loses or has no signal It...

Page 46: ...ork adapter such as any WiFi adapters 9 2 Resetting the Network Parameters If you cannot determine the IP address using CodecManager you have two other alternative methods of resetting the IP address...

Page 47: ...ct that as a result of a failed update procedure the application memory had somehow become corrupted you can completely reinstall the application software with the following procedure The Linux Kernel...

Page 48: ...ile MP4 Selecting File TS or File MP4 will record the encoder output to a file on a mounted USB storage device File TS will save the encoded stream as an MPEG Transport Stream typically given a ts fil...

Page 49: ...ording the Usage menu can help you determine how much space remains To play a video clip simply click on File Play then select the file you want to play by clicking once on it Next select the output r...

Page 50: ...an then issue the unmount command umount media sda1 After this command successfully completes you can safely remove the external storage device and if desired insert another storage device As long as...

Page 51: ...audio sampling rate To encode using a different video bitrate or to set other encoding parameters use the h option as described above to first find the options you are interested in and then add them...

Page 52: ...th ResyncSDI enabled a glitch in the SDI input will cause a brief disruption in the stream Decoder Genlock may initially cause the output frequency to drift away from the actual frequency until the Ge...

Page 53: ...the Decoder Status page shows No Data then you likely have a firewall before the decoder blocking the traffic You must add a Port Forwarding rule on the decoder side firewall to allow UDP traffic on...

Page 54: ...N link light and activity lights for the RJ 45 Ethernet port on both encoder decoder and switch s are lit 4 Make certain that you have entered the correct IP address for the destination under Encoder...

Page 55: ...end IP packets 2 Make certain that device is powered on and connected to your network 3 Check that green LAN light in front is lit and link light at RJ 45 port is on 4 Try pinging the encoder by enter...

Page 56: ...ncoding and decoding video 1 First eliminate any network problems by connecting the encoder and decoder to the same Ethernet switch Use CodecManager running on a PC also connected to that switch to ve...

Page 57: ...QVidium Technologies Inc by either phone or e mail at Phone 858 792 6407 Phone Support Hours Monday Friday 9 00 am to 5 00 pm PST E mail support qvidium com E mail response time within 24 hours Techni...

Page 58: ...not use an audio bitrate less than 64 Kbps unless you set the number of audio channels to 1 Even then setting the number of audio channels to 1 has the potential to cause unexpected halting of the en...

Page 59: ...ginal 16 9 aspect ratio Video Input This allows you to select between SDI and HDMI video inputs The QVPRO H 264 HD Video Codec requires embedded digital audio from the SDI and HDMI inputs when you sel...

Page 60: ...88 byte MPEG 2 Transport Stream packets per IP packet The standard MTU for Ethernet packets permits a maximum of 7 TS packets per IP packets which is the default ARQ The parameters below ONLY pertain...

Page 61: ...equence numbing RTP protocol has the advantage of providing lost packet and other network statistics UDP mode disables all error correction It expects raw UDP packets without an RTP header and expects...

Page 62: ...ecoder sends out a series of packets upstream to the encoder to measure the round trip time and automatically set the number of retries and round trip time parameters based on the Target Latency param...

Page 63: ...quire that a minimum of one repeat request is sent to the video encoding source device regardless of the Target Latency However enabling Robust Mode will increase the minimum number of repeat requests...

Page 64: ...ream from a QoS Proxy Server You must provide the IP address and control port for the QoS Proxy Server The decoder then sends a control packet upstream to the server when you start the decoder Server...

Page 65: ...ror correction enabled Minimum Suggested Stream Bit Rates for general content such as movies assumes audio bitrate of 160 Kbps MPEG 2 Main Profile CBR mode 3 0 Mbps for Full SD video resolution 720x48...

Page 66: ...o 64 Kbps and the Sample Rate to 32 KHz Any audio encoding results in 84 Kbps At low bitrates we have found that MPEG1 Layer2 Audio Encoding sounds best Note setting MPEG1 Layer2 to 56 Kbps results in...

Page 67: ...pecs are only relevant to the QVPRO and QVENC For video output and decoding the specs are only relevant to the QVPRO and QVDEC Specifications Network Interface IEEE 802 3 1000 100 10 Base TX Gigabit E...

Page 68: ...in Profile and Baseline Profile encoding up to Level 4 1 HD Input 1920x1080 60 or 50 fps progressive 1080p 1920x1080 30 or 25 fps interlaced 1080i 1280x720 60 or 50 fps 720p HD encoding 1920x1080 50 o...

Page 69: ...chnologies Inc Page 69 of 71 Environmental Operating temperature 0 to 55o C Operating humidity 0 to 90 R H non condensing Non operating temperature 20 to 70o C Non operating humidity 0 to 95 R H non c...

Page 70: ...ir or replacement e Any damage of the product due to shipment f Removal or installation of the product g Causes external to the product such as electric power fluctuations or failure h Use of supplies...

Page 71: ...ed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if...

Reviews: