We are improving recording stuff right now. Fixing bugs and implementing new features. This feature is on our short time roadmap.
DiStefano8472:
What about the performance hunger of the COMPOSED recording - it depends on the number of shown streams in a custom layout - or it depends on the ffmpeg-capturing in a chrome instance itself?
e.g.: 1 video stream, 2 audio streams < ressources < 3 video streams, 3 audio streams?
Chrome and ffmpeg consumes a lot of resources. Then, if you have too much videos, more resources are consumed.
INDIVIDUAL recording is designed for later composition using ffmpeg or other tool. There are some messages in the forum with some code to do it. For example:
Hi Ameotoko!
Seems
[0s][1s]scale2ref=‘ohmdar’:‘if(lt(main_h,ih),ih,main_h)’[1s][0s];
should be
[1s][0s]scale2ref='ohmdar’:‘if(lt(main_h,ih),ih,main_h)’[1s][0s];
README.md
This covers the usecase when 1:1 OpenVidu session recorded in INDIVIDUAL mode, participants may join and leave at different moments, but you only want to keep the portion where both are present. This command produces video file with two recorded streams side-by-side, and both audio tracks merged (broken down for readability):
```bash
ffmpeg \
-ss 1054403ms -c:a libopus -i .\str_CAM_Fs1t_con_CjOpssSpAe.webm \
-i -c:a libopus .\str_CAM_GQcn_con_RzVjNmZY6i.webm \
-filter_complex "[0][1]scale2ref='oh*mdar':'if(lt(main_h,ih),ih,main_h)'[0s][1s];
[0s][1s]scale2ref='oh*mdar':'if(lt(main_h,ih),ih,main_h)'[1s][0s];
[0s][1s]hstack=inputs=2:shortest=1,setsar=1[v];
[0:a][1:a]amerge,aresample=async=1000[a]" \
This file has been truncated. show original
convert.sh
#!/bin/bash
# This is a very simple example script, that downloads a recording from AWS instance,
# unzips it, and combines two .webm recorded streams into one .mp4 file,
# composed in "side-by-side" layout.
#
# It uses jq JSON-parser (https://stedolan.github.io/jq/)
#
# It only deals with two streams for a specific use case, please check the README.md in this gist.
#
This file has been truncated. show original
But you implement a web player if you want. There is no “official” player for INDIVIDUAL recordings.