Chen-tao / webm

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

Skip blocks not properly used at speeds >= 4 #346

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior? What do you see instead?

Encoding a single static frame should use low bitrate.

What version are you using? On what operating system?

Tested with v0.9.6-405-g9e37baf

Can you reproduce using the ivfdec or ivfenc tools? What command line are
you using?

$ ./vpxenc --rt ~/g/video/blueframe_320x240_100.i420 --i420 -w 320 -h 240 -o 
/dev/null --limit=5 --cpu-used=-3  2>&1 | tr '\r' '\n'

Pass 1/1 frame    1/0          0B     187F
Pass 1/1 frame    2/1        187B      26F
Pass 1/1 frame    3/2        213B      26F
Pass 1/1 frame    4/3        239B      26F
Pass 1/1 frame    5/4        265B      26F
Pass 1/1 frame    5/5        291B     465b/f   13968b/s   17506 us (285.62 fps)

$ ./vpxenc --rt ~/g/video/blueframe_320x240_100.i420 --i420 -w 320 -h 240 -o 
/dev/null --limit=5 --cpu-used=-4  2>&1 | tr '\r' '\n'

Pass 1/1 frame    1/0          0B     187F
Pass 1/1 frame    2/1        187B     107F
Pass 1/1 frame    3/2        294B     104F
Pass 1/1 frame    4/3        398B     105F
Pass 1/1 frame    5/4        503B     107F
Pass 1/1 frame    5/5        610B     976b/f   29280b/s   17245 us (289.94 fps)

$ ./vpxenc --rt ~/g/video/blueframe_320x240_100.i420 --i420 -w 320 -h 240 -o 
/dev/null --limit=5 --cpu-used=-4 --static-thresh=1 2>&1 | tr '\r' '\n'

Pass 1/1 frame    1/0          0B     187F
Pass 1/1 frame    2/1        187B      26F
Pass 1/1 frame    3/2        213B      26F
Pass 1/1 frame    4/3        239B      26F
Pass 1/1 frame    5/4        265B      26F
Pass 1/1 frame    5/5        291B     465b/f   13968b/s   15639 us (319.71 fps)

Original issue reported on code.google.com by jkoles...@google.com on 8 Jul 2011 at 1:10

GoogleCodeExporter commented 9 years ago
Still present in latest version.
Problem is that for solid colors the cost of DC pred is estimated to be lower 
than ZEROMV in the mode selection (RD mode does no do that). --static-thresh=1 
will force skipped mode as distortion=0.

Original comment by attilan...@google.com on 21 Feb 2012 at 2:07

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:26