Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Yabo_W_
Beginner
55 Views

vpp performance

Hi all,

I tried video resize and pixel format convert with sample_vpp_drm. I found the performance of vpp is lower than ffmpeg.

I have a raw video, whose pixel format is yv12, and 500 frames.

First, use sample_vpp_drm like this:

time ./_bin/x64/sample_vpp_drm -lib hw -sw 1920 -sh 1080 -scc yv12 -spic 1 -sf 25 -dw 720-dh 576-df 25 -dcc nv12 -dpic 1 -i ./input_yv12.yuv -o /dev/null

run it ten times,  and get the average clock of the last four times:

0m2.982s,0m2.987s,0m2.986s,0m2.987s

so, the vpp fps is 167.

second, use ffmpeg like this:

time ~/ffmpeg -s 1920x1080 -pix_fmt yuv420p -i ./input_yv12.yuv -s 720x576 -pix_fmt nv12 -f rawvideo -y /dev/null

run it ten times,  and get the average clock of the last four times:

0m2.666s,0m2.621s,0m2.623s,0m2.607s

so, the vpp fps is 190.

But if the output is 1280x720, vpp;s performance is higher than ffmpeg

CPU:Intel(R) Core(TM) i7-4770R CPU @ 3.20GHz

0 Kudos
1 Reply
55 Views

Hello Yabo,

Thanks for sharing your results, apologies it took us a while to get to your question. I tried to reproduce the results you mention above with the command-line you shared. On the latest Media Server Studio product (16.4 release for CentOS 7.0, with samples version MediaSamples_Linux_5.0.1604371.71 - http://software.intel.com/sites/default/files/managed/df/17/MediaSamples_Linux_5.0.1604371.71.tar.gz), the performance of Media SDK is better than FFMPEG (Dec 23 2014 release).

I recommend you update to the latest Media SDK product and let us know what you observe. And/or more details on the system config for your experiment. 

Reply