Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-28 Thread Stephan Monecke
I just spent two hours unsuccessfully trying to get the given example to work. zmqsend <<<"lumakey@toggle tolerance 0" never terminates. I guess, nothing is more permanent than a temporary solution ... Cheers, Stephan P.s. The zmq example given in the docs directly segfaults for me with a

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-27 Thread Stephan Monecke
That looks really interesting! Thanks a lot, I'll have a look at it! Besides daily checking, I managed to overlook ALL the replies ... sorry for my late answer and thanks a lot for yours! OBS is not an option since everything is done automatically / from command-line (and afaik OBS transcodes

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi, > That works only under Linux, right? It seems libzmq is not enabled in the > FFmpeg build for Windows from Zeranoe. FFmpeg would need to have been built with 0mq support but I'm almost sure there are windows versions of the library, client and server. Any way to send commands to a filter

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Michael Koch
Am 24.04.2020 um 21:56 schrieb Edward Park: Hi, How can this be done with FFmpeg? Do you have an example? I know how commands / sendcmd works. The opacity could be toggled, or the streamselect filter could be used. But where does the switching signal come from, while FFmpeg is running? The

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi, > How can this be done with FFmpeg? Do you have an example? I know how commands > / sendcmd works. The opacity could be toggled, or the streamselect filter > could be used. But where does the switching signal come from, while FFmpeg is > running? The specific messaging protocol/method

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Michael Koch
Am 24.04.2020 um 20:08 schrieb Edward Park: I would now like to add stream2 as second video input and switch between stream1 and stream2 back and forth without interrupting the audio. Both streams are identical / come from identical cameras. Is there any sane way to do this with ffmpeg? Or how

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Edward Park
Hi, > I would now like to add stream2 as second video input and switch > between stream1 and stream2 back and forth without interrupting the > audio. Both streams are identical / come from identical cameras. > > Is there any sane way to do this with ffmpeg? Or how would you > recommend doing it?

Re: [FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Carl Zwanzig
On 4/24/2020 1:50 AM, Stephan Monecke wrote: Is there any sane way to do this with ffmpeg? Or how would you recommend doing it? You need something like OBS Studio (free, works well) to do this. z! ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] change inputs or mapping while recording

2020-04-24 Thread Stephan Monecke
Hey! I have two identical rtsp video-sources stream1, stream2 and an audio source. I currently merge stream1 with the audio for a rtmp-server using: stream1="rtsp://streamurl1" /usr/bin/ffmpeg\ [...] -i "$stream1" \ [...] -itsoffset