Coder Social home page Coder Social logo

hi3521dv100-'s Introduction

Hi3521DV100

720p camera used. H264BSAnalyzer is recommeded to analyse the coded H264 file

1. H264 stream process:

Open sample_vio.c; The main process flowVI->VENC->VPSS->VDEC->VO

2. Hi3521 Performance compared with Intel QSV, KungPeng920

command: QSVEncC64 --fps 25 --input-res 1280x720 --qvbr 1040 -i "AVBR.yuv" -o "AVBR.h264"

dependency: Intel HD Graphics 520;Media SDK Hardware API v1.19;QSVEnc 3.33

command: ffmpeg -f rawvideo -pix_fmt yuv420p -s 1280x720 -r 25 -i 6_AVBR.yuv -c:v libx264 -f rawvideo out2_AVBR.h264

dependency: ffmpeg4.2.1;x264 ENClibrary

image

Result:

The H264 encoding done by ffmpeg on the Kunpeng 920 differs from the frame structure of the Hi3521 encoded file, firstly, its entropy encoding method is CABAC, the bit rate of CABAC saves 5%-14% compared to CAVLC, and the bit rate saving increases with the increase of quantization step. its computational resource consumption is acceptable on server-level CPUs.

Kunpeng 920

Hi3521

GPU encoding provides separate image information PPS and SEI for each frame's pixel matrix, thanks to its suitability for computationally intensive tasks, but because of the low performance of control-intensive tasks during video encoding (slow exchange between GPU and computer main memory), QSV also does not make the work pipeline between CPU and GPU. it shows low performance of control-intensive tasks in the video encoding process.

QSV

3. H264toRTPsend / RTPtoH264recv:

send command: ./send_h264file_rtp -t|u [send via tcp(default) or udp] [h264filename] [IP]127.0.0.1 [PORT]1234

recv command: ./recv [save filename] [PORT]

hi3521dv100-'s People

Contributors

zdszx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.