Skip to content

Is there something in the Chime API for JS that facilitates replaying a meeting including all content shares or stitching everything into one file?

0

Hi,

I'm using Amazon Chime SDK for JS and have created everything needed to facilitate meetings, including the pipelines to capture and concatenate the media.

I can see the webcams and audio stitched together under the /audio folder in the concat bucket, which is perfect. However, the content shares (screen shares) end up in the /videos folder under a few different files (I guess it's one per screen share) so I'm left with multiple .mp4 files.

My question is - is there something in the API that facilitates the replay of a meeting recording, which chronologically plays all the video files together?

asked 2 years ago203 views
1 Answer
0

Have you looked into here ? https://aws.amazon.com/blogs/business-productivity/transforming-audio-and-shared-content-in-the-amazon-chime-sdk-for-javascript/

During the meeting, record both the webcam/audio streams and the content shares (screen shares) and save the content shares as separate video files (e.g., share1.mp4, share2.mp4, etc.).

After the meeting, use a server-side process (outside the Chime SDK) to concatenate the individual content share video files into a single video.

Merge the files chronologically. ffmpeg -i share1.mp4 -i share2.mp4 -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0[outv]" -map "[outv]" stitched_shares.mp4

This command concatenates share1.mp4 and share2.mp4 into stitched_shares.mp4.

Lastly, provide the stitched_shares.mp4 file to users for playback.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.