[Freeswitch-users] How to prevent video scaling

Nathan Stratton nathan at robotics.net
Sat Jul 25 23:53:48 UTC 2020


in vpx.conf.xml I have rc-resize-allowed, rc-scaled-width, and
rc-scaled-height all set to 0, but FreeSWITCH is still downscaling my
video. I thought it my be related to video bandwidth, but increated to 10
megs and still see the issue.

2020-07-25 19:46:13.427613 [INFO] switch_vpx.c:564 config: vp8
2020-07-25 19:46:13.427613 [INFO] switch_vpx.c:77     name
        = vp8
    decoder.threads              = 2
    lossless                     = 0
    cpuused                      = -6
    token_parts                  = 3
    static_thresh                = 100
    noise_sensitivity            = 1
    max_intra_bitrate_pct        = 0
    tune_content                 = 0
    g_usage                      = 0
    g_threads                    = 1
    g_profile                    = 2
    g_w                          = 320
    g_h                          = 240
    g_bit_depth                  = 8
    g_input_bit_depth            = 8
    g_timebase.num               = 1
    g_timebase.den               = 1000
    g_error_resilient            = 2
    g_pass                       = 0
    g_lag_in_frames              = 0
    rc_dropframe_thresh          = 0
    rc_resize_allowed            = 0
    rc_scaled_width              = 0
    rc_scaled_height             = 0
    rc_resize_up_thresh          = 60
    rc_resize_down_thresh        = 30
    rc_end_usage                 = 1
    rc_target_bitrate            = 1024
    rc_min_quantizer             = 4
    rc_max_quantizer             = 63
    rc_undershoot_pct            = 100
    rc_overshoot_pct             = 50
    rc_buf_sz                    = 5000
    rc_buf_initial_sz            = 1000
    rc_buf_optimal_sz            = 1000
    rc_2pass_vbr_bias_pct        = 50
    rc_2pass_vbr_minsection_pct  = 0
    rc_2pass_vbr_maxsection_pct  = 400
    kf_mode                      = 1
    kf_min_dist                  = 0
    kf_max_dist                  = 360
    ss_number_layers             = 1
    ts_number_layers             = 1
    ts_periodicity               = 0
    temporal_layering_mode       = 0
2020-07-25 19:46:13.427613 [NOTICE] switch_vpx.c:599 VPX encoder reset
(WxH/BW) from 0x0/0 to 352x288/10240
2020-07-25 19:46:13.427613 [INFO] switch_vpx.c:630 VPX encoder WebM Project
VP8 Encoder v1.8.1 settings:
2020-07-25 19:46:13.427613 [INFO] switch_vpx.c:77     name
        = vp8
    decoder.threads              = 2
    lossless                     = 0
    cpuused                      = -6
    token_parts                  = 3
    static_thresh                = 100
    noise_sensitivity            = 1
    max_intra_bitrate_pct        = 0
    tune_content                 = 0
    g_usage                      = 0
    g_threads                    = 1
    g_profile                    = 2
    g_w                          = 352
    g_h                          = 288
    g_bit_depth                  = 8
    g_input_bit_depth            = 8
    g_timebase.num               = 1
    g_timebase.den               = 1000
    g_error_resilient            = 2
    g_pass                       = 0
    g_lag_in_frames              = 0
    rc_dropframe_thresh          = 0
    rc_resize_allowed            = 0
    rc_scaled_width              = 0
    rc_scaled_height             = 0
    rc_resize_up_thresh          = 60
    rc_resize_down_thresh        = 30
    rc_end_usage                 = 1
    rc_target_bitrate            = 10240
    rc_min_quantizer             = 4
    rc_max_quantizer             = 63
    rc_undershoot_pct            = 100
    rc_overshoot_pct             = 50
    rc_buf_sz                    = 5000
    rc_buf_initial_sz            = 1000
    rc_buf_optimal_sz            = 1000
    rc_2pass_vbr_bias_pct        = 50
    rc_2pass_vbr_minsection_pct  = 0
    rc_2pass_vbr_maxsection_pct  = 400
    kf_mode                      = 1
    kf_min_dist                  = 0
    kf_max_dist                  = 360
    ss_number_layers             = 1
    ts_number_layers             = 1
    ts_periodicity               = 0
    temporal_layering_mode       = 0
2020-07-25 19:46:13.467654 [INFO] switch_rtp.c:3278 Changing audio DTLS
state from HANDSHAKE to SETUP
2020-07-25 19:46:13.467654 [INFO] switch_rtp.c:3185 audio Fingerprint
Verified.
2020-07-25 19:46:13.467654 [INFO] switch_rtp.c:4217 Activating audio Secure
RTP SEND
2020-07-25 19:46:13.467654 [INFO] switch_rtp.c:4195 Activating audio Secure
RTP RECV

><>
nathan stratton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200725/6ecfb09d/attachment.html>


More information about the FreeSWITCH-users mailing list