letheliu / imsdroid

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

ffpeg x264 multi-core doesn't work use doubango #538

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
1.I recompile the x264 use more cpu follow this:
https://groups.google.com/forum/#!topic/android-ndk/_OHzzpyw29U
for android use corss-compile. After tested ./x264 on my android device,it 
works well (multicore works), the encode fps can get to 50, while use only one 
core,the fps is only about 25 ;
2.But when I replace libx264.lib in thirdparties/android/armv7-a/libx264.a with 
the one I compiled, I find there isn't any help except the 4 core(my android 
phone has 4 cores)are all in use, the video encode time 
(tinyDAV/src/codes/tdav_codec_h264.c ,function tdav_codec_h264_encode) 
avcodec_encode_video used isn't reduce any.That is to say the multi-core isn't 
work with doubango?
3.So anyone can help me, why multicore didn't work with doubango?

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by gle2135...@gmail.com on 23 Oct 2014 at 1:13

GoogleCodeExporter commented 9 years ago
Need I recompile ffmpeg?

Original comment by gle2135...@gmail.com on 23 Oct 2014 at 1:16