Recording Multiple Streams in to one file.

64 views
Skip to first unread message

Dhimant Bhayani

unread,
Mar 12, 2021, 5:51:06 AM3/12/21
to ant-medi...@googlegroups.com
Is it possible to record a SS stream with Multiple Audio tracks (each having its own stream ID) in to a single recorded file?

Ideally, we would like to provide a list of audio streams to combine and record.

Thx.


Sent from my iPhone

Selim Emre

unread,
Mar 12, 2021, 6:41:21 PM3/12/21
to Ant Media Server
Hi Ash,

Have a good day. 

Sorry, I couldn't understand it clearly. What does "SS stream" mean?
You can merge your streams after the record is ended. Here is the sample FFmpeg code:
ffmpeg -i INPUT1 -i INPUT2 -i INPUT3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 OUTPUT


I hope, I could help you.

Best Regards,
Selim

Dhimant Bhayani

unread,
Mar 13, 2021, 12:41:45 AM3/13/21
to Selim Emre, Ant Media Server
Hello Selim,

Thank you for the link below. SS means screen sharing. 

Is there a way to provide an API so we can specify what files (by stream ID) to merge after recording is complete?

Going on server to do it manually is not user friendly.

Thx.

Dhimant 


Sent from my iPhone

On Mar 12, 2021, at 3:41 PM, Selim Emre <selime...@gmail.com> wrote:

Hi Ash,
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/1787da08-36d5-47d5-836f-0510f6d15680n%40googlegroups.com.

Selim Emre

unread,
Mar 14, 2021, 7:37:21 PM3/14/21
to Ant Media Server
Hi Ash,

We have User-Defined script feature. This feature may help your issue. When a record is finished, Ant Media Server can run your specific script. Here is the detailed guide: https://github.com/ant-media/Ant-Media-Server/wiki/User-defined-Scripts

I hope, I could help you.

Best Regards,
Selim
Reply all
Reply to author
Forward
0 new messages