Chen-tao / webm

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

vp9 encoder assert on sync video #588

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior?
no crash

What do you see instead?

e:\mediatests\sync>timex ..\vpxenc -w 720 -h 480 --fps=30000/1001 
--target-bitrate=100 sync.720x480_30Hz_P420.yuv -o sync0.tmp.vp9.webm --fpf=
sync_vp9.fpf -p 2 --pass=2 --codec=vp9 --good --cpu-used=0 --lag-in-frames=25 
--min-q=0 --max-q=63 --end-usage=vbr --auto-alt-ref=1 --kf-max-d
ist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 
--minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-str
ength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 -v --psnr
Pass 2/2 frame 1254/1229  324894B 11665217 ms 9309.83 ms/f [ETA 11:01:12] 
←[K40.589 38.828 100.000 100.000     177F
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Pass 2/2 frame 1285/1260  332262B 11950866 ms 9300.29 ms/f [ETA 10:55:02] 
←[KAssertion failed!.000 100.000     133F

Program: c:\bin\vpxenc_jun14.exe
File: ../libvpx/vp9/common/vp9_idct.h, Line 70

Expression: INT16_MIN <= rv && rv <= INT16_MAX
TIMEX 75019990.00 ms (75019.99 seconds) (1250.33 minutes) (20.84 hours), 
..\vpxenc -w 720 -h 480 --fps=30000/1001 --target-bitrate=100 sync.72
0x480_30Hz_P420.yuv -o sync0.tmp.vp9.webm --fpf=sync_vp9.fpf -p 2 --pass=2 
--codec=vp9 --good --cpu-used=0 --lag-in-frames=25 --min-q=0 --max-
q=63 --end-usage=vbr --auto-alt-ref=1 --kf-max-dist=9999 --kf-min-dist=0 
--drop-frame=0 --static-thresh=0 --bias-pct=50 --minsection-pct=0 --m
axsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 
--sharpness=0 --undershoot-pct=100 -v --psnr, returncode 3

e:\mediatests\sync>dir sync0.tmp.vp9.webm
 Volume in drive E is New Volume
 Volume Serial Number is 4E73-17F7

 Directory of e:\mediatests\sync

06/15/2013  12:13 PM           343,949 sync0.tmp.vp9.webm

What version are you using?
Master June 14
WebM Project VP9 Encoder v1.2.0-3097-g0b7910b

On what operating system?
Windows7 x64

Can you reproduce using the vpxdec or vpxenc tools?
Yes

What command line are you using?
vpxenc -w 720 -h 480 --fps=30000/1001 --target-bitrate=100 
sync.720x480_30Hz_P420.yuv -o sync0.tmp.vp9.webm --fpf=
sync_vp9.fpf -p 2 --pass=2 --codec=vp9 --good --cpu-used=0 --lag-in-frames=25 
--min-q=0 --max-q=63 --end-usage=vbr --auto-alt-ref=1 --kf-max-d
ist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 
--minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-str
ength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 -v --psnr

Please provide any additional information below.

Original issue reported on code.google.com by fbarch...@google.com on 15 Jun 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Retrying, it happened again, although on a different frame.

e:\mediatests\sync>timex ..\vpxenc -w 720 -h 480 --fps=30000/1001 
--target-bitrate=100 sync.720x480_30Hz_P420.yuv -o sync0.tmp.vp9.webm --fpf=
sync_vp9.fpf -p 2 --pass=1 --codec=vp9 --good --cpu-used=0 --lag-in-frames=25 
--min-q=0 --max-q=63 --end-usage=vbr --auto-alt-ref=1 --kf-max-d
ist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 
--minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-str
ength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 -v --psnr
Codec: WebM Project VP9 Encoder v1.2.0-3097-g0b7910b
Source file: sync.720x480_30Hz_P420.yuv Format: I420
Destination file: sync0.tmp.vp9.webm
Encoder parameters:
    g_usage                      = 0
    g_threads                    = 0
    g_profile                    = 0
    g_w                          = 720
    g_h                          = 480
    g_timebase.num               = 1
    g_timebase.den               = 1000
    g_error_resilient            = 0
    g_pass                       = 0
    g_lag_in_frames              = 25
    rc_dropframe_thresh          = 0
    rc_resize_allowed            = 0
    rc_resize_up_thresh          = 60
    rc_resize_down_thresh        = 30
    rc_end_usage                 = 0
    rc_target_bitrate            = 100
    rc_min_quantizer             = 0
    rc_max_quantizer             = 63
    rc_undershoot_pct            = 100
    rc_overshoot_pct             = 100
    rc_buf_sz                    = 6000
    rc_buf_initial_sz            = 4000
    rc_buf_optimal_sz            = 5000
    rc_2pass_vbr_bias_pct        = 50
    rc_2pass_vbr_minsection_pct  = 0
    rc_2pass_vbr_maxsection_pct  = 2000
    kf_mode                      = 1
    kf_min_dist                  = 0
    kf_max_dist                  = 9999
Pass 1/2 frame 5400/5401  820952B    1216b/f   36450b/s  103902 ms (51.97 fps)
TIMEX 108972.00 ms (108.97 seconds) (1.82 minutes), ..\vpxenc -w 720 -h 480 
--fps=30000/1001 --target-bitrate=100 sync.720x480_30Hz_P420.yuv -
o sync0.tmp.vp9.webm --fpf=sync_vp9.fpf -p 2 --pass=1 --codec=vp9 --good 
--cpu-used=0 --lag-in-frames=25 --min-q=0 --max-q=63 --end-usage=vbr
--auto-alt-ref=1 --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 
--static-thresh=0 --bias-pct=50 --minsection-pct=0 --maxsection-pct=2000 --
arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 
--undershoot-pct=100 -v --psnr

e:\mediatests\sync>timex ..\vpxenc -w 720 -h 480 --fps=30000/1001 
--target-bitrate=100 sync.720x480_30Hz_P420.yuv -o sync0.tmp.vp9.webm --fpf=
sync_vp9.fpf -p 2 --pass=2 --codec=vp9 --good --cpu-used=0 --lag-in-frames=25 
--min-q=0 --max-q=63 --end-usage=vbr --auto-alt-ref=1 --kf-max-d
ist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 
--minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-str
ength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 -v --psnr
Pass 2/2 frame  472/447   127764B 3146874 ms 6681.26 ms/f [ETA  9:43:11] 41.558 
39.797 100.000 100.000      70F
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Original comment by fbarch...@google.com on 15 Jun 2013 at 9:27

GoogleCodeExporter commented 9 years ago
One pass is okay

vpxenc_jun12 -w 720 -h 480 --fps=30000/1001 --target-bitrate=100 
sync.720x480_30Hz_P420.yuv -o sync0.tmp2.vp9.webm -p 1 --codec=vp9 --good 
--cpu-used=0 --lag-in-frames=25 --min-q=0 --max-q=63 --end-usage=vbr 
--auto-alt-ref=1 --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 
--static-thresh=0 --bias-pct=50 --minsection-pct=0 --maxsection-pct=2000 
--arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 
--undershoot-pct=100 -v --psnr

so are these options
vpxenc_jun12 -w 720 -h 480 --fps=30000/1001 --target-bitrate=100 
sync.720x480_30Hz_P420.yuv -o sync0.tmp2.vp9.webm -p 1 --codec=vp9 --good 
--cpu-used=0 -v --psnr

Original comment by fbarch...@google.com on 18 Jun 2013 at 6:08

GoogleCodeExporter commented 9 years ago
confirmed that this works with updated master:
july27 vp9    - WebM Project VP9 Encoder v1.2.0-3772-g118ccdc

Original comment by fbarch...@google.com on 29 Jul 2013 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by ya...@google.com on 29 Jul 2013 at 11:16