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

Save recording as MPEG-TS #171

Open
BrightSoul opened this issue May 7, 2019 · 3 comments
Open

Save recording as MPEG-TS #171

BrightSoul opened this issue May 7, 2019 · 3 comments

Comments

@BrightSoul
Copy link

Hi,
I'd like to save recordings in the MPEG-TS format (as a single or a series of .ts files). This way I would also be able to stream the recording via Ffmpeg while it's being encoded.
How can I do this?

Thanks,
Moreno

@JackyM06
Copy link

我的做法是将记录的每段Blob数据发送的服务端,然后在Node.js服务端通过调用FFmpeg将Buffer转化为.ts文件并进行推流。

@BrightSoul
Copy link
Author

@JackyM06
Thanks, that would be a solution (I had to use Google translate but I got your message).
However, I'm still convinced MPEG-TS is a better option because I could even do without ffmpeg: I could just upload those files to AWS S3 and serve them via a CloudFront distribution, keeping streaming latency to a minimum. No need to send files to another server first.

@rogerbage
Copy link

I'm trying to save as mp4, without convert in the server with FFmpeg. You can load ffmpeg.js to make a convertion in the frontend, but have 17mb. I'm looking for a better solution.

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

3 participants