reimaginemedia / webm

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

vp9_spatial_svc_encoder crashes when built with CONFIG_MULTITHREAD enabled #942

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior? What do you see instead?
Built the following configuration:
--target=x86_64-win64-vs12 --enable-static-msvcrt --disable-vp8 --disable-docs 
--disable-runtime_cpu_detect --disable-mmx --disable-sse --disable-sse2 
--disable-sse3 --disable-ssse3 --disable-sse4_1 --disable-avx --disable-avx2 
--enable-vp9_highbitdepth --enable-experimental --enable-multi-res-encoding 
--enable-spatial-svc 

When trying to encode stream, encoder crashes at start. After I set 
CONFIG_MULTITHREAD to zero, encoder started working

What version are you using? On what operating system?
Git revision 80e729f6018d9af2733bc45d91442391484a202b
MSVS 2013 x64, Windows 8.1

Can you reproduce using the vpxdec or vpxenc tools? What command line are
you using?

Command lines for 2-pass encoding:
vp9_spatial_svc_encoder.exe -f 10 -p 2 --pass=1 --fpf=first_pass_stats.txt -sl 
5 -tl 1 -t 1/60 -b 9000 -w 1920 -h 1080 --lag-in-frames=25 
BQTerrace_1920x1080_60.yuv bqterrace_spatial.vp9
vp9_spatial_svc_encoder.exe -f 10 -p 2 --pass=2 --fpf=first_pass_stats.txt -sl 
5 -tl 1 -t 1/60 -b 9000 -w 1920 -h 1080 --lag-in-frames=25 
BQTerrace_1920x1080_60.yuv bqterrace_spatial.vp9

Please provide any additional information below.
Possibly related to this issue:
https://code.google.com/p/webm/issues/detail?id=687

Original issue reported on code.google.com by ru.xa...@gmail.com on 5 Feb 2015 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by fgalli...@google.com on 12 Feb 2015 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by renganat...@google.com on 26 Feb 2015 at 11:09

GoogleCodeExporter commented 9 years ago
This may already be fixed by Yaowu's patch: "Add mutex initialization in 
encoder"(commit a6b3e01a27a60bcd24470a4f4a2f9edea647901a)
Please try that.

Original comment by yunqingw...@google.com on 2 Mar 2015 at 6:05