Opened 3 weeks ago

Closed 3 weeks ago

#2253 closed enhancement (fixed)

Support for VP8 and VP9 video codec

Reported by: ming Owned by: ming
Priority: normal Milestone: release-2.10
Component: pjmedia-videodev Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Add support for VP8 and VP9 video codec using libvpx.

During our testing, for the same bitrate, VP8 quality seems to be better than H264, but the encoding speed is noticeably slower. For VP9 however, as documented by several other sources as well [1][2], the encoding speed is much much slower, even though we have followed the recommended setting for "Real-time CBR Encoding and Streaming" from their doc here. Because of this, VP9 is currently by default disabled. To enable it, you can set PJMEDIA_HAS_VPX_CODEC_VP9 compile-time macro.

[1] https://blogs.gnome.org/rbultje/2014/02/22/the-worlds-fastest-vp9-decoder-ffvp9/
[2] https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=111334

Steps to use VP8/VP9:
Download libvpx. Build and install. Libvpx will then be autodetected by PJSIP configure script (alternatively, you can specify --with-vpx option).

Change History (1)

comment:1 Changed 3 weeks ago by ming

  • Owner set to ming
  • Resolution set to fixed
  • Status changed from new to closed

In 6110:

Fixed #2253: Support for VP8 and VP9 video codec

Note: See TracTickets for help on using tickets.