dinhminhquoi / webm

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

vpxenc does not scale non 4:2:0 frames correctly #785

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
vpxenc scales frames using I420Scale from libyuv, which is only appropriate for 
4:2:0 frames

Example (4:4:4):

./vpxenc rush_hour_444.y4m --profile=0 --ivf --limit=1 --fps=25/1 
--target-bitrate=4000 --width=176 --height=144 -o rush_scale.ivf

./vpxdec -o rush_scale.y4m rush_scale.ivf

Images of the first frame are attached

Bug present on HEAD of master

Original issue reported on code.google.com by james.hu...@argondesign.com on 14 May 2014 at 3:32

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by renganat...@google.com on 15 May 2014 at 10:21

GoogleCodeExporter commented 8 years ago
Fixed in: 
http://git.chromium.org/gitweb/?p=webm/libvpx.git;a=commitdiff;h=bde1bd9

Though you may not like how. When the libyuv update is complete we can try to 
do something better. 

Original comment by aconve...@google.com on 19 May 2014 at 8:22

GoogleCodeExporter commented 8 years ago
How about something like the following now that libyuv is updated?

Original comment by james.hu...@argondesign.com on 21 May 2014 at 7:15

Attachments: