Giter Club home page Giter Club logo

cvitek-tdl-sdk-cv180x's People

Contributors

carbonfix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cvitek-tdl-sdk-cv180x's Issues

sample_vi_fd - change RTSP resolution to 1080p

Hi,
I attempted to change the RTSP resolution in sample_vi_fd by modifying the following structure:

SIZE_S stVencSize = {
      .u32Width = 1920,
      .u32Height = 1080,
  };

However, after running on Duo64, I get the following output:

---------VPSS[0]---------
Input size: (1920x1080)
Input format: (19)
VPSS physical device number: 1
Src Frame Rate: -1
Dst Frame Rate: -1
  --------CHN[0]-------
  Output size: (1920x1080)
  Depth: 1
  Do normalization: 0
      Src Frame Rate: -1
      Dst Frame Rate: -1
  ----------------------
  --------CHN[1]-------
  Output size: (1920x1080)
  Depth: 1
  Do normalization: 0
      Src Frame Rate: -1
      Dst Frame Rate: -1
  ----------------------
------------------------
Bind VI with VPSS Grp(0), Chn(0)
Attach VBPool(0) to VPSS Grp(0) Chn(0)
Attach VBPool(1) to VPSS Grp(0) Chn(1)
Initialize VENC
venc codec: h265
venc frame size: 1920x1080
Initialize RTSP
rtsp://192.168.86.44/h265
prio:0
anchor:-8,-8,8,8
anchor:-16,-16,16,16
bbox:bbox_8_Conv_dequant
landmark:kps_8_Conv_dequant
score:score_8_Sigmoid_dequant
anchor:-32,-32,32,32
anchor:-64,-64,64,64
bbox:bbox_16_Conv_dequant
landmark:kps_16_Conv_dequant
score:score_16_Sigmoid_dequant
anchor:-128,-128,128,128
anchor:-256,-256,256,256
bbox:bbox_32_Conv_dequant
landmark:kps_32_Conv_dequant
score:score_32_Sigmoid_dequant
Enter TDL thread
Enter encoder thread
0 R:1165 B:3087 CT:2688
1 R:1464 B:2327 CT:3937
2 R:1974 B:1613 CT:7225
Golden 1464 1024 2327
CVI_VENC_SendFrame failed! -1
Send Output Frame NG, ret=ffffffff
Exit encoder thread
Exit TDL thread
destroy middleware

Should I change anything else to get 1080p RTSP stream instead of the default 720p? @carbonfix

sample_vi_fd confuses VLC and Celluloid

Hello,
sample_vi_fd should not start responding to the connecting clients until it can send an I-frame, currently it sends whatever it has in buffer at moment of connecting and that make VLC and Celluloid video players to abort and disconnect.
Issue present in 1.1.1 and current devel (2024.05.02).
The stream could only be played by ffplayer, part of ffmpeg package that is more tolerant to bad input.
This produces issue #98 in the duo-buildroot-sdk.

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.