h264_encoder_dm365_userguide

合集下载

MDVR-H264说明书(中文版)

MDVR-H264说明书(中文版)

车载DVR 使用说明书注意:产品安装前必读目录1 注意事项---------------------------------------------------------------------------32 产品规格---------------------------------------------------------------------------43 I/O 报警输入输出说明--------------------------------------------------------44 遥控器使用说明-----------------------------------------------------------------54.1 遥控器按键说明--------------------------------------------------------54.2 软键盘输入说明--------------------------------------------------------65 录像机使用操作说明----------------------------------------------------------65.1 用户登录-----------------------------------------------------------------85.2 预览界面-----------------------------------------------------------------85.3 录像检索---------------------------------------------------------------95.3.1 详细文件及备份说明--------------------------------------105.4 录像设置------------------------------------------------------------------115.4.1 帧率动态配置等说明--------------------------------------115.4.2 小码流配置-----------------------------------------------------125.5 功能设置------------------------------------------------------------------135.5.1 时间设置-------------------------------------------------------145.5.2存储设备管理-------------------------------------------------145.5.3 设备维护,系统升级说明--------------------------------155.5.4 系统设置-------------------------------------------------------165.6 系统信息------------------------------------------------------------------165.7 车辆信息------------------------------------------------------------------165.7.1 开关机设置-----------------------------------------------------175.8 显示设置------------------------------------------------------------------185.9 密码管理------------------------------------------------------------------196 3G联网及平台使用---------------------------------------------------------1921、注意事项一、航空头接头的定义:1 红色:+12V正极2 黑色:公共GND3 白色:音频4 黄色:视频二、电源线的定义:红色:DC12V或24V输入黑色:接地GND黄色:点火线ACC三、机器要能正常启动,一定要按以下操作:1、一定要把钥匙锁上(锁也是机器开关);2、电源线的红色要接电瓶的正极,黑色线接电瓶的负极,黄色线接车钥匙的点火线,也就是ACC;或电源线的红色和黄色线并在一起做正极,黑色做负极。

视频网络高清编码器产品使用说明书

视频网络高清编码器产品使用说明书

H.265/H.264 HDMI编码器产品使用说明书目录一、产品概述1.产品概述2.应用场景3.产品参数二、浏览器使用说明1.系统登录2.预览界面3.编码器设置3.1 系统设置3.2 网络设置3.3 音视频设置3.4 安全设置三、VLC播放器设置前言感谢您使用本公司网络高清编码器产品,该产品是针对安防视频监控、IPTV网络直播、远程教学、远程医疗、庆典典礼、远程视频会议、自媒体直播应用的HDMI网络高清编码器。

采用高性能、单片SOC 芯片实现集音视频采集、压缩、传输于一体的媒体处理器,标准的H.265和H.264 Baseline 以及 Mainprofile 编码算法确保了更清晰、更流畅的视频传输效果。

内嵌 Web Server 允许用户通过 IE 浏览器方便地实现对前端视频的实时监看和远程控制。

该产品实际测试乐视云、百度云、目睹、Youtube和Wowza等服务媒体服务器,兼容海康威视H.265的NVR产品,支持TS流、RTMP、HTTP、RTSP和ONVIF等视频协议;支持AAC、G.711U和G.711A等音频编码。

以及需要运用到远程网络视频传输及直播的各种场合,本产品易于安装,操作简便。

声明:我们保留随时更改产品和规格,恕不另行通知。

这些信息不会被任何暗示或其他任何专利或其它权利转让任何许可。

读者对象:本手册主要适用于以下工程师:系统规化人员现场技术支持与维护人员负责系统安装、配置和维护的管理员进行产品功能业务操作的用户型号:TS-H264-B一、产品概述1.产品概述,该产品采用华为最先进的H.265网络高清数字音视频芯片压缩技术,具有稳定可靠、高清晰、低码率、低延时等技术特点。

该产品输入为高清HDMI视频信号,经过主芯片视频压缩编码处理,通过网络输出标准的TS流和RTMP视频流。

该产品的推出填补了行业内空白,直接取代了传统的视频采集卡,使用嵌入式操作系统保证产品更加稳定。

采用工业级铝合金外壳设计,体积小,方便安装。

【知识点】H264,H265硬件编解码基础及码流分析

【知识点】H264,H265硬件编解码基础及码流分析

【知识点】H264,H265硬件编解码基础及码流分析前⾔⾳视频开发需要你懂得⾳视频中⼀些基本概念,针对编解码⽽⾔,我们必须提前懂得编解码器的⼀些特性,码流的结构,码流中⼀些重要信息如sps,pps,vps,start code以及基本的⼯作原理,⽽⼤多同学都只是⼀知半解,所以导致代码中的部分内容虽可以简单理解却不知其意,所以,在这⾥总结出了当前主流的H.264,H.265编码相关的原理,以供学习.1. 概览1.1. 为什么要编码众所周知,视频数据原始体积是巨⼤的,以720P 30fps的视频为例,⼀个像素⼤约3个字节,如下所得,每秒钟产⽣87MB,这样计算可得⼀分钟就将产⽣5.22GB。

数据量/每秒=1280*720*33*3/1024/1024=87MB因此,像这样体积重⼤的视频是⽆法在⽹络中直接传输的.⽽视频编码技术也就因运⽽⽣.关于视频编码原理的技术可以参考本⼈其他⽂章,这⾥不做过多描述.1.2. 编码技术经过很多年的开发迭代,已经有很多⼤⽜实现了视频编码技术,其中最主流的有H.264编码,以及新⼀代的H.265编码,⾕歌也开发了VP8,VP9编码技术.对移动端⽽⾔,苹果内部已经实现了如H.264,H.265编码,我们需要使⽤苹果提供的VideoToolbox框架来实现它.1.3. 编码分类软件编码(简称软编):使⽤CPU进⾏编码。

硬件编码(简称硬编):不使⽤CPU进⾏编码,使⽤显卡GPU,专⽤的DSP、FPGA、ASIC芯⽚等硬件进⾏编码。

优缺点软编:实现直接、简单,参数调整⽅便,升级易,但CPU负载重,性能较硬编码低,低码率下质量通常⽐硬编码要好⼀点。

硬编:性能⾼,低码率下通常质量低于硬编码器,但部分产品在GPU硬件平台移植了优秀的软编码算法(如X264)的,质量基本等同于软编码。

iOS系统中的硬编码苹果在iOS 8.0系统之前,没有开放系统的硬件编码解码功能,不过Mac OS系统⼀直有,被称为Video ToolBox的框架来处理硬件的编码和解码,终于在iOS 8.0后,苹果将该框架引⼊iOS系统。

图形处理器 DM365 的 JPEG 解码器 (v01.00.00) 产品介绍说明书

图形处理器 DM365 的 JPEG 解码器 (v01.00.00) 产品介绍说明书

PRODUCTPREVIEW SPRS547B–DECEMBER2009Sequential JPEG Decoder(v01.00.00)on DM365FEATURES•Frame pitch greater than picture width,specified as display width parameter •eXpressDSP™Digital Media(XDM1.0supportedIIMGDEC1)interface and IRES interfacecompliant•Rotation and decode area supportedindividually,but does not support both•Validated on DM365EVM using Monta Vista®togetherLinux®5.0•Ring buffer configuration of bit-stream buffer •Baseline sequential process supported withfor reducing buffer size requirement the following limitations:supported.Ring buffer size should be multiple –Cannot support non-interleaved scansof4096bytes.–Only supports1and3components•Rotation of90,180,and270degree supported –Huffman tables and quantization tables for•Multi-instance of JPEG Decoder,and U and V components must be the samesingle/multi instance of JPEG Decoder with •Maximum of four(two tables each)for AC and other DM365codecs supported DC DCT coefficients supported•This decoder does not support the following:•YUV4:2:2interleaved data as an output–Extended DCT-based process supported–Lossless process•YUV4:2:0semi-planar(NV12format,that is,Y–Hierarchical processplanar,Cb Cr interleaved)data as an outputsupported–Progressive scan•YUV4:2:0,YUV4:2:2,YUV4:4:4,gray level(with–Input format of YUV4:1:1,gray level with 8x8pixels MCU)input format supported16x16pixels MCU•8-bit quantization tables supported–Decoded image width less than64pixelsfor YUV4:2:0/4:2:2and32pixels for•Frame level decoding of images supportedYUV4:4:4•Images with resolutions up to(Horizontal MCU–Decoded height less than32pixels size*1024)*(Vertical MCU size*1024)pixelscan be decoded.This is the theoretical–Source images of12-bits per samplemaximum.However,only images up to64Mpixels have been tested.If the codec memory DESCRIPTIONand I/O buffer requirements exceed the DDR This sequential JPEG decoder accepts YUV4:2:0, memory availability for frame based decoding,YUV4:2:2,YUV4:4:4planar,YUV4:2:2interleaved use ring buffer and slice mode decoding to and Gray(with8x8pixels MCU)images.Output decode higher resolution images.format is YUV4:2:2interleaved or YUV4:2:0semi-planar.This JPEG Decoder is validated on •JPEG File Interchange Format(JFIF)header isDM365EVM with Monta Vista Linux5.0.skipped•Frame level re-entrance supported•Resizing by various factors from1/8to7/8supportedPlease be aware that an important notice concerning availability,standard warranty,and use in critical applications of TexasInstruments semiconductor products and disclaimers thereto appears at the end of this data sheet.is a trademark of Texas Instruments.Linux is a registered trademark of Linus Torvalds.Monta Vista is a registered trademark of MontaVista Software,Inc.All other trademarks are the property of their respective owners.PRODUCT PREVIEW information concerns products in the Copyright©2009,Texas Instruments Incorporated formative or design phase of development.Characteristic data andother specifications are design goals.Texas Instruments reservesthe right to change or discontinue these products without notice.PRODUCT PREVIEW SPRS547B–Performance SummaryThis section describes the performance of the JPEG Decoder on DM365EVM.Table1.Configuration TableCONFIGURATION IDSequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_01Input Format:YUV_420POutput Format:YUV_422ILERotation0.Sequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_02Input Format:YUV_422POutput Format:YUV_422ILERotation0.Sequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_03Input Format:YUV_420POutput Format:YUV_420SPRotation0.Sequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_04Input Format:YUV_422POutput Format:YUV_420SPRotation0.Sequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_05Input Format:YUV_420POutput Format:YUV_422ILERotation Enabled.Sequential JPEG Decoder,I/D Cache Enabled JPEG_DEC_06Input Format:YUV_420POutput Format:YUV_420SPRotation Enabled.Performance Measurement Procedure•Measured with program memory and I/O buffers in external memory,I/D cache enabled,ARM@297MHz, MJCP@243MHz,DDR@243MHz,Monta Vista Linux5.0•DVTB is used to measure the performance numbers in this Datasheet.•The process time is measured across algActivate/process/algDeactivate function call using gettimeofday() utility of linux.•NFS File system is used as an environment in performance measurement.•To avoid the impact of file I/O operation in performance measurement,file write operation is disabled and checksum calculation is included after fread()function to ensure that file read is successfully completed before process call.•After rebooting the board,codec binary must be executed at least once before starting performance measurement.Note:Frame Decode load can be divided in ARM load and MJCP load.ARM is idle during MJCP processing, and can be utilized to execute any other program in different thread during this time.Table2.Cycles Information for JPEG_DEC_01COMPRESSION ARM926PER FRAME DECODE PER FRAME INPUT NAME RESOLUTION FPSRATIO MHz MHz3 1.13 2.01147.54Fruitbasket.jpg CIF(352x288)70.99 1.78166.7211 1.04 1.64180.573 1.00 3.1295.22Test_2.jpg VGA(640x480)70.98 2.71109.40140.99 2.48119.672Submit Documentation Feedback Copyright©2009,Texas Instruments IncorporatedP R O D U C T P R E V I E W SPRS547B –DECEMBER 2009Table 2.Cycles Information for JPEG_DEC_01(continued)COMPRESSIONARM926PER FRAMEDECODE PER FRAMEINPUT NAMERESOLUTIONFPS RATIOMHzMHz110.99 2.68110.74Chrsweep.jpgD1(720x480)18 1.02 2.61113.6422 1.03 2.59114.8420.998.0836.74mobcal_ter.jpg720p (1280x720)50.99 6.4046.41100.995.6752.37Table 3.Cycles Information for JPEG_DEC_02COMPRESSIONARM926PER FRAMEDECODE PER FRAMEINPUT NAMERESOLUTIONFPS RATIOMHzMHz21.652.50118.88Fruitbasket.jpgCIF (352x288)6 1.03 2.15138.1010 1.00 1.91155.3030.99 4.0074.32Test_2.jpgVGA (640x480)5 1.03 3.6780.8810 1.04 3.3987.58120.99 3.6182.35Shrek.jpgD1(720x480)14 1.07 3.5982.8316 1.06 3.5583.6931.009.9129.96mobcal_ter.jpg720p (1280x720)6 1.018.7334.0391.018.1036.64Table 4.Cycles Information for JPEG_DEC_03COMPRESSIONARM926PER FRAMEDECODE PER FRAMEINPUT NAMERESOLUTIONFPS RATIOMHzMHz31.12 1.91155.26Fruitbasket.jpgCIF (352x288)7 1.13 1.74170.5611 1.10 1.66179.2131.09 3.1993.06Test_2.jpgVGA (640x480)7 1.12 2.85104.3114 1.13 2.64112.69111.102.80106.08Chrsweep.jpgD1(720x480)18 1.10 2.72109.2422 1.14 2.70110.0121.148.1736.35mobcal_ter.jpg720p (1280x720)5 1.11 6.4945.78101.105.7751.48Table 5.Cycles Information for JPEG_DEC_04COMPRESSIONARM926PER FRAMEDECODE PER FRAMEINPUT NAMERESOLUTIONFPS RATIOMHzMHz21.002.12140.11Fruitbasket.jpgCIF (352x288)6 1.05 1.94153.21101.001.82162.87Copyright ©2009,Texas Instruments Incorporated Submit Documentation Feedback 3PRODUCT PREVIEW SPRS547B–Table5.Cycles Information for JPEG_DEC_04(continued)COMPRESSION ARM926PER FRAME DECODE PER FRAME INPUT NAME RESOLUTION FPSRATIO MHz MHz30.99 4.0074.28Test_2.jpg VGA(640x480)5 1.00 3.6481.7010 1.01 3.3688.40120.99 3.6182.26 Shrek.jpg D1(720x480)14 1.03 3.5683.5416 1.00 3.4985.163 1.029.9329.92mobcal_ter.jpg720p(1280x720)6 1.048.7433.989 1.028.1236.58Table6.Cycles Information for JPEG_DEC_05ARM926PER FRAME DECODE PER FRAME INPUT NAME RESOLUTION ROTATION FPSMHz MHz90 1.11 2.11141.06Fruitbasket.jpg CIF(352x288)180 1.14 2.03145.99270 1.15 2.00148.5290 1.18 3.7579.20Test_2.jpg VGA(640x480)180 1.10 3.5384.15270 1.15 3.5783.13Table7.Cycles Information for JPEG_DEC_06ARM926PER FRAME DECODE PER FRAME INPUT NAME RESOLUTION ROTATION FPSMHz MHz90 1.23 2.67111.33Fruitbasket.jpg CIF(352x288)180 1.26 2.63113.05270 1.23 2.58115.2390 1.25 5.2456.71Test_2.jpg VGA(640x480)180 1.22 5.1257.96270 1.25 5.1757.48 Note:•The values in Table2,3,4,5,6,and7are as measured on the ARM926side.These are the actual cycles as seen from the host on the DM365EVM board and will be close to cycles seen on the final system(for average case).•ARM926represents mega cycles per frame spend on ARM926.•Decode frame time is the time seen from ARM926only.Since most of the processing happens at MJCP,the active load on ARM926is the value mentioned in ARM926column.Decode frame time has no connection with MJCP running at243MHz.•All values are collected(both average and peak)at frame-level processing.•They are measured with Linux without any system traffic.Table8.Memory StatisticsRESOLUTION MEMORY STATISTICS(IN BYTES)PROGRAM DATA MEMORY TOTALMEMORY CONSTANT INTERNAL EXTERNAL STACKSXVGA709461856009608819299114(1280x960)720P(1280x720)7094618560096088192991144Submit Documentation Feedback Copyright©2009,Texas Instruments Incorporated SPRS547B–DECEMBER2009Table8.Memory Statistics(continued)RESOLUTION MEMORY STATISTICS(IN BYTES)PROGRAM DATA MEMORY TOTALMEMORY CONSTANT INTERNAL EXTERNAL STACKD1(720x480)709461856009608819299114VGA(640x480)709461856009608819299114CIF(352x288)709461856009608819299114Table9.Codec Usage of External Memory through CMEMBUFFER SIZEInput Buffer(1)frameSize(2)*2Output Buffer YUV_422_ILE Buffer1:frameSize*2YUV_420_SP Buffer1:frameSizeBuffer2:frameSize/2External Memory MemTab[1]9096BytesMemTab[2]512Bytes(1)Input buffer size is theoretical value based on1:1compression ratio(for422format).Actual size may be different than this.(2)frameSize=(maxWidth*maxHeight).WEIVERPTCUDORP Copyright©2009,Texas Instruments Incorporated Submit Documentation Feedback5PRODUCT PREVIEW SPRS547B–Notes•The entire MJCP is a video resource and is used by the codec.•DMA configurationTable10.DMA ConfigurationTC Qs TC0TC1TC2TC3TOTALNot used by Not used byUsage Reserved for system Used by codec-codec codecNot touched byPriority0---codec(Default–7)EDMA Channels0220022/64PaRAM Entries0330033/256QDMA Channels00000/8•The MJCP/EDMA resources are acquired using a generic resource manager known as Framework component.See Sequential JPEG Decoder on DM365User's Guide for details.•Code PlacementAll the algorithm code are placed in external memory.The performance quoted is not sensitive to algorithm code placement.References•ISO/IEC10918-1Digital compression and coding of continuous-tone still images(JPEG)•Sequential JPEG Decoder on DM365User's Guide(literature number:SPRUEV3B)GlossaryTerm DescriptionConstants Elements that go into.const memory sectionScratch Memory space that can be reused across different instances of the algorithmShared Sum of Constants and ScratchInstance Persistent-memory that contains persistent information-allocated for each instance of thealgorithmCompression ratio Compression ratio of N:1means compressed data occupies N times less space than originaldataAcronymsAcronym DescriptionCIF Common Intermediate FormatDCT Discrete Cosine TransformDMA Direct Memory AccessDMAN3DMA Resource ManagerEVM Evaluation ModuleExif Exchangeable image file formatIDMA3DMA Resource specification and negotiation protocolJFIF JPEG File Interchange FormatJPEG Joint Photographic Experts GroupMCU Minimum Coded UnitMJCP MPEG4-JPEG co-processorNV12YUV420format with Y plane and CbCr planeXDM eXpressDSP Digital MediaYUV Raw Image format,Y:Luminance Component U,V:Chrominance components6Submit Documentation Feedback Copyright©2009,Texas Instruments Incorporated SPRS547B–DECEMBER2009Revision HistoryThere are no changes in the data sheet as compared to the previous version.WEIVERPTCUDORP Copyright©2009,Texas Instruments Incorporated Submit Documentation Feedback7IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries(TI)reserve the right to make corrections,modifications,enhancements,improvements, and other changes to its products and services at any time and to discontinue any product or service without notice.Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty.Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty.Except where mandated by government requirements,testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design.Customers are responsible for their products and applications using TI components.To minimize the risks associated with customer products and applications,customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license,either express or implied,is granted under any TI patent right,copyright,mask work right, or other TI intellectual property right relating to any combination,machine,or process in which TI products or services are rmation published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement e of such information may require a license from a third party under the patents or other intellectual property of the third party,or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties,conditions,limitations,and notices.Reproduction of this information with alteration is an unfair and deceptive business practice.TI is not responsible or liable for such altered rmation of third parties may be subject to additional restrictions.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice.TI is not responsible or liable for any such statements.TI products are not authorized for use in safety-critical applications(such as life support)where a failure of the TI product would reasonably be expected to cause severe personal injury or death,unless officers of the parties have executed an agreement specifically governing such use.Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications,and acknowledge and agree that they are solely responsible for all legal,regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications,notwithstanding any applications-related information or support that may be provided by TI.Further,Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or"enhanced plastic."Only products designated by TI as military-grade meet military specifications.Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk,and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS16949requirements.Buyers acknowledge and agree that,if they use any non-designated products in automotive applications,TI will not be responsible for any failure to meet such requirements.Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers Audio /audioData Converters Automotive /automotiveDLP®Products Communications and /communicationsTelecomDSP Computers and /computersPeripheralsClocks and Timers /clocks Consumer Electronics /consumer-appsInterface Energy /energyLogic Industrial /industrialPower Mgmt Medical /medicalMicrocontrollers Security /securityRFID Space,Avionics&/space-avionics-defenseDefenseRF/IF and ZigBee®Solutions /lprf Video and Imaging /videoWireless /wireless-appsMailing Address:Texas Instruments,Post Office Box655303,Dallas,Texas75265Copyright©2010,Texas Instruments Incorporated。

MEDIACODER H.264格式编码参数设置及详解

MEDIACODER H.264格式编码参数设置及详解

MediaCoderH.264格式编码参数设置及详解由于现在大部分视频转码都选择H.264格式进行编码,同时CUDA编码的画质还达不到x264软编码的质量(如果你对画质无要求,可以直接忽略该教程。

)所以该教程对MediacoderH.264格式编码参数设置进行一次详解,希望对画质有一定要求编码爱好者有所帮助。

视频选项栏界面:视频质量/码率比例可选百分比,选择是否对原始视频码率进行压缩。

如果对画质要求较高,建议选择100%,即不对原始视频码率进行压缩。

码率模式:设置转换视频时所采用的编码方式。

可选项:1.平均码率模式;2.固定质量模式;3.恒定码率模式;4.恒定量化参数;5.2次编码模式;6.3次编码模式;建议:选择固定质量模式即对原始视频画质质量进行固定,编码后视频大小不可控。

格式:设置转换后临时的视频文件(未与音频文件封装之前)的格式。

可选项:XviD、H.264、MPEG1、MPEG2、MPEG4、Theora、FlashVideo、DiracVideo、WindowsMediaVideo、RealMedia、H.263、H.263+、H.261、MS-MPEG4-V2、DVVideo、MotionJPEG、LosslessJPEG、Huffyuv、Snow、AMV、RawVideo建议:选择H.264(注意:格式的选择会影响下面容器的选择,不是所有的格式都能封装到一个容器中的!)容器:最后进行封装时使用的容器,如XXXX.AVI就是使用的AVI作为容器。

可选项:Default、AVI、MP4、Matroska、MPEG1、MPEG2、MPEG2-TS、FlashVideo、ASF、3GP、3GP2、MOV、MJPEG、RealMedia、DVForma、OGG、NUT、PMP、RawStream建议:选择MP4(MP4具有良好的播放兼容性,iphone、ipad等均可以直接点播)如果对兼容性没要求,建议选择MKV(注意:很多转换任务一开始就报有关容器的错误,是因为混流软件对转换后的音频文件或视频文件无法混流所致.具体MediaCoder的混流器能封装什么格式的视频文件和音频文件,请参考其他有关资料!)复制视屏流:当勾选参数时,MediaCoder不会对原始视频进行转换,而是直接无损提取。

高清视频编码器中文说明书H265_H264

高清视频编码器中文说明书H265_H264

H.265/H.264高清视频编码器禾鸟电子科技荣誉出品一、产品简介H.265/H.264高清视频编码器有HDMI\SDI\VGA三种高清接口产品,是由禾鸟电子自主研发的用于高清视频信号编码及网络传输直播的硬件设备,采用最新高效H.265/H.264高清数字视频压缩技术,具备稳定可靠、高清晰度、低码率、低延时等特点。

输入高清HDMI、SDI、VGA高清视频、音频信号,进行编码处理,经过DSP芯片压缩处理,输出标准的TS网络流,直接取代了传统的采集卡或软件编码的方式,采用硬编码方式,系统更加稳定,图像效果更加完美,广泛用于各种需要对高清视频信号及高分辨率、高帧率进行采集并基于IP 网络传送的场合,强大的扩展性更可轻易应对不同的行业及需求,可作为视频直播编码器,录像,传输等应用。

采用工业控制精密设计,体积小,方便安装,功率小于5W,更节能,更稳定。

特点:●高性能硬件编码压缩●支持H.265高效视频编码●支持H.264 BP/MP/HP●支持AAC/G.711高级音频质编码格式●CBR/VBR码率控制,16Kbps~12Mbps●网络接口采用100M、1000M 全双工模式●主流,副流可推流不同的服务器●支持高达720P,1080P60HZ的高清视频输入●支持图像参数设置●HDMI编码支持HDCP协议,支持蓝光高清●支持HTTP,UTP,RTSP,RTMP,ONVIF 协议●主流与副流采用不同的网络协议进行传输●WEB操作界面,中英文配置界面可选●WEB操作界面权限管理●支持广域网远程管理(WEB)●支持流分辨率自定义输出设置●支持码流插入中英文字功能,字体背景、颜色可选●支持码流插入3幅透明图像水印功能,XY轴可设置●支持一键恢复出厂配置二、产品应用:1、4G移动直播高清前端采集2、高清视频直播服务器3、视频会议系统视频服务器4、数字标牌高清流服务器5、教学直播录像系统前端采集6、IPTV电视系统前端采集7、微信直播系统前端采集8、医疗视频直播与录像系统9、可接入NVR硬盘录像机三、接口说明:HDMI高清编码器(H265、H264)SDI高清编码器(H265、H264)VGA高清编码器(H265、H264)HDMI高清编码器(H264)SDI高清编码器(H264)VGA高清编码器(H264)3U结构编码器说明:A、电源输入----- 12V/DC 输入接口,采用12V1A电源,如果是5V输入时,选用5V/2AB、初始化按钮------用于复位设备,当开机后,按住不放15秒后,设备IP恢复至出厂IP,192.168.0.31C、视频输入------用于输入高清HDMI、SDI、VGA、Audio信号。

TTR-H264通天眼用户手册

TTR-H264通天眼用户手册

通天眼用户手册TTR-H264感谢您使用本公司的通天眼声明:本手册可能某些细节描述不够准确,如果您按照手册使用时有无法解决的问题,请与公司技术支持部或产品供应商联系。

本手册内容将不不定期更新,恕不另行通知。

通天眼出厂默认参数出厂默认的管理员和用户名为:admin密码:adminWeb端口:80通讯端口:4000目录一、产品介绍――――――――――――――――――――――――――――――――4二、产品结构――――――――――――――――――――――――――――――――5三、产品硬件安装――――――――――――――――――――――――――――――7四、产品规格――――――――――――――――――――――――――――――――7五、网页操作说明――――――――――――――――――――――――――――――8 附录 1 常用动态域名设置―――――――――――――――――――――――――――――26 附录 2 常用路由器端口映射设置――――――――――――――――――――――――――27 附录 3 常见问题解答―――――――――――――――――――――――――――――――29一、产品介绍1-1简介通天眼是一台可独立运作的网页服务器,不需连接到计算机上, 供用户从世界各地以网页浏览器或客户端软件来实时监看影像监听声音.其为一低成本的远程视讯、音频传输解决方案, 通天眼本身已经集成摄像头.在远程的用户只需在网页浏览器上入通天眼的IP 地址或网域名, 就可实时由远程监看影像,监听现场声音,还可以与计算机进行对讲。

使用操作非常方便. 同时通天眼可设定12 个用户账号及指定固定IP 地址来邦定, 以防外人偷看, 并具有移动侦测功能, 当有事件发生时会主动发送电子邮件、抓拍或录像存储在本机SD卡上,方便用户查询. 通天眼另提供一套Windows 系统用的多屏管理软件, 让用户可在一台计算机上同时最多可以监控32路图像.通天眼是一款一体化IP摄像机解决方案。

文献综述-浙江大学现代教务管理系统

文献综述-浙江大学现代教务管理系统

文献综述基于于DM365处理器的H.264视频编码器接口软件设计1. 引言今天,多媒体技术的应用已经深入到各个领域;在日常生活中,多媒体产品也是随处可见,如视频电话,视频会议系统,实时监控,基于IP的网络流媒体等等。

在这些多媒体应用中,图像的传输和存储是一个十分重要的问题;由于存储空间和网路带宽的限制,直接存储和传输原始视频显得十分吃力且开销巨大,由此需要对原始视频进行压缩处理,进而衍生出了视频编解码技术。

压缩视频和原始视频的大小有时会相差百倍之多。

本文主要叙述和总结了视频编码技术的原理和概况,介绍了H.264视频编码技术;以及DM365处理器。

2. 视频编码技术概述数字视频存在大量的冗余信息,冗余信息大致可分为以下四类:(1)空间冗余;(2)时间冗余;(3)视觉冗余;(4)编码冗余。

现在一系列的视频编码技术可能在具体算法上有差异,当其根本原理还是针对四种冗余的特点去除冗余信息以达到压缩视频的目的。

