<html><head><title>Re: [Freeswitch-users] control the quality of the recorded video</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Dobrý den,<br>
<br>
Data rate 1311kbps,<br>
Total bitrate 1442kbps, <br>
Frame Rate 28 frames/second<br>
<br>
Frame width = 1280 <br>
Frame height = 480<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>
čtvrtek 27. srpna 2015, 13:26:26, napsal jste:<br>
<br>
</i></span></span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 11pt;">What bitrate of recorded video? Or what length and its weight(megabytes) ?​<br>
<br>
<span style=" font-size: 9pt;">2015-08-26 19:30 GMT+05:00 Denis Jakovlev <</span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:yadenis@seznam.cz">yadenis@seznam.cz</a><span style=" font-family:'courier new'; font-size: 9pt;">>:<br>
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=" color: #c0c0c0;"><i>-- <br>
S pozdravem,<br>
Ing.Denis Jakovlev <br>
</i></span></span><a style=" color: #c0c0c0; font-family:'courier new'; font-size: 9pt; font-style: Italic;" href="http://mob.tel">mob.tel</a><span style=" font-family:'courier new'; font-size: 9pt; color: #c0c0c0;"><i>. 775-415-382<br>
<br>
<br>
</i><span style=" color: #000000;">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">Official FreeSWITCH Sites<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">FreeSWITCH-users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
<span style=" font-family:'courier new'; font-size: 9pt;">UNSUBSCRIBE:</span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">-- <br>
<br>
Arthur</td>
</tr>
</table>
</body></html>