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,245件の閲覧回数
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 返答(返信)

468件の閲覧回数
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 件の賞賛
返信

909件の閲覧回数
salado
Contributor I

bump... Anybody can help?

0 件の賞賛
返信

909件の閲覧回数
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 件の賞賛
返信