Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use metadata.xml or ffprobe to find duration #2

Closed
marshel opened this issue Apr 2, 2020 · 3 comments
Closed

Use metadata.xml or ffprobe to find duration #2

marshel opened this issue Apr 2, 2020 · 3 comments

Comments

@marshel
Copy link

marshel commented Apr 2, 2020

Hi, instead of setting manually the duration you could set in your script to search for video duration on metadata.xml, getting end time and subtract start time and then divide by 1000 for getting the seconds.

<start_time>1585088145458</start_time> <end_time>1585091756843</end_time>

or use the terminal command below:

ffprobe -i some_video -show_entries format=duration -v quiet -of csv="p=0"
if the meeting was recorded with a webcam.

Best regards.

@jibon57
Copy link
Owner

jibon57 commented Apr 2, 2020

@marshel , thanks for the suggestion. I'll recommend to use different server for this solution. In my case I have hired a small VPS with 4 vCPU. I can easily run at least 4~5 process at a same time. For getting recordings information I'll recommend to call getRecordings API.

@jibon57
Copy link
Owner

jibon57 commented Apr 2, 2020

If you are planning to export every meeting's recording then you can use Recording ready callback URL feature. So, when the BBB will complete recording that time you'll get notification & can use bbb-recorder to start it's processing. Here you can use webscoket for communication.

@jibon57
Copy link
Owner

jibon57 commented May 26, 2020

solved here: #29

@jibon57 jibon57 closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants