Multiple (moving) viewport to multiple stream

About encoding, codec settings, muxers and filter usage
berge
New Cone
New Cone
Posts: 5
Joined: 26 Nov 2016 14:17

Multiple (moving) viewport to multiple stream

Postby berge » 26 Nov 2016 19:27

Hello!

I'd like to stream multiple portion of one video source into multiple out streams. It sounds strange, but here is an explanation image:
Image

So there are two viewport (#1 and #2) and I'd like to stream of this to viewport into two different out stream.

But the task is a bit more complicated, because of these viewports are moving during the streaming
ImageImageImage

I need to move viewports like an animation ... for example along a spline path. The viewport's dimension not changing by the time only the position.

My questions:
#1 Could libvlc streaming two stream from one source by viewports?
#2 Could i reconfigure the viewports position during the streaming without flickering or lagging?

berge
New Cone
New Cone
Posts: 5
Joined: 26 Nov 2016 14:17

Re: Multiple (moving) viewport to multiple stream

Postby berge » 03 Dec 2016 13:16

Is this task mission impossible?

What if i just give up the viewports movements and streaming only the standing viewport streams synchronized?

berge
New Cone
New Cone
Posts: 5
Joined: 26 Nov 2016 14:17

Re: Multiple (moving) viewport to multiple stream

Postby berge » 06 Dec 2016 21:17

Ok, I give up the movements thing.

Now I have viewports with fixed position and sizes.

I've sliced the original video into more videos with "cropping" : vfilter=croppadd{croptop=490,cropbottom=490,cropleft=760,cropright=760}

Every video send through RTP stream in a local network:

Code: Select all

new c0 broadcast enabled loop setup c0 input channel0.mp4 setup c0 output ... new c1 broadcast enabled loop setup c1 input channel1.mp4 setup c1 output ... blablabla... control c0 play control c1 play ...
How can I syncronized c0,c1,... media streams?

I read about "network synch"(?) modul in VLC 1.xxx(?) but i can't find in VLC 2.2.4...


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 37 guests