VLM • Re: Mosaic from MJPEG sources in VLC



Hello all,

This previous post is over 11 years old but I find myself having the same problem:

1) Background
Because my cable provider has a Roku app to watch live tv I have Roku TVs and devices throughout the house.
I’m using IP Camera Viewer Pro on the Roku to monitor four CCTV cameras hooked to an NVR.
The NVR offers RTSP streams for each camera which allows me to stream them into VLC.
The Roku app, even though says it supports RTSP, cannot view those streams directly. It DOES support HTTP and MJPEG format.
I setup AgentDVR to intercept the RTSP feeds and offer MJPEG over HTTP to the Roku app and this works, but AgentDVR is a CPU hog and constantly maxes out the CPU of the PC I’ve got it on (8 cores, 16GB RAM).
I’ve been able to setup four instances of VLC with a Windows batch command to shell the four instances to offer HTTP feeds for each RTSP stream, and that works with low CPU utilization.

2) My problem
I’d like to be able to just have one mosaic of all four camera feeds that could be delivered to the Roku app by MJPEG over HTTP so I only have one instance of VLC providing what I need. This could work for browsers as well.

I’m having a lot of trobule getting the background output configured properly to offer up the appropriate feed. I can get it to offer ts over RTP which I got from one example, but I can’t figure out the right #transcode to offer MPJPEG over http. The above example does not work.

Can anyone steer me in the right direction? The Google has not been very helpful!

aTdHvAaNnKcSe <– thanks in advance,

RussLB

Statistics: Posted by russlb — 28 May 2024 14:58