2.1 冗余信息●空间冗余同一帧图像中有大片的区域有连续的相似的图形图像,其相邻像素之间的差值很小;对于一个像素点我们可以用其邻近像素的值与一个微小差异值表示;相对于以此像素的原值表示其,差值占用的数据量小很多,这部分的数据量差异就是空间冗余所在。

●时间冗余相邻两帧图像的对应位置经常是相似的,两幅图像对应像素的差值因而也较小甚至为零;对于一个像素点,如果他与前一帧图像对应点的差值较小,相对于用此像素的原值表示它,差值占用的数据量小很多,这部分数据量差异就是时间冗余所在。

●视觉冗余人眼的视觉系统有一个特征:对于缓慢变化的图像敏感,对于快速变化的图像不敏感;对原始图像做小波变换或离散余弦变换(DCT)后图像就被分成许多不同强度不同频率的分量信息,通过有选择的削减或剔除高频分量信息,就能在人眼感觉变化不大的情况下减小图像包含的信息量,被削减的信息就是视觉冗余所在。

●编码冗余在经过一些编码手段处理后的视频信息的像素值具有一定的统计特性,即概率分布,某些值出现的概率很大,而其他值相对则很小且有一定的连续性。

H.264操作手册-copy1

H.264操作手册-copy1

H.264数字硬盘录像机操作手册登录点击桌面左下方“开始”—“程序—“数字硬盘录像系统”—“数字硬盘录像系统”,运行起DVR软件,如下图所示进入DVR主界面后,系统所有按钮处于锁定状态,点击其中任何一个按钮,将弹出如下对话框,要求输入正确的用户名与密码,方可执行功能操作。

安装后,首次默认管理员级用户名与密码全为空白,直接点确定按钮解锁,解锁之后管理员用户创建、删除、管理新用户权限。

主界面点击满屏按钮,进入满屏幕状态,所有按钮不可见,右键点击鼠标,弹出如下菜单录像DVR支持手工录象、移动录象、定时录象等,您可以通过点击DVR主界面下方的摄像机序号按钮实现手工录象搜索与回放DVR文件点击进入DVR文件搜索与回放窗口进入回放窗口,默认是回放第一个摄像机的录像资料,如果需要多路回放,则勾上需要回放的CAM序号即可,回放过程可以将鼠标移动到绿色半球手柄,然后左键按住不放拖动到其他时间点最后松开鼠标左键播放。

回播放过程中,用户可以进行快进、单帧前进、跳进、拖动滑动条来实现快速回放,用户也可以双击正在播放的视频,放大观看,还能点按钮来进行电子拍照,点来打印图片与备份录象文件点击“备份”按钮,进入如下窗口按住不选择摄像机、文件备份格式、路径,然后输入时间段点“确定”按钮完成备份,注意:备份过程需要一定时间,需要耐心等待云台与镜头控制在DVR主界面的右下方,有PTZ云镜控制面板,实现云台镜头控制前需先安装云镜设备,与启用云镜控制,并根据解码器说明书设置好解码器控制参数设置,点击箭头上、下、左、右实现转动云台,需云台自转可点击云台方向控制盘中间的摄像机序号。

视频参数设置点击进入参数设置窗口:1)分辨率: 如果CPU资源充足的情况下,显示与录象分辨率推荐采用640X4802)(监控路数)切换方式:该设置选项只适于ETHER8104和ETHER8416视频采集卡通常情况下,一个视频采集芯片只用来采集一路视频,但ETHER8104和ETHER8416视频采集卡可以支持一个芯片切换采集1-4路视频,各通道共同平分总资源3)压缩方式:默认为H.264 压缩,或者采用MPEG-4算法优化版4)画质录象:推荐采用按画质动态码流录象,并推荐采用优画质5)画面滚动间隔:DVR系统支持超过4画面(如:8、12、16个摄像机画面)的图象显示在4画面分割,第一个时间显示1-4摄像机画面,下一时间显示5-8摄像机画面,再下一时间显示9-12...,循环显示6)摄像机属性列表:ETHER9404/9808支持抽帧录象,画面文字与录象帧数音频设置声卡至少具有双通道,本DVR利用声卡两声道录音,然后合成到2路视频中,所以一台DVR可以支持2路录音操作步骤如下:1) 双击桌面右下角的,进入Volume Control窗口,点击volume Control窗口(图1)菜单选项—>属性(R),进入属性窗口选择录音与Microphone,然后点确定按钮进入Recording Control窗口,勾上Microphone即可2) 点击DVR主界面的按钮,进入参数设置窗口,选择音频分页,启动录音,再选择准备与音频合成的的摄像机序号。

(完整版)H265HDMI高清视频编码器使用教程技术手册说明书

(完整版)H265HDMI高清视频编码器使用教程技术手册说明书

单路数字高清编码器H.265/H.264 X.Encoder使用说明书长沙航天和一电子设备厂目录前言1. 环境配置 (6)1.1. 硬件环境 (6)1.2. 软件环境 (6)1.2.1.登录设置后台 (6)1.2.2.查看流地址 (7)2. 编码设置 (9)2.1. 编码设置 (9)2.2. 音频设置 (12)2.3. 高级设置 (12)3. OSD设置 (13)3.1. 码流OSD设置 (13)3.2. LOGO上传 (14)4. 系统设置 (14)4.1. 网络设置 (14)4.2. 密码设置 (15)4.3. 串口透传 (15)4.4. 系统更新 (16)4.5. 恢复出厂设置 (16)4.6. 重启 (17)5. 场景应用 (17)5.1. 少量用户场景 (17)5.1.1.网页预览视频 (17)5.1.2.VLC播放器播放视频 (19)5.2. 本地多用户场景 (20)5.3. 本地监控系统场景 (21)5.4. 远程多用户场景 (23)6. 常见问题解决 (25)6.1. 不能访问编码器 (25)6.2. VLC不能播放出视频 (28)前言感谢您选用长沙航天和一电子设备厂的产品。

本说明书详细介绍了产品的性能、安装及操作方法,无论您是第一次使用该产品,还是以前接触过很多类似产品,都必须在使用前仔细阅读本手册,并遵从所有操作及其它说明事项。

安全注意事项●在开启本设备前一定要阅读使用说明书。

●绝对不要私自打开机盖,否则不予保修,另外触摸机内时有触电可能,十分危险。

●长期不使用本设备时,请一定要拔下电源插头,另外请不要使用破损的电源插座,以免发生火灾和触电。

电源插座不要用湿手触摸,有触电的可能。

●不要将设备接近强磁场和强电场的环境。

●拔掉连接导线时,应拔插头不要拉导线本身,不要带电热插拔HDMI线。

●设备上不要放置过重或装有液体的物品。

机内不得落入易燃物、金属物、液体等,这些东西会损坏本设备。

H.264快速操作指南

H.264快速操作指南

本产品是专为安防领域设计的一款优秀的数字监控设备。

采采用标准的H.264MP使系统运行更稳定;用嵌入式LINUX操作系统,视频压缩算法和独有的时空滤波算法,实现了高画质、低码率的同 步音视频监控; 强大的网络服务功能极大地提升网络数据传输能力 和远程操控能力。

第一部分 基本操作1.基本安装1.1 硬盘安装初次使用时,首先请安装硬盘。

E系列产品支持2块SA TA硬盘, A/C系列产品支持1块SA TA 硬盘,硬盘连接时,请将接口处靠近DVR硬盘接口那侧。

注:没安装硬盘, 设备可正常运转进行监控, 但不能正常进行录像、 回放。

1.2 鼠标连接E系列后面板1个USB 口。

前面板1个USB 口,两个均可用 于鼠标,U盘,WIFI模块。

A系列两个USb接口均在后面板, 用于鼠标, U盘, WIFI模块。

2.开机接上电源,打开后面板的电源开关,电源指示灯亮,录像机开 机。

启动完毕后会听到蜂鸣器“嘀”的一声,视频输出默认为多画 面输出模式。

注:非正常断电恢复后, 设备将自动恢复到断电前的状态进行运行。

3.关机关闭设备,有软开关和硬开关。

软开关,进入【主菜单】>【关 闭系统】中选择【关闭】;硬开关,关机时按下后面板的电源开关 即可。

(硬开关可能导致系统数据丢失,请谨慎使用)提醒: 更换主板上电池前需要保存配置, 否则配置信息将全部丢失。

4.登录设备正常开机后,在操作前需要登录,系统根据登录用户权限 提供相应功能。

设备出厂时,预置有2个用户admin、guest,默认无密码。

用 户admin 出厂预置为超级用户权限,用户guest出厂预置权限为预 览和录像回放。

用户admin和guest可修改密码,但不能改权限。

图1 登录密码保护:密码连续 3 次错误,将报警提示;连续 5 次错误, 帐号锁定(系统重启或半小时后,锁定帐号将自动解锁)。

为安 全起见,请及时在“用户管理”中更改用户名和密码。

5.预览设备正常登录后,进入多画面预览状态。

H264标准详解

H264标准详解

H.264 标准详解JVT(Joint Video Team,视频联合工作组)于2001 年12 月在泰国Pattaya 成立。

它由ITU-T和ISO 两个国际标准化组织的有关视频编码的专家联合组成。

JVT 的工作目标是制定一个新的视频编码标准,以实现视频的高压缩比、高图像质量、良好的网络适应性等目标。

目前JVT 的工作已被ITU-T 接纳,新的视频压缩编码标准称为H.264 标准,该标准也被ISO 接纳,称为A VC(Advanced Video Coding)标准,是MPEG-4 的第10 部分。

H.264 标准可分为三档:基本档次(其简单版本,应用面广);主要档次(采用了多项提高图像质量和增加压缩比的技术措施,可用于SDTV、HDTV 和DVD 等);扩展档次(可用于各种网络的视频流传输)。

H.264 不仅比H.263 和MPEG-4 节约了50%的码率,而且对网络传输具有更好的支持功能。

它引入了面向IP 包的编码机制,有利于网络中的分组传输,支持网络中视频的流媒体传输。

