<html><head><title>control the quality of the recorded video</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Hi All,<br>
<br>
I have a question. <br>
Now I record video using mod_av (or mod_vlс). Classical record_session. This works fine. But a heavy load on the server CPU. There are some possibilities to control the quality of the recorded video? For example bit rate, video resolution, etc. Or how i can optimize the performance of friswitch to recording so do not load the CPU?<br>
<br>
My dialplan for tests<br>
<br>
<extension name="test5"><br>
<condition field="destination_number" expression="^(6084)$"><br>
<action application="export" data="nolocal:absolute_codec_string=OPUS,VP8"/><br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="set" data="RECORD_STEREO=true"/><br>
<action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/><br>
<action application="export" data="record_concat_video=true"/><br>
<action application="answer"/><br>
<!-- Shouldn't bind the same file name to both legs,<br>
if both press *2 it clobbers the file --><br>
<!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] --><br>
<action application="bind_meta_app" data="2 a i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_a.mp4"/><br>
<action application="bind_meta_app" data="2 b i record_session::/usr/local/freeswitch/recordings/${strftime(%Y%m%d_%H%M%S)}_${destination_number}_b.mp4"/><br>
<action application="bridge" data="user/1003${sip_profile}"/><br>
</condition><br>
</extension><br>
<br>
In vars.xml i try to change <br>
<!-- Video Settings --><br>
<!-- Setting the max bandwdith --><br>
<X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_in=512kb"/><br>
<X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_out=512kb"/><br>
<br>
but it does not help <br>
<br>
Any ideas?<br>
<br>
<span style=" font-family:'calibri'; color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
mob.tel. 775-415-382<br>
<br>
</body></html>