Chen-tao / webm

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

VP9: Encoder crashes when using --cpu-used=2. #592

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I encounter the following failure when trying to encode to VP9:

Pass 2/2 frame   59/34     42968B  171572 ms 2908.01 ms/f [ETA  2:06:10] 
vpxenc: vp9/encoder/vp9_encodeframe.c:1395: rd_use_partition: Assertion 
`chosen_rate < 2147483647 && chosen_dist < 2147483647' failed.           

This occurs with git 9da67da04a1e150630196e5457133365bd9c8618 when using the 
following command line:

./libvpx/vpxenc --codec=vp9 --good --cpu-used=2 --lag-in-frames=25 
--auto-alt-ref=1 --passes=2 --target-bitrate=2000 
--output=./libvpx/vp9-cpu-used-2.webm ./sintel_trailer_2k_1080p24.y4m

The source is the 1080p Y4M version of the Sintel trailer available here:

http://media.xiph.org/video/derf/y4m/sintel_trailer_2k_1080p24.y4m

Original issue reported on code.google.com by gnafu.th...@gmail.com on 18 Jul 2013 at 11:15

GoogleCodeExporter commented 8 years ago

Original comment by rbul...@google.com on 19 Jul 2013 at 1:34

GoogleCodeExporter commented 8 years ago
It looks like ea284d62814cedd59baa20a1db1f44b16abb431d fixed this.  I was able 
to complete an encode at speed level 2.

Original comment by gnafu.th...@gmail.com on 20 Jul 2013 at 7:24

GoogleCodeExporter commented 8 years ago
Please verify...

Original comment by jimbankoski@google.com on 22 Aug 2013 at 1:26

GoogleCodeExporter commented 8 years ago
Sadly i have the exact same problem right now with newest revision :(
( git rev-list HEAD --count -> 7044 )

I do it the following way

//Works fine
ffmpeg -y -i source/gow.mp4 -t 00:00:30 -b:v 600k -c:v libvpx-vp9 -strict -2 
-quality good -speed 16 -rc_lookahead 25 -pass 1 -an -sn gowspecial.webm

//Core dump
ffmpeg -y -i source/gow.mp4 -t 00:00:30 -b:v 600k -c:v libvpx-vp9 -strict -2 
-quality good -speed 16 -rc_lookahead 25 -pass 2 -b:a 64k -c:a libvorbis -sn 
gowspecial.webm

ffmpeg: vp9/encoder/vp9_encodeframe.c:1238: rd_use_partition: Assertion 
`chosen_rate < 2147483647 && chosen_dist < 2147483647' failed.
[1]    20272 abort (core dumped)  

Original comment by xapt...@googlemail.com on 5 Nov 2013 at 1:23