Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample_vi_fd - change RTSP resolution to 1080p #1

Open
piotr-defendeye opened this issue Apr 9, 2024 · 0 comments
Open

sample_vi_fd - change RTSP resolution to 1080p #1

piotr-defendeye opened this issue Apr 9, 2024 · 0 comments

Comments

@piotr-defendeye
Copy link

piotr-defendeye commented Apr 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant