videokit.so加载在marshmallow和API ffmpeg android上面失败

时间:2016-10-06 12:39:55

标签: android ffmpeg android-ffmpeg

我正在使用ffmpeg命令对视频进行各种操作&图像&它在具有API 22和AC的设备上工作正常。低于版本,但当我设置targetSdkVersion 23或24时,我的应用程序将崩溃,我得到:

    $(function () {

    // Initiate the chart
    $('#container').highcharts('Map', {
        plotOptions : {
                map : {
                    mapData: Highcharts.maps['countries/ir/ir-all'],
                joinBy: 'hc-key',
                states: {
                    hover: {
                        color: '#BADA55'
                    }
                },
                dataLabels: {
                    enabled: true,
                    format: '{point.name}'
                }
            }
        },
        title : {
            text : 'Highmaps basic demo'
        },

        mapNavigation: {
            enabled: true,
            buttonOptions: {
                verticalAlign: 'bottom'
            }
        },

        series : [{
          name : 'Report 1',
          data : [{
            'hc-key' : "ir-ea",
            value : 1000,
          },{
            'hc-key' : "ir-kv",
            value : 1000,
          },{
            'hc-key' : "ir-kd",
            value : 1000,
          },{
            'hc-key' : "ir-wa",
            value : 1000,
          }],
          mapData: Highcharts.maps['countries/ir/ir-all'],
          joinBy: 'hc-key',
          states: {
            hover: {
              color: '#BADA55'
            }
          },
          dataLabels: {
            enabled: true,
            style : {
              textShadow : '',
            },
            format: '<span style="color:black">{point.name}</span>',
          }
        },{
          name : 'Report 2',
          data : [{
            'hc-key' : "ir-wa",
            value : '3000',
          },{
            'hc-key' : "ir-ea",
            value : '3000',
          }],
          mapData: Highcharts.maps['countries/ir/ir-all'],
          joinBy: 'hc-key',
          states: {
            hover: {
              color: '#BADA55'
            }
          },
          dataLabels: {
            enabled: true,
            style : {
              textShadow : '',
            },
            format: '<span style="color:black">{point.name}</span>',
          }
        }]
    });
});

1 个答案:

答案 0 :(得分:0)

FFMPEG源代码包含一些名为text-reloacations的内容。

启动Marshmallow,Android操作系统不允许链接到包含文本重定位的本机代码库。这意味着如果链接到videokit.so,Marshmallow无法成为目标(即targetSdk = 23或更高)。

关于这个问题的FFMPEG门票最后有人建议他们won't fix the problem

Google支持他们won't fix it either

相持。