gstream is not show on APP

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

gstream is not show on APP

464 Views
billwu
Contributor I

Dear Sir,

platform :IMX8mm DDR4

Kernel:Linux imx8mmevk 5.4.47-lts-lf-5.4.y+g88b2efd7d692 #1 SMP PREEMPT Tue Sep 28 02:56:42 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux.

Situation:

IMX8mm is host and IP set to 192.168.0.3.

The camera catch image to host via the USB interface.

The host throws stream to phone(Android APP) via wifi.

I use this command to IMX8mm but APP does not show image.

Below is our command:

gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw,format=(string)YUY2,width=640,height=480,framerate=(fraction)30/1' ! tcpserversink host=192.168.0.3 port=5000

Could you please help me confirm the command?

 

B.R.

Bill

0 Kudos
2 Replies

459 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello bilwu,

 

The command is ok, but you should test your camera is really is on video1, take in mind that MX8M do not support YUY2 videos.

Regards

0 Kudos

451 Views
billwu
Contributor I

Dear Sir,

1.I use this command and he shows image via hdmi port on panel so video is ok.

gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw,format=(string)YUY2,width=640,height=480,framerate=(fraction)30/1' ! waylandsink

2.Do you mean use below command.

gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw,width=640,height=480,framerate=(fraction)30/1' ! tcpserversink host=192.168.0.3 port=5000

3.And I use VLC player on PC , it still not show image.

4.Could you share free android APP that show Gstreamer image.

Or another information.

5.Could you provide a way to verify network (imx8mm to APP or imx8mm to  VLC on PC).

I appreciate your help very much.

 

Below is imx8mm log:

root@imx8mmevk:~/driver_5.4# gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x
x-raw,width=640,height=480,framerate=(fraction)30/1' ! tcpserversink host=192.168
.0.3 port=5000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

 

 

B.R.

Bill

0 Kudos