libvpu: How to set sliceMode & sliceSize to fit into ethernet RTP payload?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

libvpu: How to set sliceMode & sliceSize to fit into ethernet RTP payload?

1,249 次查看
salado
Contributor I

All,

We are doing a video application for transmitting VPU encoded H.264 data through RTP.

Our encoder setting for the slicing:

1. sliceMode = 1 (more than one slices for one frame)

2. sliceSizeMode = 0 (slice size in bits)

3. sliceSize = 1400 * 8

The VPU did output one frame with multiple slices. But the size of each slice is not controlled under 1400 bytes.

Is there anything else needs to be set to perform this?

Thanks!

标签 (2)
标记 (4)
0 项奖励
回复
3 回复数

472 次查看
rvanbrenk
Contributor I

Is the above method working for H264 using imx8mm hantro vpu?

I do not see multiple slices generated when I set:

sliceMode.sliceMode = 1;

sliceMode.sliceSizeMode = 0;

sliceMode.sliceSize = 9000;

标记 (1)
0 项奖励
回复

913 次查看
salado
Contributor I

bump... Anybody can help?

0 项奖励
回复

913 次查看
donfreiling
Contributor III

I am also interested in the answer to this. I am currently using the same approach on the i.MX27 and it is working well. One difference is that I am setting sliceSize = 9000 to account for overhead and to add some margin. I am just now moving to the i.MX6SL and I'm counting on this mechanism to work

0 项奖励
回复