Chen-tao / webm

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

vpx_codec_enc_config_set() mem leak issue #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
adding:
vpx_codec_enc_config_set(&streams->encoder, &streams->config.cfg);

to vpxenc just before FOREACH_STREAM(encode_frame()) will cause a large
memory leak for the following clip and settings:

Clip:
BBB_720x480_2000F.ivf

Settings:
--rt --verbose --usage=0 --threads=0 --profile=0 --width=0 --height=0 
--timebase=1/24 --fps=24/1 --error-resilient=0 --lag-in-frames=0 --drop-frame=0 
--resize-allowed=1 --resize-up=80 --resize-down=60 --end-usage=1 
--target-bitrate=128 --min-q=4 --max-q=56 --undershoot-pct=100 
--overshoot-pct=100 --buf-sz=6000 --buf-initial-sz=4000 --buf-optimal-sz=5000 
--bias-pct=50 --minsection-pct=0 --maxsection-pct=400 --kf-min-dist=0 
--kf-max-dist=999999 --cpu-used=0 --auto-alt-ref=1 --noise-sensitivity=0 
--sharpness=0 --static-thresh=0 --token-parts=0 --arnr-maxframes=0 
--arnr-strength=3 --arnr-type=3 --cq-level=10 --max-intra-rate=0

Problem only seems to occur for windows.

Original issue reported on code.google.com by jamesbe...@google.com on 15 May 2012 at 7:02

GoogleCodeExporter commented 9 years ago
observed using old library

fixed by:
https://gerrit.chromium.org/gerrit/#change,20699

Change-Id: Ie0d20e70507004e714ad40b640aa5b434251eb32

Original comment by jamesbe...@google.com on 15 May 2012 at 8:15

GoogleCodeExporter commented 9 years ago

Original comment by jamesbe...@google.com on 15 May 2012 at 8:25