Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-9991

Transcoding from H264 to VP8 does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 1.6.14
    • Fix Version/s: None
    • Component/s: mod_av
    • Labels:
      None
    • Environment:
      Debian Jessi 8
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.6 (jessie)
      Release: 8.6
      Codename: jessie
      Show
      No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.6 (jessie) Release: 8.6 Codename: jessie
    • Compiler:
      gcc
    • Compiler Version:
      gcc version 4.9.2 (Debian 4.9.2-10)
    • FreeSWITCH GIT Revision:
      Master Branch ("git")

      Description

      We have the first leg towards our Client which supports H264.
      Second leg is towards the WebRTC client which supports only VP8.
      Now we expect that the FS should do transcoding on both directions when media_mix_inbound_outbound_codecs is set to true.
      However our observation is that transcoding works from VP8 to H264 but not the other way. We have enabled the mod_h26x and enabled mod_av.

      See below configurations:
       <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA,VP8,H264"/>
        <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,VP8,H264"/>
        <X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=true"/>

       freeswitch@localhost> show codec
      type,name,ikey
      codec,ADPCM (IMA),mod_spandsp
      codec,AMR / Bandwidth Efficient,mod_amr
      codec,AMR / Octet Aligned,mod_amr
      codec,B64 (STANDARD),mod_b64
      codec,G.711 alaw,CORE_PCM_MODULE
      codec,G.711 ulaw,CORE_PCM_MODULE
      codec,G.722,mod_spandsp
      codec,G.723.1 6.3k,mod_g723_1
      codec,G.726 16k,mod_spandsp
      codec,G.726 16k (AAL2),mod_spandsp
      codec,G.726 24k,mod_spandsp
      codec,G.726 24k (AAL2),mod_spandsp
      codec,G.726 32k,mod_spandsp
      codec,G.726 32k (AAL2),mod_spandsp
      codec,G.726 40k,mod_spandsp
      codec,G.726 40k (AAL2),mod_spandsp
      codec,G.729,mod_g729
      codec,GSM,mod_spandsp
      codec,H263 Video,mod_av
      codec,H263+ Video,mod_av
      codec,H264 Video,mod_av
      codec,LPC-10,mod_spandsp
      codec,OPUS (STANDARD),mod_opus
      codec,PROXY PASS-THROUGH,CORE_PCM_MODULE
      codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE
      codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE
      codec,Speex,CORE_SPEEX_MODULE
      codec,VP8 Video,CORE_VPX_MODULE
      codec,VP9 Video,CORE_VPX_MODULE

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              ambi_fs ambarish anjaneyareddy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: