bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.55k stars 8.13k forks source link

how to use hw / sw decoder in ios ?/ #1542

Open jimmy-jj2016 opened 8 years ago

jimmy-jj2016 commented 8 years ago

hi can I change between hw decoder and sw decoder in ios version ?

Android4MediaPlayer commented 8 years ago

enable videotoolbox

wuqiong commented 8 years ago

IJKFFOptions *options = [IJKFFOptions optionsByDefault]; [options setOptionIntValue:1 forKey:@"videotoolbox" ofCategory:kIJKFFOptionCategoryPlayer];