Unable to play video in fb1 framebuffer using gstreamer plugin in L4.9.11 release

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

Unable to play video in fb1 framebuffer using gstreamer plugin in L4.9.11 release

3,711 Views
balasubramaniyam
Contributor II

Hi,

 

I am using the yocto Morty release and Linux 4.9 kernel, in that I am trying to play video in fb1 framebuffer using Gstreamer plugin.

I can able to play the video in fb1 framebuffer before using "imxv4l2sink", but after using the "imxv4l2sink" gstreamer plugins I can't able to play video in fb1 framebuffers by using "fbdevsink".

  • Playing video by using imxv4l2sink:
    gst-launch-1.0 filesrc location=/media_files/test_play.mp4 ! decodebin !  imxv4l2sink

  • Playing video in fb1 by using fbdevsink:
    echo 0 > /sys/class/graphics/fb1/blank
    fbset -fb /dev/fb1 -xres 1920 -yres 1080  
    gst-launch-1.0 filesrc location=/media_files/test_play.mp4 ! decodebin ! videoconvert ! fbdevsink device=/dev/fb1

Why this Gstreamer behaviour is irregular?

Hoping for better guidance .

 

 

Best regards,

Bala

Labels (4)
0 Kudos
Reply
2 Replies

2,750 Views
balasubramaniyam
Contributor II

HI Joan,

I'm using customized camera application for local streaming, it can only able to stream camera in video17(fb1 framebuffer) node.

In that case if I run the imxv4l2videsink Gstreamer plugins then I can't able to run the camera application.

And I also have some issue while streaming 3.5MP(2304x1536) resolution in imxv4l2sink plugins.

Best Regards,

Bala

0 Kudos
Reply

2,750 Views
joanxie
NXP TechSupport
NXP TechSupport

why do you need to use v4l2sink first then use fbdevsink? how about use

gst-launch-1.0 filesrc location=/media_files/test_play.mp4 ! decodebin !  imxv4l2sink device=/dev/fb1

0 Kudos
Reply