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

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

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

1,377 次查看
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

标签 (4)
0 项奖励
2 回复数

624 次查看
LeonardoSandova
Specialist I

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

Leo

0 项奖励

624 次查看
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 项奖励