Maria1099 / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

vp9 encoder is slow #527

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Encoding a 2 hr video takes 42.94 hrs for VGA.

d:\mediatests\brian>timex vpxenc --codec=vp9 --passes=2 --profile=0 
--fps=30000/1000 --static-thresh=0 --drop-frame=0 --best --auto-alt
 --maxsection-pct=800 --lag-in-frames=16 --kf-min-dist=0 --kf-max-dist=250 --min-q=0 --max-q=63 --max-intra-rate=20 -t 4 -w 853 -h 480
an.853x480_30Hz_P420.yuv -o brian0.vp9.webm
Pass 1/2 frame 43000/43001 6536152B    1216b/f   36480b/s  975864 ms (44.06 fps)
Pass 2/2 frame 43000/43000 178515346B   33212b/f  996364b/s 141917774 ms (0.30 
fps)
timex 154607674.70ms

Original issue reported on code.google.com by fbarch...@google.com on 11 Jan 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Encoding 4k video take 56.87 hrs
c:\mediatests\garden>timex vpxenc --codec=vp9 --passes=2 --profile=1 
--fps=24000/1001 --static-thresh=0 --drop-frame=0 --best --auto-alt-ref=1 
--minsection-pct=0 --maxsection-pct=800 --lag-in-frames=16 --kf-min-dist=0 
--kf-max-dist=250 --min-q=0 --max-q=63 --max-intra-rate=20 -t 4 -w 4096 -h 2304 
--target-bitrate=16000 garden.4096x2304_24Hz_P420.yuv -o garden0.vp9.webm
Pass 1/2 frame 2726/2727  414504B    1216b/f   29165b/s  986652 ms (2.76 
fps)←[K
Pass 2/2 frame 2726/2726 221883672B  651162b/f 15612291b/s 160831788 ms (0.02 
fps)←[K
timex 204755199.26ms

Original comment by fbarch...@chromium.org on 14 Jan 2013 at 7:19

GoogleCodeExporter commented 9 years ago
During encoding, could the status include fps?  It currently looks like this:
Pass 1/2 frame 14315/14316 2176032B    1216b/f   29186b/s  230825 ms (62.02 
fps)←[K
Pass 2/2 frame 13936/13920 85459531B ←[K   3310F
When complete, the fps is shown.  If the fps, so far, were shown during 
encoding, time to completion could be computed.  

Original comment by fbarch...@google.com on 15 Jan 2013 at 6:26

GoogleCodeExporter commented 9 years ago
This is a known issue Vp9 its not been optimized. We should check later when 
the codec is better optimized. 

Original comment by albe...@google.com on 17 Jan 2013 at 11:21

GoogleCodeExporter commented 9 years ago
If you ask for --psnr the values are shown as the compression proceeds.
Can the same be done for encode fps?

Original comment by fbarch...@google.com on 18 Jan 2013 at 2:07