How to run rtsp server with multicast on i.mx8mmini

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

How to run rtsp server with multicast on i.mx8mmini

1,164 Views
santhosh2
Contributor IV

Hi,

i was able to run the rtsp server using the below command,

gst-variable-rtsp-server -p 554 -u "v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! videoconvert ! vpuenc_h264 tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay pt=96 name=pay0"

This works like uni-cast on the network, but i want to enable the multicast feature in the rtsp streaming. Let me know how to create the pipe for Multicast group ip, multicast port number and ttl

Regards

Santhosh Kumar S

0 Kudos
3 Replies

970 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Are you willing to composite many streaming videos into one video output? If that is the case, I suggest you see the section 7.3.16 of the Linux reference manual.

Best regards,

Diego.

0 Kudos

970 Views
santhosh2
Contributor IV

Hi,

Thanks i checked the manual as you suggested, but I am trying RTSP stream and enable multicasting for port forwarding purpose. I want to stream on Multicast IP address and multicast group port num

Do let me know how to can we do

Regards

Santhosh

0 Kudos

970 Views
diegoadrian
NXP Employee
NXP Employee

Hello

Have you tried starting a VLC server with a Multicast IP address?

Try adding the VLC support as below in the local.conf:

IMAGE_INSTALL_append += " libdvcss"

Best regards,

Diego.

0 Kudos