H.264 具有较强的抗误码特性,可适应丢包率高、干扰严重的无线信道中的视频传输。

H.264 支持不同网络资源下的分级编码传输,从而获得平稳的图像质量。

H.264 能适应于不同网络中的视频传输,网络亲和性好。

一、H.264 视频压缩系统H.264 标准压缩系统由视频编码层(VCL)和网络提取层(Network Abstraction Layer,NAL)两部分组成。

VCL 中包括VCL 编码器与VCL 解码器,主要功能是视频数据压缩编码和解码,它包括运动补偿、变换编码、熵编码等压缩单元。

NAL 则用于为VCL 提供一个与网络无关的统一接口,它负责对视频数据进行封装打包后使其在网络中传送,它采用统一的数据格式,包括单个字节的包头信息、多个字节的视频数据与组帧、逻辑信道信令、定时信息、序列结束信号等。

包头中包含存储标志和类型标志。

用MeGUI进行H.264编码指南

用MeGUI进行H.264编码指南

用MeGUI进行H.264编码指南引言很多新兴的视频编码工具都提供了对H.264的支持.MeGUI就是其中的一款.它同时也支持XviD等其他编码.本文将重点以压制DVD为例来介绍如何利用MeGUI来编码H.264(MP4)文件.同时也将涉及到其他类型的视频文件的转换.所需软件(均为免费软件):MeGUINero Digital Audio Decoder/Encoder第一步:安装在安装MeGUI之前首先需要下载安装微软.NET Framework 2.0.这个文件很大,安装可能需要至少半小时.接下来我们需要下载安装AviSynth.然后我们就可以安装MeGUI了.安装完毕后启动MeGUI.通常会跳出一个对话框,询问是否更新MeGUI所需的软件.点击"Yes"进入更新管理器.[attachment=464253]点击"Update"按钮开始更新.MeGUI将会自动下载并安装所选择的组件.这时候通常会有一个错误发生,提示"1 file had problems".这是因为由于版权的原因,MeGUI无法自动下载"neroaacenc"这个软件.(neroaacenc是免费软件,但在下载之前必须同意Nero的协议).如果需要更新neroaacenc,可以点击这里,选择"Agree",下载得到一个zip压缩包.将其中的exe文件解压到"megui\tools\neroaacenc"目录下(如c:\program files\megui\tools\neroaacenc\neroaacenc.exe).当所有的更新都完成的时候,我们可以将更新窗口关闭.如果解压了neroaacenc,则需要在MeGUI中手动指定它的位置.进入"Tools"菜单下的"Settings"选项,切换到"Program Paths"选项卡,单击"NeroAacEnc"右边的浏览按钮来指定.点击"Save"关闭设置窗口.同样地,MeGUI通常不会自动更新到最新版本的x264,需要我们手动更新.到这里查看最新的版本.如果比MeGUI现有的版本要新,那么下载并覆盖原有的文件(文件位置可以在上面提到的'Program Paths"中查看,通常位置是c:\program files\megui\tools\x264\x264.exe).第二步VD文件的提取如果你使用的是一张DVD碟片做源,那么就需要首先将DVD文件抓取保存到硬盘上.由于这么做在你的国家可能是非法的,因此我们在这里略去这个步骤.(Kid注:汗...)第三步:创建D2V文件这一步将会用到MeGUI中的D2V Creator来创建MeGUI/AviSynth处理MPEG-2文件所需要的D2V 文件.只有MPEG-2文件需要经过这一步.其他所有输入文件都不需要D2V文件而可以直接在AviSynth 中载入,因此可以跳过这步直接进入第四步.启动MeGUI.笔者通常会首先清除列队中之前已经完成的任务.这步并非必须,但可以使工作显得更有条理.切换到"Queue"标签,点击"Clear"按钮就可以了.选择"Tools"菜单下的"D2V Creator".在"Video Input"一栏中,载入电影标题组的第一个VOB文件(组中其他文件会被自动载入).这时会得到一个错误提示,大意是无法找到DVD Decrypter生成的信息文件.这没关系(因为我们没有使用DVD Decrypter的IFO模式) (Kid注:这里说到的DVD Decrypter其实就是第二步用到的软件),点击"OK"忽略这个提示.[attachment=464254]选择需要分离的音轨.如果需要制作多音轨的文件,在这里就可以选择一条以上的音轨.或者,可以选择"Demux all Audio Tracks"来分离出所有音轨,之后再来选择所需的音轨.默认的保存目录是DVD VOB文件所在的目录.如果需要的话可以改变输出路径.将"On completion load files"和"and close"复选框都勾上,点击"Queue"按钮.现在我们回到了MeGUI的窗口.切换到"Queue"标签,点击"Start"按钮,D2V文件创建就开始了.当创建完成时,队列中的任务状态将会显示为"Done",生成的D2V文件会被自动载入到下一步将用到的AviSynth Script Creator中.这可能会花费一些时间,因此需要耐心等待.这时status窗口的进度条可能会不动,别担心,这是DGIndex在工作中.第四步:AviSynth Script Creator (AviSynth脚本生成器)在这步中,我们将利用MeGUI中的AviSynth Script Creator工具来生成一个AviSynth脚本文件.如果经过了第三步的过程,那么AviSynth Script Creator应该启动并载入了刚才创建的D2V文件.否则的话我们需要在"Vidoe Input"栏中载入需转换的视频文件. 引用:[indent]对于我们能够在Media Player Classic或Windows Media Player 等基于directshow的播放器中播放的视频文件,AviSynth几乎全部都能打开.如果在打开文件对话框中看不到,那么选择"全部文件"来打开.多数情况下,我们需要安装待转换文件相应的解码器.比如,我们想通过MeGUI来转换FLV文件,那么首先需要确认我们有能使FLV在WMP中播放的相应解码器.有关这个的说明可以在这里看到.[/indent]"Input DAR"指的是输入文件的宽高比例.多数情况下,这已经自动设定好了.比如可变形DVD将会被设为"ITU 16:9"等等.点击"Auto Crop"按钮来移除视频文件可能存在的黑边(多数宽屏DVD会有黑边).然后,勾上"Suggested Resolution"复选框,填入所需要的分辨率数值.对于将一张DVD转换成一张单CD(700MB)的情况,可以使用最大的分辨率(720×***).如果有特殊要求,比如压制用于iPod/PSP观看的文件,那么就应该确认我们选择的分辨率能够被播放器所兼容.[attachment=464255]切换到"Filters"标签.对于DVD影片来说,我们通常不需要做反交错分析.但如果我们的源文件是基于电视信号的,那么则需要点击"Analysis"按钮来分析其是否需要作反交错处理.如果源文件是动画片,那么就在Deinterlace中选择"Source is Anime".[attachment=464256]对于Filter部分,如果刚才选择了保持DVD源的分辨率(720×***),那么Resize Filter和Noise Filter就都不用选择.反之,如果之前选择了降低分辨率,则需要选择合适的Resize Filter ("Bicubic (Neutral)"是个折中的选择).如果源文件有大量噪点,则可以开启Noise Filter,并选择与源文件相符的噪点数量.其余选项可以不用理会.(对于D2V源,"Colour Correction"将会自动被勾上).如果我们的源文件不是DVD,那么请切换到"Edit"标签,手动编辑AviSynth脚本来启用音频.方法很简单,将"audio=false" 改成"audio=true"就可以了.如果源是DVD,并且之前都按照本文的步骤进行的话则不需要做这一步了,因为我们之前已经利用D2V Creator将音频分离出来了.[attachment=464257]勾上"On save close and load to be encoded"选项,点击"Save"按钮来保存AviSynth脚本(默认存放在D2V 文件相同目录下,脚本的文件名可任意).不用理会这时弹出的预览窗口,它在裁剪和重定义大小方面可能会不太准确.保存完毕后AviSynth文件会自动载入到MeGUI中.在MeGUI中的预览窗口将会准确显示最终结果,这时要检查画面显示是否正确,尤其是对经过裁剪和重定义大小的DVD源来说.第五步:视频编码选项这一步是设置H.264编码选项.纵观整个编码转换过程,这步需要配置的选项最多,限于篇幅,就不在本文中一一介绍了.笔者推荐使用Sharktooth做好的预设配置.(Kid注,Sharktooth是Doom9论坛上的一个高手).如果需要更多对选项的说明,可以参考这篇文章."Codec"处选择x264, "Container"选择MP4.[attachment=464258]在"Video Profile"选项中,选择一个x264编码的预设配置.这样的话我们就不用手动去设置所有的选项了(除非你想这么做^_^,那么就点击"Config"按钮吧).对于每个预设配置所用选项的详细解释可以在这里找到.出于兼容性考虑,推荐使用那些CE开头的预设配置,特别是"CE-QuickTime"这个(此配置可以使压制出来的MP4文件可以在Apple quickTime 7及以上版本中播放)."CE-Baseline"同样完全兼容QuickTime,但使用了较少的高级功能(在损失部分质量的情况下会得到较快的编码速度).第六步:音频编码选项现在要设置音频编码选项了.如果是根据本文来做的DVD转换的话,我们在D2V Creator中选择的音轨分离出来的文件应该已经被自动载入了(如果没有,则手动载入第三步创建的.ac3文件).如果源文件不是DVD的话,我们可以选择载入一个单独的音频文件,而如果编辑了AviSynth脚本将audio设为true 的话,也可以在"Audio Input"这里载入那个A VS文件(也就是说视频和音频输入中载入的是同一个A VS 文件).如果需要加入第二条音轨的话点击"2",重复以上步骤.[attachment=464259]现在选择一种音频编码.笔者偏好选择AAC格式的音频.尤其是当视频是用H.264编码的时候——AAC 之于MP3就如同H.264之于DivX/XviD一样——更高的压缩比,更好的质量.那么具体使用哪个编码器呢(Kid注:AAC编码还分ND AAC, FAAC, Wimamp AAC等)?笔者偏好ND AAC (Nero Digital).如果大家同意我的意见的话就也选择它吧.然后从NDAAC音频预设中选择一个.笔者比较喜欢"NDAAC-HE-64Kbps"这个,它编码出来的文件基本上与128Kbps的MP3质量相同.如果确实想要更小的文件的话,可以选择一个"HEPS"(HEv2)的预设.那些"LC"打头的预设对iPod/iTunes等的兼容性更好,同时文件也会大一些(但依然比MP3要小).第七步:分割,比特率计算,自动编码如果不想编码整个视频的话,MeGUI的A VS Cutter工具可以做到.选择"Tools"下拉菜单中的"A VS Cutter"来启动它.这时需要载入你的A VS文件(第三步生成的那个).[attachment=464260]使用视频预览窗口的滑块或按钮来确定需要在哪里分割,窗口的上方显示的是当前帧的编号.[attachment=464261]分别在A VS Cutter的"Start Frame"和"End Frame"中输入所需要的帧号,点击"Add"添加该片断到分割列表中.如果指定了多个片断,还可以指定片断之间的过渡效果(默认设置是淡入淡出).全部完成之后,点击"Add cuts to script"按钮,分割方案就会被添加到我们的A VS脚本中.点击"Close"以关闭A VS Cutter.到这里已经快要完成了.现在我们用MeGUI内置的比特率计算器来计算编码的平均码率.在"Tools"菜单下的"Bitrate Calculator"来启动它.[attachment=464262]在"File size"(图中红色部分),输入最终文件想要的大小,回车.这时"Average Bitrate"(图中蓝色部分)将会发生变化.对于A VI/DivX/XviD的转换,输入源文件的约80%的大小即可获得与之相同的质量.(Kid注:其实我认为既然是使用AutoEncode,以上计算码率的步骤完全可以忽略..既然原作者这样写,那就只能照翻.)点击"AutoEncode"按钮进入自动编码设置窗口.[attachment=464263]这步非常一目了然,只需要指定刚才计算得到的输出文件大小,确认Container设定正确(对本文来说是MP4).输出路径也可以更改.这里将得到的就是最终我们所需要的文件.记住它的位置,以免清理文件的时候无意将其删除了(笔者通常将其存放在与其他文件不同的一个目录下,以防万一).点击"Queue"按钮,所有的任务将被添加到编码队列中.切换到"Queue"标签,所有的任务都应该在这里列出.以下是对图中所列的任务的说明:job1: 生成D2V文件(已经完成了)job2-1: 编码音轨1job2-2: 编码音轨2job2-3: 编码视频,流程1job2-4: 编码视频,流程2job2-5: 将所得音轨和视频整合到MP4文件[attachment=464264]点击"Start"按钮开始编码.当所有任务都完成的时候,我们所需要的MP4文件就得到了.我们可以删除其他所有文件了.(除非还准备用它们编码更多文件).这样,我们就完成了一个编码工作.。

HP Multimedia User Guide.pdf_1702017431.8114393说明书

HP Multimedia User Guide.pdf_1702017431.8114393说明书
Multimedia
User Guide
© Copyright 2007 Hewlett-Packard Development Company, L.P.
Windows is a U.S. registered trademark of Microsoft Corporation.
The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
First Edition: April 2007
Document Part Number: 439976-001
Product notice
This user guide describes features that are common to most models. Some features may not be available on your computer.
ENWW
iii
iv Product notice
ENWW
Table of contents

Видеозапись управления менеджера экспорта мастер в

Видеозапись управления менеджера экспорта мастер в

产品目录中下载 Video Recording Manager 的 zip 文件。 (该导航路径可能随时变更)。
在本地解压 zip 文件。此 VRM eXport Wizard 是解压缩目录的一部分。
要安装软件模块: 1. 开始安装之前,关闭所有其它应用程序。 2. 启动 Setup.exe 程序。 3. 按照屏幕上的说明进行操作。
注释 导出时录制功能仍继续运行。 如果导出时间超过配置的保留时间,在导出过程中区块可能被覆盖。 这 些区块不可再用于导出。
注释 执行导出时,如果比特率过低,请更新网卡驱动程序。检查您的网络设置 (禁用巨型帧)。
2
系统概述
使用 Video Recording Manager eXport Wizard 导出用 Video Recording Manager 录制的视频数据,并
用户界面
选择 Bosch VRM,并优化数据流量 页面 IP 地址 /URL – 输入或选择要导出的 VRM 系统的相应 IP 地址。 用户名 – 输入用于在要导出的 VRM 系统上执行身份验证的用户名。 密码 – 输入用于在要导出的 VRM 系统上执行身份验证的密码。 立即检查 – 单击查看与要导出的 VRM 系统之间的连接。 并行读取的数据源最大数量 – 不会影响磁带导出。 输入以并行方式复制数据的最大源 Targets 数量。如果可以将数据更快写入目标 Target,则此方法非 常适合,因为可以从源 Target 进行读取。 示例:可以 430 Mbps 的速率将数据写入目标 Target。共有 10 个源 Targets,每个源的比特率限制为 100 Mbps 以确保在运行导出时相机可在源 Targets 上录制。在此例中,将参数设置为最低 5 (5* 100 Mbps > 430 Mbps) 可使用目标 Target 的完整带宽。 如果源 Target 慢于目标 Target,您可按同样方式使用此参数。在此例中,还应使用 每个数据源最大比 特率 参数以避免源驱动器过载。 可使用此两个参数的组合以限制写入目标 Target 的数据速率。写入目标 Target 的最高数据速率是 并 行读取的数据源最大数量 乘以 每个数据源最大比特率。 每个数据源最大比特率 – 不会影响磁带导出。 输入软件可从源目标读取的最大比特率 (兆位 / 秒)。无需限制时输入 0 以配置 无限制。这意味着 VRM eXport Wizard 使用导出源的所有可用宽带。例如,在导出期间不进行录像时,此操作非常有用。

DM365的示范应用

DM365的示范应用

DM365的示范应用内置演示应用程序是显示基本的设备能力。

DM365的演示应用程序可以使用红外遥控器或 键盘演奏。

有三个 DVSDK 演示包为 DM365的演示应用程序的编码, 解码和 encodedecode 。

演示打印在控制台上的性能数据,但也有设施,OSD 屏幕上打印的性能数据。

解码该演示使用的编解码器引擎, 文件中的数据进行解码和输出未压缩数据的使用外围设备驱动 程序。

支持视频和语音文件。

所有文件都必须由原始编码帧的数据(基本流) 。

实施细节 下面给出一个解码演示应用程序的简短的实现描述    视频应用程序的一部分运行在两个线程(视频线程和显示线程) 视频线程从文件中读取数据,数据解码器解码的帧和职位解码后的数据显示线程 解码后的视频格式是420半平面 显示线程读取解码后的数据(视频线程) ,一帧的副本(DMA 的帧复印件) ,以显示 缓冲区,并把显示的数据显示驱动程序   显示线程还实现了速率控制机制,运行在30fps 的720P - 60输出的情况下循环 讲话的一部分的应用程序在一个线程中运行,它读取语音文件从一个文件解码和播放的音频驱动程序的帖子解码后的数据 使用解码[选项...]- V <视频>, - videofile <视频> 解码视频文件。

演示检测哪种类型的视频文件提供使用的文件扩展名。

支持的视频算法是: MPEG4 SP(。

MPEG4。

M4V) H.264 HP(0.264扩展)- S <speech - - speechfile <speech>解码语音文件。

演示检测语音文件的类型是提供使用的文件扩展名。

截至目前只支持语音算法 G.711(G711延伸) 。

- Y <1-3> - display_standard <1-3> 设置显示分辨率。

比显示的剪辑,将中心夹紧,将集中和剪辑小于显示。

MediaCoder使用帮助文档

MediaCoder使用帮助文档

MediaCoder 0.6.0 build 3980软件使用通用入门一、 软件作用:以下是官方网站的说明MediaCoder 是一个免费的通用音频/视频批量转码工具,它将众多来自开源社区的优秀音频视频编解码器和工具整合为一个通用的解决方案,可以将音频、视频文件在各种格式之间进行转换。

MediaCoder 具备一个可扩展的架构和丰富的功能,可满足各种场合下的转码需求。

目前,MediaCoder 已经拥有上百万分布在全世界170多个国家的用户。

功能和特点∙ 基于优秀的众多的开源编解码后台,能够解码和编码的格式多 ∙ 极为丰富的可调整的编码参数∙ 全部编解码器自带,不依赖于系统的编解码器和任何组件∙ 良好的可扩展的程序架构,快速适应新的需求,不断增加新的格式的支持 ∙ 利用脚本语言扩展的界面,有支持众多影音设备(如PSP 、iPod )的专用界面 ∙高性能,特别在双核处理器上表现优异典型应用∙ 提高影音文件压缩率,减小其文件尺寸∙ 转换至可在各种影音设备上播放的影音文件,如MP3播放器、MP4播放器、手机、PDA 、VCD/DVD 播放机 ∙ 提取视频文件中的音轨并转换成MP3、AAC 、WMA 等音频文件 ∙修复和改善一些损坏的、部分下载的或质量不佳的影音文件支持格式∙ MP3, Vorbis , AAC , AAC+, AAC+v2, MusePack , Speex , AMR , WMA , RealAudio , mp3PRO * ∙ FLAC , WavPack , Monkey's Audio , OptimFrog , AAC Lossless , WMA Lossless , WAV/PCM∙ H.264, Xvid , MPEG 1/2/4, Theora , Flash Video , Dirac , 3ivx *, RealVideo *, Windows Media Video ∙ AVI , MPEG /VOB , Matroska , MP4, RealMedia *, ASF , Quicktime *, OGM * ∙CD , VCD , DVD , CUE Sheet **仅支持输入简而言之,你可以用MediaCoder 转换各种视频、音频文件。

DAVINCI平台运行JPEG编解码程序

DAVINCI平台运行JPEG编解码程序

DAVINCI平台运行JPEG编解码程序在运行TI的dvsdk(我这边的版本是dvsdk_2_10_00_17)codec的示例代码,具体路径在::/opt/dvsdk_2_10_00_17/dm365_codecs_01_00_06/packages/ti/sdo/codecs/此目录下有h264dec,h264enc,jpegdec,jpegenc,mpeg4dec,mpeg4enc等6个示例。

下面是我运行jpegenc时遇到的问题和解决办法:# cd jpegenc/# cd apps/Client/Test/Src# make clean# make编译通过,生成可执行文件:jpgenc-r然后通过tftp下载到目标板子运行。

root@SEED_DVS365# cd /opt/dm365root@SEED_DVS365# ./loadmodules.sh没办法,这里有现成的,先使用着,然后回到jpgenc-r,开始运行:root@SEED_DVS365# cd /opt/test/root@SEED_DVS365# ./jpgenc-r出现错误如下:./jpgenc-r: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory没有libstdc++.so.6这个库:root@SEED_DVS365# cd /usr/libroot@SEED_DVS365# ls确实没有libstdc++.so.6这个库,于是首先想到去linux主机上把这个库下载下去:# cd /usr/lib# ls -l libstdc*lrwxrwxrwx 1 root root 18 2010-06-25 20:04 libstdc++.so.6 -> libstdc++.so.6.0.8-rwxr-xr-x 1 root root 912700 2008-04-22 07:15 libstdc++.so.6.0.8把libstdc++.so.6.0.8通过tftp下载到板子上,并使用软连接:root@SEED_DVS365# cd /usr/libroot@SEED_DVS365# tftp -g -r libstdc++.so.6.0.8 192.168.1.109root@SEED_DVS365# ln -sf libstdc++.so.6.0.8 libstdc++.so.6现在,应该是有libstdc++.so.6这个库了,回去运行:root@SEED_DVS365# cd /opt/test/root@SEED_DVS365# ./jpgenc-r依然是找不到。

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

H.264 High Profile Encoder on DM365User’s GuideLiterature Number: SPRUEU9March 2009IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions.Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they useany non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions:Products ApplicationsAmplifiers Audio /audioData Converters Automotive /automotive/broadbandDLP® Products BroadbandDSP Digital Control /digitalcontrol Clocks and Timers /clocks Medical /medicalInterface Military /militaryLogic Optical Networking /opticalnetwork Power Mgmt Security /security Microcontrollers Telephony /telephonyRFID Video & Imaging /videoRF/IF and ZigBee® Solutions /lprf Wireless /wirelessMailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2009, Texas Instruments IncorporatedPrefaceRead This FirstAbout This ManualThis document describes how to install and work with Texas Instruments’(TI) H.264 High Profile Encoder implementation on the DM365 platform.It also provides a detailed Application Programming Interface (API)reference and information on the sample application that accompaniesthis component.TI’s codec implementations are based on the eXpressDSP Digital Media(XDM) and IRES standards. XDM and IRES are extensions ofeXpressDSP Algorithm Interface Standard (XDAIS).Intended AudienceThis document is intended for system engineers who want to integrateTI’s codecs with other software to build a multimedia system based onthe DM365 platform.This document assumes that you are fluent in the C language, have agood working knowledge of Digital Signal Processing (DSP), digitalsignal processors, and DSP applications. Good knowledge ofeXpressDSP Algorithm Interface Standard (XDAIS) and eXpressDSPDigital Media (XDM) standard will be helpful.How to Use This ManualThis document includes the following chapters:Chapter 1 – Introduction, provides a brief introduction to the XDAISand XDM standards, Frame work Components, and softwarearchitecture. It also provides an overview of the codec and lists itssupported features.Chapter 2 – Installation Overview, describes how to install, build,and run the codec.Chapter 3 – Sample Usage, describes the sample usage of thecodec.Chapter 4 – API Reference, describes the data structures andinterface functions used in the codec.Appendix A – Time-Stamp Insertion, describes insertion of frametime-stamp through the Supplemental Enhancement Information(SEI) Picture Timing message.iiiRead This FirstivRelated Documentation From Texas InstrumentsThe following documents describe TI’s DSP algorithm standards suchas, XDAIS and XDM. To obtain a copy of any of these TI documents,visit the Texas Instruments website at .TMS320 DSP Algorithm Standard Rules and Guidelines (SPRU352)defines a set of requirements for DSP algorithms that, if followed,allow system integrators to quickly assemble production-qualitysystems from one or more such algorithms.TMS320 DSP Algorithm Standard API Reference (SPRU360)describes all the APIs that are defined by the TMS320 DSPAlgorithm Interoperability Standard (also known as XDAIS)specification.Using IRES and RMAN Framework Components for C64x+(literature number SPRAAI5) provides an overview of the IRESinterface, along with some concrete resource types and resourcemanagers that illustrate the definition, management and use of newtypes of resources.Related DocumentationYou can use the following documents to supplement this user guide:ISO/IEC 14496-10:2005 (E) Rec. H.264 (E) ITU-T RecommendationAbbreviationsThe following abbreviations are used in this document.Table 1-1. List of Abbreviations Abbreviation DescriptionASO Arbitrary Slice OrderingAVCAdvanced Video Coding BIOSTI’s simple RTOS for DSPs CAVLCContext Adaptive Variable Length Coding CABACContext Adaptive Binary Arithmetic Coding D1 720x480 or 720x576 resolutions inprogressive scanDCT Discrete Cosine TransformDDRDouble Data Rate DMA Direct Memory AccessFC Framework componentsRead This Firstv Abbreviation DescriptionFMO Flexible Macro-block OrderingHD 720 or 720p 1280x720 resolution in progressive scanHDTV High Definition TelevisionHDVICP High Definition Video and Imaging Co-processor sub-systemIDR Instantaneous Decoding RefreshITU-T International Telecommunication UnionJM Joint MenuJVT Joint Video TeamMB Macro BlockMBAFF Macro Block Adaptive Field FrameMJCP MPEG JPEG Co-ProcessorMPEG Motion Pictures Expert GroupMV Motion VectorNAL Network Adaptation LayerNTSC National Television Standards CommitteePDM Parallel Debug ManagerPicAFF Picture Adaptive Field FramePMP Portable Media PlayerPPS Picture Parameter SetPRC Perceptual Rate ControlRTOS Real Time Operating SystemRMAN Resource ManagerSEI Supplemental Enhancement InformationSPS Sequence Parameter SetVGA Video Graphics ArrayVICP Video and Imaging Co-ProcessorXDAIS eXpressDSP Algorithm Interface StandardRead This Firstvi Abbreviation DescriptionXDM eXpressDSP Digital MediaYUV Color space in luminance andchrominance formNote:MJCP and VICP refer to the same hardware co-processor blocks.Text ConventionsThe following conventions are used in this document:Text inside back-quotes (‘‘) represents pseudo-code.Program source code, function and macro names, parameters, andcommand line commands are shown in a mono-spaced font.Product SupportWhen contacting TI for support on this codec, quote the product name(H.264 High Profile Encoder on DM365) and version number. Theversion number of the codec is included in the Title of the Release Notesthat accompanies this codec.TrademarksCode Composer Studio, DSP/BIOS, eXpressDSP, TMS320,TMS320C64x, TMS320C6000, TMS320DM644x, and TMS320C64x+ aretrademarks of Texas Instruments.All trademarks are the property of their respective owners.Contents Read This First (iii)About This Manual (iii)Intended Audience (iii)How to Use This Manual (iii)Related Documentation From Texas Instruments (iv)Related Documentation (iv)Abbreviations (iv)Text Conventions (vi)Product Support (vi)Trademarks (vi)Contents (vii)Figures (ix)Tables (xi)Introduction.....................................................................................................................1-11.1Software Architecture........................................................................................1-21.2Overview of XDAIS, XDM, and Framework Component Tools.........................1-21.2.1XDAIS Overview................................................................................................1-21.2.2XDM Overview...................................................................................................1-31.2.3Framework Component......................................................................................1-41.3Overview of H.264 High Profile Encoder...........................................................1-71.4Supported Services and Features.....................................................................1-9 Installation Overview......................................................................................................2-12.1System Requirements for NO-OS Standalone..................................................2-22.1.1Hardware............................................................................................................2-22.1.2Software.............................................................................................................2-22.2System Requirements for Linux........................................................................2-22.2.1Hardware............................................................................................................2-22.2.2Software.............................................................................................................2-22.3Installing the Component for NO-OS Standalone.............................................2-32.4Installing the Component for Linux....................................................................2-42.5Building the Sample Test Application for EVM Standalone...............................2-52.6Running the Sample Test Application on EVM Standalone..............................2-62.7Building and Running the Sample Test Application on LINUX..........................2-72.8Configuration Files............................................................................................2-82.8.1Generic Configuration File.................................................................................2-82.8.2Encoder Configuration File.................................................................................2-92.8.3Encoder Sample Base Param Setting.............................................................2-122.9Standards Conformance and User-Defined Inputs.........................................2-132.10Uninstalling the Component............................................................................2-13 Sample Usage..................................................................................................................3-13.1Overview of the Test Application.......................................................................3-23.1.1Parameter Setup................................................................................................3-33.1.2Algorithm Instance Creation and Initialization....................................................3-33.1.3Process Call.......................................................................................................3-4vii3.1.4Algorithm Instance Deletion...............................................................................3-53.2Handshaking Between Application and Algorithm.............................................3-63.2.1Resource Level Interaction................................................................................3-63.2.2Handshaking Between Application and Algorithms...........................................3-73.3Cache Management by Application...................................................................3-93.3.1Cache Usage By Codec Algorithm....................................................................3-93.3.2Cache Related Call Back Functions for Standalone..........................................3-93.3.3Cache and Memory Related Call Back Functions for Linux..............................3-93.4Sample Test Application..................................................................................3-11 API Reference..................................................................................................................4-14.1Symbolic Constants and Enumerated Data Types............................................4-24.1.1Common XDM Symbolic Constants and Enumerated Data Types...................4-24.1.2H264 Encoder Symbolic Constants and Enumerated Data Types....................4-74.2Data Structures.................................................................................................4-84.2.1Common XDM Data Structures..........................................................................4-84.2.2H.264 Encoder Data Structures.......................................................................4-214.3Interface Functions..........................................................................................4-314.3.1Creation APIs...................................................................................................4-324.3.2Initialization API................................................................................................4-344.3.3Control API.......................................................................................................4-354.3.4Data Processing API........................................................................................4-374.3.5Termination API...............................................................................................4-40 Time-Stamp Insertion....................................................................................................A-1A.1Description.......................................................................................................A-1 viiiFigures Figure 1-1. Software Architecture..................................................................................1-2 Figure 1-2. Framework Component Interfacing Structure..........................................1-5 Figure 1-3. IRES Interface Definition and Function-calling Sequence.......................1-6 Figure 1-4. Block Diagram of H.264 Encoder...............................................................1-9 Figure 2-1. Component Directory Structure for Standalone.......................................2-3 Figure 2-2. Component Directory Structure for Linux.................................................2-4 Figure 3-1. Test Application Sample Implementation..................................................3-2 Figure 3-2. Process Call with Host Release..................................................................3-4 Figure 3-3. Resource Level Interaction.........................................................................3-6 Figure 3-4. Interaction Between Application and Codec.............................................3-7 Figure 3-5. Interrupt Between Codec and Application................................................3-8 Figure 3-6. Cache Interaction Between Codec and Application.................................3-9ixThis page is intentionally left blankxTables Table 1-1. List of Abbreviations (iv)Table 2-1. Component Directories for Standalone.......................................................2-3 Table 2-2. Component Directories for Linux................................................................2-5 Table 3-1. process () Implementation..........................................................................3-11 Table 4-1. List of Enumerated Data Types....................................................................4-2xiThis page is intentionally left blankxiiChapter 1IntroductionThis chapter provides a brief introduction to XDAIS, XDM, and DM365software architecture. It also provides an overview of TI’s implementationof the H.264 High Profile Encoder on the DM365 platform and its supportedfeatures.Topic Page 1.1 Software Architecture1-21.2 Overview of XDAIS, XDM, and Framework Component Tools1-21.3 Overview of H.264 High Profile Encoder1-71.4 Supported Services and Features1-91-1Introduction1.1 Software ArchitectureDM365 codec provides XDM compliant API to the application for easyintegration and management. The details of the interface are provided inthe subsequent sections.DM365 is a digital multi-media system on-chip primarily used for videosecurity, video conferencing, PMP and other related application.DM365 codec are OS agonistic and interacts with the kernel through theFramework Component (FC) APIs. FC acts as a software interfacebetween the OS and the codec. FC manages resources and memory byinteracting with kernel through predefined APIs.Following diagram shows the software architecture. Linux KernelApplicationDM365 CodecsFramework ComponentCMEM APIs EDMA APIsCMEM CSL iMX SYNC APIs IRQ driver EDMA driverFigure 1-1. Software Architecture.1.2 Overview of XDAIS, XDM, and Framework Component ToolsTI’s multimedia codec implementations are based on the eXpressDSPDigital Media (XDM) standard. XDM is an extension of the eXpressDSPAlgorithm Interface Standard (XDAIS). IRES is a TMS320 DSP Algorithm Standard (xDAIS) interface for management and utilization of specialresource types such as hardware accelerators, certain types of memoryand DMA. RMAN is a generic Resource Manager that manages software component’s logical resources based on their IRES interface configuration. Both IRES and RMAN are Framework Component modules.1.2.1 XDAIS OverviewAn eXpressDSP-compliant algorithm is a module that implements theabstract interface IALG. The IALG API takes the memory managementfunction away from the algorithm and places it in the hosting framework.Thus, an interaction occurs between the algorithm and the framework. This1-2Introduction interaction allows the client application to allocate memory for the algorithmand share memory between algorithms. It also allows the memory to bemoved around while an algorithm is operating in the system. In order tofacilitate these functionalities, the IALG interface defines the followingAPIs:algAlloc()algInit()algActivate()algDeactivate()algFree()The algAlloc() API allows the algorithm to communicate its memoryrequirements to the client application. The algInit() API allows thealgorithm to initialize the memory allocated by the client application. ThealgFree() API allows the algorithm to communicate the memory to befreed when an instance is no longer required.Once an algorithm instance object is created, it can be used to processdata in real-time. The algActivate() API provides a notification to thealgorithm instance that one or more algorithm processing methods is aboutto be run zero or more times in succession. After the processing methodshave been run, the client application calls the algDeactivate() API priorto reusing any of the instance’s scratch memory.The IALG interface also defines two more optional APIs algNumAlloc()and algMoved(). For more details on these APIs, see TMS320 DSPAlgorithm Standard API Reference (SPRU360).1.2.2 XDM OverviewIn the multimedia application space, you have the choice of integrating anycodec into your multimedia system. For example, if you are building avideo decoder system, you can use any of the available video decoders(such as MPEG4, H.263, or H.264) in your system. To enable easyintegration with the client application, it is important that all codecs withsimilar functionality use similar APIs. XDM was primarily defined as anextension to XDAIS to ensure uniformity across different classes of codecs(for example audio, video, image, and speech). The XDM standard definesthe following two APIs:control()process()The control() API provides a standard way to control an algorithminstance and receive status information from the algorithm in real-time. Thecontrol() API replaces the algControl() API defined as part of theIALG interface. The process() API does the basic processing(encode/decode) of data. This API represents a blocking call for theencoder and the decoder, that is, with the usage of this API, the control isreturned to the calling application only after encode or decode of one unit(frame) is completed. Since in case of DM365, the main encode or decodeis carried out by the hardware accelerators, the host processor from which1-3Introductionthe process() call is made can be used by the application in parallel withthe encode or the decode operation. To enable this, the frameworkprovides flexibility to the application to pend the encoder task when theframe level computation is happening on coprocessor.Apart from defining standardized APIs for multimedia codecs, XDM alsostandardizes the generic parameters that the client application must passto these APIs. The client application can define additional implementationspecific parameters using extended data structures.The following figure depicts the XDM interface to the client application.Client ApplicationXDM InterfaceXDAIS Interface (IALG)TI’s Codec AlgorithmsAs depicted in the figure, XDM is an extension to XDAIS and forms aninterface between the client application and the codec component. XDMinsulates the client application from component-level changes. Since TI’smultimedia algorithms are XDM compliant, it provides you with the flexibilityto use any TI algorithm without changing the client application code. Forexample, if you have developed a client application using an XDM-compliant MPEG4 video decoder, then you can easily replace MPEG4 withanother XDM-compliant video decoder, say H.263, with minimal changesto the client application.For more details, see eXpressDSP Digital Media (XDM) Standard APIReference (literature number SPRUEC8).1.2.3 Framework ComponentAs discussed earlier, Framework Component acts like a middle layerbetween the codec and OS and also serves as a resource manager. Thefollowing block diagram shows the FC components and their interfacingstructure.1-4IntroductionFigure 1-2. Framework Component Interfacing Structure.Each component is explained in detail in the following sections.1.2.3.1 IRES and RMANIRES is a generic, resource-agnostic, extendible resource query,initialization and activation interface. The application framework defines,implements and supports concrete resource interfaces in the form of IRESextensions. Each algorithm implements the generic IRES interface, torequest one or more concrete IRES resources. IRES defines standardinterface functions that the framework uses to query, initialize,activate/deactivate and reallocate concrete IRES resources. To create analgorithm instance within an application framework, the algorithm and theapplication framework agrees on the concrete IRES resource types thatare requested. The framework calls the IRES interface functions, inaddition to the IALG functions, to perform IRES resource initialization,activation and deactivation.The IRES interface introduces support for a new standard protocol forcooperative preemption, in addition to the IALG-style non-cooperativesharing of scratch resources. Co-operative preemption allows activatedalgorithms to yield to higher priority tasks sharing common scratchresources. Framework components include the following modules andinterfaces to support algorithms requesting IRES-based resources:IRES - Standard interface allowing the client application to query andprovide the algorithm with its requested IRES resources.RMAN - Generic IRES-based resource manager, which manages andgrants concrete IRES resources to algorithms and applications. RMANuses a new standard interface, the IRESMAN, to support run-timeregistration of concrete IRES resource managers.Client applications call the algorithm’s IRES interface functions to query itsconcrete IRES resource requirements. If the requested IRES resource typematches a concrete IRES resource interface supported by the application1-5Introductionframework, and if the resource is available, the client grants the algorithmlogical IRES resource handles representing the allotted resources. Eachhandle provides the algorithm with access to the resource as defined by theconcrete IRES resource interface.IRES interface definition and function-calling sequence is depicted in thefollowing figure. For more details, see Using IRES and RMAN FrameworkComponents for C64x+ (literature number SPRAAI5).Figure 1-3. IRES Interface Definition and Function-calling Sequence.1.2.3.2 HDVICPThe IRES HDVICP Resource Interface, IRES_HDVICP, allows algorithmsto request and receive handles representing Hardware Acceleratorresource, HDVICP, on supported hardware platforms. Algorithms canrequest and acquire one of the co-processors using a single IRES requestdescriptor. IRES_HDVICP is an example of a very simple resource typedefinition, which operates at the granularity of the entire processor anddoes not publish any details about the resource that is being acquired otherthan the ‘id’ of the processor. It leaves it up to the algorithm to manageinternals of the resource based on the ID.1.2.3.3 EDMA3The IRES EDMA3 Resource Interface, IRES_EDMA3CHAN, allowsalgorithms to request and receive handles representing EDMA3 resourcesassociated with a single EDMA3 channel. This is a very low-level resourcedefinition.1-6。

相关文档
最新文档