Multi-View .vlm rtp output

Perhaps it’s like channels and the mux= TS overrides the #transcode{vcodec=mp4v,vb=0,fps=60

no it just packages the mp4 stream into an mpeg-ts container.

1 Like

Exactly. Just like you can use VLC to record a H.264 Video to an MP4 or MPEG-TS container format.

All I’m saying is that it doesn’t respect this fps setting in the transcode line.


#transcode{vcodec=mp4v,vb=0,fps=30

It only uses this line for the output fps


setup bg option image-fps=60/1

Curious why you are using a 720 mosaic instead of a 1080? I just posted the 1920x1080 background.jpg in my original post for easy download if you want to try it.

I assumed it was less resource intensive is all. I should change it. Channels outputs at native resolution so doesn't even respect this setting anyway.

Does it not down convert 1080 channels to 720 when the background image is 720? By choosing a 1080 background it outputs 1080 for me. I guess I would rather it up convert 720s than down convert the 1080 channels.

If I have time today I’m going to play with some of your audio settings recommendations.

I haven't even paid attention to the resolution of the actual background image. Haha.

Sorry for being the idiot here but what do I do with this vlm file to use it?

A quick run down.

  1. Download the .jpg file in post 1. Name it bg.jpg
  2. Create a file and place the code from post 1 and name it Multi4.vlm
  3. Change the ip address in the file to match your server ip. If you are running this on the same machine as the dvr you can leave the 127.0.0.1 ip address. Change the code to reflect the path to bg.jpg
  4. Change the channel numbers to the streams you want to watch. Choose the stream you want the audio from and use that for stream 2.
  5. Download and install VLC.
  6. In terminal run

vlc --vlm-conf multi4.vlm

This will launch VLC and if everything is set up correctly will show the multi screen in the VLC player. When the VLC player is closed the terminal process is stopped. Obviously the process needs to be running for channels to stream it.

Head over to channels and add the stream as a custom source. Run the above command to start the stream and then tune in with channels.

It seems to me that it would be a good addition to:

That's for the creation of the custom channel.

Then a new action in OliveTin to start the stream.

@bnhf :wink:

I’d love to see something like a docker container running this with a web page I can bookmark in my mobile browser. The web page could have 4 fields to plug in channel numbers and a launch button. When the web browser is closed it kills the process to save cpu processing. Coding something like this is way over my head.

I don’t know what @babsonnexus vision is or how far along he is in development. You guys @mjitkop and @bnhf might get with him if you are interested in it.

Didn't really want to post anything yet, but I've done some preliminary testing with different approaches than what you've outlined, although with similar results. Haven't been at it in a bit, but will get back to it. Was working on some proof of concept and performance improvement stuff first before moving it into the main code. However, it will be tightly integrated with PLM and make sure you don't have to put anything in manually aside from selecting what stations you want and some other details that I'll entail at a later date. Basically, it will only run when called upon in a request from Channels (or whatever) and be 100% self-contained without the need for outside tools and software.

I certainly wouldn't stop anyone from implementing their own version, though I've got a larger plan I'm working through.........

2 Likes

message me if you want a tester that will provide feedback :slight_smile:

sounds amazing any way you slice it :slight_smile:

same here! :heart_eyes:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.