GStream show image problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GStream show image problem

Jump to solution
1,496 Views
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

Tags (2)
0 Kudos
1 Solution
882 Views
shimonfiltzer
Contributor II

Ok, problem found.

Image resolution must be divisible by 8 pixels.

View solution in original post

0 Kudos
4 Replies
883 Views
shimonfiltzer
Contributor II

Ok, problem found.

Image resolution must be divisible by 8 pixels.

0 Kudos
882 Views
jamesbone
NXP TechSupport
NXP TechSupport

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

0 Kudos
882 Views
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 Kudos
882 Views
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 Kudos