AVFFmpegLib icon indicating copy to clipboard operation
AVFFmpegLib copied to clipboard

请教,支持硬件加速吗?

Open happyHou opened this issue 3 years ago • 3 comments

happyHou avatar Dec 18 '20 02:12 happyHou

font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}



应该不支持,我编译的时候没有开启硬件加速这个模块。你可以看看 mobile-ffmpeg 这个开源项目,我是基于它来做的

    
        
    


  

    
                
        
            
                
                        
                            
                        
                        
                            919079498
                        
                
                    
                        
                                [email protected]
                        
                    
            
        
    
    


    签名由
    网易邮箱大师
    定制




在2020年12月18日 10:53,happyHou<[email protected]> 写道: 

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

yangkun19921001 avatar Dec 18 '20 05:12 yangkun19921001

thank you author。 ref this:https://trac.ffmpeg.org/wiki/HWAccelIntro I think that MediaCodec encoder is not implemented by ffmpeg, only decoder is available.it's slow whether how we optimize, i will study mediacodec.i test that using mediacodec can save 1/2 time.

happyHou avatar Dec 19 '20 14:12 happyHou

@yangkun19921001 硬件加速的话,你看这个项目 https://github.com/tanersener/mobile-ffmpeg ,自己增加下 mediacodec 硬件加速,开源的。看下代码加上就行了

yangkun19921001 avatar Dec 30 '20 03:12 yangkun19921001