GStream show image problem

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

GStream show image problem

跳至解决方案
1,994 次查看
shimonfiltzer
Contributor II

I tried show image on my evaluation board iMx6q as recommended at GStreamer i.MX6 Image Display

by using command: VSALPHA=1 gst-launch filesrc location=sample.jpeg ! jpegdec ! imagefreeze ! mfw_isink

and it show b/w images only. When I tried to show some color image I got message:

can not create threadmfw_gst_isink_setcaps:1489

and source fmt error.


Some idea to resolve the problem?

Thanks, Shimon

标记 (2)
0 项奖励
回复
1 解答
1,380 次查看
shimonfiltzer
Contributor II

Ok, problem found.

Image resolution must be divisible by 8 pixels.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,381 次查看
shimonfiltzer
Contributor II

Ok, problem found.

Image resolution must be divisible by 8 pixels.

0 项奖励
回复
1,380 次查看
jamesbone
NXP TechSupport
NXP TechSupport

LeonardoSandovalGonzalez, can you please  give a comment on this topic?

0 项奖励
回复
1,380 次查看
LeonardoSandova
Specialist I

Shimon, what do you mean by b/w images? Seems that you did two tests, using a different JPEG file on each. what was the difference between these two? Before running the pipeline, enable logs (GST_DEBUG=*:2), and post the console's output.

Leo

0 项奖励
回复
1,380 次查看
shimonfiltzer
Contributor II

Hello!

b/w image, it mean black white image.

From Terminal:

VSALPHA=1 gst-launch filesrc location=sample.jpeg ! jpegdec ! imagefreeze ! mfw_isink
set color key                                                                                                                                        
MFW_GST_ISINK_PLUGIN 3.0.9 build on Jan  1 2014 21:14:49.                                                                                            
Setting pipeline to PAUSED ...                                                                                                                       
Pipeline is PREROLLING ...                                                                                                                           
hwbuf allocator zone(372736) created                                                                                                                 
can not create threadmfw_gst_isink_setcaps:1489                                                                                                      
Pipeline is PREROLLED ...                                                                                                                            
Setting pipeline to PLAYING ...                                                                                                                      
New clock: GstSystemClock                                                                                                                            
source fmt error                                                                                                                                     

source fmt error  

Have a nice day.

Shimon

0 项奖励
回复