Continuous video rotation on the IMX6

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

Continuous video rotation on the IMX6

跳至解决方案
1,889 次查看
anthony3
Contributor II

I'm trying to find out if it's possible to do continuous rotation of a video in real time using the IMX6, and if so could someone point me in the direction of some documentation on how to do that using gstreamer. 

We're currently capturing a 1080p video @30. 

I've had little to no luck with sinking to imxeglvivsink, when I try to do this I get a response of "the pipeline doesn't want to PAUSE" and gstreamer exits. I have no trouble streaming to imxipuvideosink or imxv4l2videosink, however I don't believe either of these are capable of doing continuous rotation.

Any help would be greatly appreciated, thank you!

标签 (2)
标记 (3)
1 解答
1,750 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Anthony,

The issue is the gstreamer that can not hold 1080p rotation.

Regards

在原帖中查看解决方案

4 回复数
1,750 次查看
cphealy1
Senior Contributor I

With the i.MX6 you should be able to achieve video rotation if you use the 3D GPU for rendering.  Once the videos are imported into the 3D GPU, you should be able to render any which way you want.  Here's an example of what I've done with the i.MX6qp with a 1080p display:

https://www.youtube.com/watch?v=a4duL9IdldY

The movie in the upper left corner is a 1080p video.  The rest of the videos are 480p or 720p.  We did have to increase the VPU frequency to achieve this as the VPU becomes the bottleneck otherwise.

The way we used the 3D GPU for video was to do everything through Qt, so in Qt we are using gstreamer and gstreamer is sinking to a texture that Qt renders.

0 项奖励
回复
1,750 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Anthony,

Rotation on i.MX 6 with VPU is not supported for interlaced streams whose width or height is larger than 968 x 968
when enabled deinterlacing due to a driver limitation.

Regards

0 项奖励
回复
1,750 次查看
anthony3
Contributor II

Hi Bio_TICFSL,

The stream coming into the IMX-6 is YUV 422, so it doesn't require any further deinterlacing. If I were to not turn on deinterlacing would it then be possible? 

Thanks,

0 项奖励
回复
1,751 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Anthony,

The issue is the gstreamer that can not hold 1080p rotation.

Regards