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

How to reduce the encoding times when FreeSWITCH is recording a video #2608

Open
visitewen opened this issue Sep 25, 2024 · 8 comments
Open
Labels
enhancement New feature or request

Comments

@visitewen
Copy link

Is it possible to reduce the encoding times when FreeSWITCH is recording a video,as i know,when FS recording video, will re-codec and transmit,when aleg and bleg have same video codec,I think no need re-codec to transmit,only re-codec for recording.

@visitewen visitewen added the enhancement New feature or request label Sep 25, 2024
@seven1240
Copy link
Collaborator

yes, with more if-else. I think I had a patch that could record the encoded stream to mp4 w/o decoding at all.

@visitewen
Copy link
Author

can you share more detail steps or how to get the patch,really appreciate!

@seven1240
Copy link
Collaborator

It was a long time, not many people using that, I think it might be in the https://signalwire.com/products/freeswitch-enterprise .

@visitewen
Copy link
Author

commercial support?

@tomek-o
Copy link
Contributor

tomek-o commented Oct 29, 2024

I think I had a patch that could record the encoded stream to mp4 w/o decoding at all.

@seven1240 I believe you mean mod_mp4v2 and it is still there (BTW - thank you).
mod_fsv is another options.
Some tweaking to FS core might be needed depending on recording context, but not much.

@visitewen
Copy link
Author

@tomek-o I want to transmit the original video data(not re-coding) to the terminal while recording. Can you give me some detailed suggestions? Many thanks.

@tomek-o
Copy link
Contributor

tomek-o commented Oct 31, 2024

@visitewen I was doing it at work, so I can't. Start with existing modules, the number of issues to solve would depend on actual endpoints, codecs in use and call scenarios.

@visitewen
Copy link
Author

Ok,Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants