imx6 and gstreamer: does anyone know how to set the color balance?

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

imx6 and gstreamer: does anyone know how to set the color balance?

1,355 Views
simon_cai
Contributor III

Dears:

does anyone know how to set the color balance based imx6 & gstreamer?

(setting the video "CONTRAST" " BRIGHTNESS" and so on)

I try 3 way to test the pipeline "videobalance" as belowing:

1, use the default value of videobalance:

.....! vpudec ! videobalance  ! mfw_isink....

test result : every thing goes well.

2. static way to set the videobalance (no default value)

.....! vpudec ! videobalance brightness=0.5 contrast=1.1 ! mfw_isink....

test result: high cpu loading(about 60% in one of cpu core), and the fps of the playing video is very low.


3. Dynamic way to set the videobalance based on gstreamer C api.

as the URI show http://docs.gstreamer.com/display/GstSDK/Playback+tutorial+5%3A+Color+Balance

test result:

     a) goes well in my ubuntu PC.

     b) in imx6: it can play the webm source based HTTP profile. but when setting the "contrast" "brightness" of video, it fail !

          and tell some error!


dear all and fsl people, would you pls help to give some advices.what i Actually need is : I s there any way to set the colorbalance(contrast and brightness) of video or the whole screen?  (beside of gstreamer function, is there other way to set the colorbalance?)


thanks so much!


baihui

ADV

Labels (4)
0 Kudos
2 Replies

602 Views
LeonardoSandova
Specialist I

For your point 3, could you post the error log you are seeing and the pipeline?

Leo

0 Kudos

602 Views
simon_cai
Contributor III

hi Leo

Thanks for your reply. when I am back to office, I will post the log and the pipeline ASAP.

thank you!

bateman

0 Kudos