An error occurs when a Ffmpeg+mediamtx.exe stream is pushed to the network port VLC based on the MIP

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

An error occurs when a Ffmpeg+mediamtx.exe stream is pushed to the network port VLC based on the MIP

1,974 次查看
ximenbingmeng
Contributor IV

We are using the Ffmpeg(FFmpeg5.1.2)+mediamtx.exe stream push to the network port solution, in which the USB camera can push the stream to VLC, but the MIPI camera pushes the following error:

ximenbingmeng_0-1724814143575.png

 


The ingest command is as follows:
#MIPI camera
ffmpeg -re -i /dev/video0 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -rtsp_transport tcp -f rtsp rtsp://192.168.1.12:8554/stream
#USB camera
ffmpeg -re -i /dev/video1 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -rtsp_transport tcp -f rtsp rtsp://192.168.1.12:8554/stream


The OV5640 camera on the MIPI-CSI interface can be previewed, and the MIPI-CSI interface can be called through the gst-rtsp-server solution to push streams to the network port. Please help to divide the reason for the error, thank you!

0 项奖励
回复
2 回复数

1,184 次查看
Vijay_hegde
Contributor II

@ximenbingmeng 

Can I know what how you are streaming. I am stuck with GStreamer and mediamtx.
if possible can you say the setup made

 

0 项奖励
回复

1,932 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Here is the supported format in csi bridge.

static struct mx6s_fmt formats[] = {
	{
		.name		= "UYVY-16",
		.fourcc		= V4L2_PIX_FMT_UYVY,
		.pixelformat	= V4L2_PIX_FMT_UYVY,
		.mbus_code	= MEDIA_BUS_FMT_UYVY8_2X8,
		.bpp		= 2,
	}, {
		.name		= "YUYV-16",
		.fourcc		= V4L2_PIX_FMT_YUYV,
		.pixelformat	= V4L2_PIX_FMT_YUYV,
		.mbus_code	= MEDIA_BUS_FMT_YUYV8_2X8,
		.bpp		= 2,
	}, {
		.name		= "YUV32 (X-Y-U-V)",
		.fourcc		= V4L2_PIX_FMT_YUV32,
		.pixelformat	= V4L2_PIX_FMT_YUV32,
		.mbus_code	= MEDIA_BUS_FMT_AYUV8_1X32,
		.bpp		= 4,
	}, {
		.name		= "RAWRGB8 (SBGGR8)",
		.fourcc		= V4L2_PIX_FMT_SBGGR8,
		.pixelformat	= V4L2_PIX_FMT_SBGGR8,
		.mbus_code	= MEDIA_BUS_FMT_SBGGR8_1X8,
		.bpp		= 1,
	}
};



Best Regards
Zhiming

0 项奖励
回复