What bitrate of recorded video? Or what length and its weight(megabytes) ? 2015-08-26 19:30 GMT+05:00 Denis Jakovlev <yadenis@seznam.cz>:
Hi All,
I have a question. 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?
My dialplan for tests
<extension name="test5"> <condition field="destination_number" expression="^(6084)$"> <action application="export" data="nolocal:absolute_codec_string=OPUS,VP8"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="RECORD_STEREO=true"/> <action application="export" data="RECORD_TOGGLE_ON_REPEAT=true"/> <action application="export" data="record_concat_video=true"/> <action application="answer"/> <!-- Shouldn't bind the same file name to both legs, if both press *2 it clobbers the file --> <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] --> <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"/> <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"/> <action application="bridge" data="user/1003${sip_profile}"/> </condition> </extension>
In vars.xml i try to change <!-- Video Settings --> <!-- Setting the max bandwdith --> <X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_in=512kb"/> <X-PRE-PROCESS cmd="set" data="rtp_video_max_bandwidth_out=512kb"/>
but it does not help
Any ideas?
*-- S pozdravem, Ing.Denis Jakovlev mob.tel <http://mob.tel>. 775-415-382 *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Arthur