[mfw_isink]What is this problem (vssconfig-->format=RGB3)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[mfw_isink]What is this problem (vssconfig-->format=RGB3)

ソリューションへジャンプ
1,492件の閲覧回数
tongchunyang
Contributor III

Dear FSL All

I have met a problem about playing videos by gst-fsl-plugin mfw_isink.

The Detail just like below.

1, OK playing status image with vssconfig-->format=RGBP by mfw_isink

------------------------------------------------------------------------------------------------

① /usr/share/vssconfig

  # vss device definition

  # Master=DVI, Slave=TV

  # please add "video=video=mxcdi1fb:YUV444,720P60 video=mxcdi0fb:RGB24,1024x768M-16@60" to kernel startup command line

  # master display

  [master]

  type = framebuffer

  format = RGBP

  fb_num = 1

  main_fb_num = 0

② /root/test.sh script

  #! /bin/sh

    export VSALPHA=1

    gst-launch filesrc location=WhereTheHellIsMatt_720p.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_isink axis-top=100 axis-left=100 disp-width=800 disp-height=600

imageFile.jpg

2, Flickering playing status image with vssconfig-->format=RGB3 by mfw_isink

------------------------------------------------------------------------------------------------

① /usr/share/vssconfig

  # vss device definition

  # Master=DVI, Slave=TV

  # please add "video=video=mxcdi1fb:YUV444,720P60 video=mxcdi0fb:RGB24,1024x768M-16@60" to kernel startup command line

  # master display

  [master]

  type = framebuffer

  format = RGB3

  fb_num = 1

  main_fb_num = 0

② /root/test.sh script

  #! /bin/sh

    export VSALPHA=1

    gst-launch filesrc location=WhereTheHellIsMatt_720p.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_isink axis-top=100 axis-left=100 disp-width=800 disp-height=600

imageFile.jpgimageFile.jpg

Who can tell me what is the reason about this problem for mfw_isink?

1, When playing the video with screen size set over 640x480(include this size), it must be flickering or strange color.

2, When playing the video screen screen size set less than 640x480, it palys normally and with correct color.

The gst-fsl-plugins' version is 3.0.7

ラベル(5)
0 件の賞賛
返信
1 解決策
791件の閲覧回数
tongchunyang
Contributor III

Could anyone help for this problem?

All right.

I have just fixed this problem

Reason:      mfw_gst_vss_common.c can not supply to convert the RGB24(RGB3) to correct pixel format.

File:            gst-fsl-plugins-3.0.7/libs/vss/mfw_gst_vss_common.c

Function:     int fmt2bit (unsigned long fmt)

Fixing:        Line 147 adding

                 case IPU_PIX_FMT_RGB24:  // added by TongChunyang for fixing the problem of vssconfig set as RGB3

Evidence:

1, bug status log

Before Fix.png

2, fixed status log

After Fix.png

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
792件の閲覧回数
tongchunyang
Contributor III

Could anyone help for this problem?

All right.

I have just fixed this problem

Reason:      mfw_gst_vss_common.c can not supply to convert the RGB24(RGB3) to correct pixel format.

File:            gst-fsl-plugins-3.0.7/libs/vss/mfw_gst_vss_common.c

Function:     int fmt2bit (unsigned long fmt)

Fixing:        Line 147 adding

                 case IPU_PIX_FMT_RGB24:  // added by TongChunyang for fixing the problem of vssconfig set as RGB3

Evidence:

1, bug status log

Before Fix.png

2, fixed status log

After Fix.png

0 件の賞賛
返信