Ash Posted March 12, 2021 Share Posted March 12, 2021 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 Link to comment Share on other sites More sharing options...
0 Selim Emre Posted March 12, 2021 Share Posted March 12, 2021 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 https://superuser.com/questions/644768/how-to-merge-audio-using-ffmpeg-not-concat https://stackoverflow.com/questions/14498539/how-to-overlay-downmix-two-audio-files-using-ffmpeg I hope, I could help you. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Ash Posted March 13, 2021 Author Share Posted March 13, 2021 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 <selimemretoy@gmail.com> wrote: 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 https://superuser.com/questions/644768/how-to-merge-audio-using-ffmpeg-not-concat https://stackoverflow.com/questions/14498539/how-to-overlay-downmix-two-audio-files-using-ffmpeg I hope, I could help you. Best Regards, Selim -- 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-server+unsubscribe@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. Link to comment Share on other sites More sharing options...
0 Selim Emre Posted March 14, 2021 Share Posted March 14, 2021 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 Link to comment Share on other sites More sharing options...
Question
Ash
Link to comment
Share on other sites
Top Posters For This Question
2
2
Popular Days
Mar 12
2
Mar 13
1
Mar 14
1
Top Posters For This Question
Selim Emre 2 posts
Ash 2 posts
Popular Days
Mar 12 2021
2 posts
Mar 13 2021
1 post
Mar 14 2021
1 post
3 answers to this question
Recommended Posts