how to use vp9 to do svc encoding?

554 views
Skip to first unread message

andrew

unread,
Jun 22, 2016, 5:49:44 AM6/22/16
to Codec Developers
Hi,

I download vp9 with verion 1.5.0, and use the following command to build libvpx:

./configure --prefix=/usr/local/ --enable-shared --enable-experimental --enable-spatial-svc
make
make install

How to do vp9 svc encoding using vpxenc or other built binary, i.e. temporal scalability and spatial scalability?

Thanks!

B.R.

Andrew

Marco Paniconi

unread,
Jun 22, 2016, 7:40:28 PM6/22/16
to codec...@webmproject.org
You can use the sample encoder: examples/vp9_spatial_svc_encoder
build with: ./configure --experimental --enable-spatial-svc

--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel...@webmproject.org.
To post to this group, send email to codec...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/codec-devel/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.

andrew wang

unread,
Jun 23, 2016, 2:42:14 AM6/23/16
to codec...@webmproject.org
I used the following command to do svc encoding:

./vp9_spatial_svc_encoder -f 300 -w 1280 -h 720 -b 2000 -sl 3 -k 250 -tl 3 --rc-end-usage=1 ./Google_I_O_2016-Keynote.yuv ./Google_I_O_2016-Keynote_t3_s3.vp9

300 frames are expected to be encoded, but about 270 frames are encoded indeed. And the original resolution is 1280x720. But neither of 3 resolutions in vp9 bitstream is 1280x720. Why?

Thanks!

Marco Paniconi

unread,
Jun 23, 2016, 12:22:50 PM6/23/16
to codec...@webmproject.org
You need to set lag_in-frames=0, and set the spatial scale ratios.
Can you try:
examples/vp9_spatial_svc_encoder -f 300 -w 1280 -h 720 -b 2000 -k 250 --rc-end-usage=1 --lag-in-frames=0 --speed=5
-sl 3 -r 320/1280,640/1280,1280/1280 --temporal-layering-mode=3 

for 3 spatial layers (1280x720, 640x360, 320x180), and 3 temporal layers.
Reply all
Reply to author
Forward
0 new messages