Open wf1992 opened 2 years ago
想问一下,是否此插件是否支持s48或者wav等格式的音频文件, 另是否支持另外的在线直播类的视频格式,若有不支持的,能否提前告知以下???Thanks。。。。
问题如下: 当setDataSource是本地的mp3或者m4a格式的文件的时候,就可以正常打开,但是: 当setDataSource是我本地的s48或者wav 格式的文件的时候,输出以下报错:
-volume=128 > 100, setting to 100 2022-03-16 17:50:36.441393+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.440970 [fijk] FijkPlayer{id:2} state changed to FijkState.asyncPreparing <= FijkState.initialized 2022-03-16 17:50:36.441793+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.441612 [fijk] FijkPlayer{id:2} invoke prepareAsync and start #24 -> done 2022-03-16 17:50:36.442115+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.441939 [fijk] FijkPlayer{id:2} state changed to FijkState.asyncPreparing <= FijkState.initialized /Users/wangfei/Library/Developer/CoreSimulator/Devices/F02C06AB-75B0-494B-AF0F-029CFFA94069/data/Containers/Bundle/Application/97F52E59-0DD1-4A89-A3DA-51D3FB56780B/Runner.app/Frameworks/App.framework/flutter_assets//filesource/wav_1.wav: Invalid data found when processing input 2022-03-16 17:50:36.443537+0800 Runner[33387:1220628] flutter: [err] 2022-03-16 17:50:36.443339 [fijk] FijkPlayer{id:2} errorListener: FijkException(-1094995529, Invalid data found when processing input) 2022-03-16 17:50:36.444016+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.443813 [fijk] FijkPlayer{id:2} state changed to FijkState.error <= FijkState.asyncPreparing `
换成在线的wav地址也是一样的报错。。。
想问一下,是否此插件是否支持s48或者wav等格式的音频文件, 另是否支持另外的在线直播类的视频格式,若有不支持的,能否提前告知以下???Thanks。。。。
问题如下: 当setDataSource是本地的mp3或者m4a格式的文件的时候,就可以正常打开,但是: 当setDataSource是我本地的s48或者wav 格式的文件的时候,输出以下报错:
`2022-03-16 17:50:36.401859+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.400301 [fijk] FijkPlayer{id:2} invoke reset #23 2022-03-16 17:50:36.410049+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.409631 [fijk] FijkPlayer{id:2} state changed to FijkState.idle <= FijkState.error 2022-03-16 17:50:36.410925+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.410728 [fijk] FijkPlayer{id:2} invoke reset #23 -> done 2022-03-16 17:50:36.411570+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.411204 [fijk] FijkPlayer{id:2} invoke setDataSource asset:///filesource/wav_1.wav 2022-03-16 17:50:36.413026+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.412424 [fijk] FijkPlayer{id:2} state changed to FijkState.idle <= FijkState.error 2022-03-16 17:50:36.414148+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.413759 [fijk] FijkPlayer{id:2} state changed to FijkState.initialized <= FijkState.idle 2022-03-16 17:50:36.414861+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.414464 [fijk] FijkPlayer{id:2} invoke prepareAsync and start #24 2022-03-16 17:50:36.415351+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.415012 [fijk] FijkPlayer{id:2} setOption k:start-on-prepared, v:1 2022-03-16 17:50:36.416409+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.416091 [fijk] FijkPlayer{id:2} state changed to FijkState.initialized <= FijkState.idle ===== versions ===== ijkplayer : f0.7.16 FFmpeg : ff4.0--ijk0.8.8--20211030--926 libavutil : 56.14.100 libavcodec : 58.18.100 libavformat : 58.12.100 libswscale : 5.1.100 libswresample: 3.1.100 ===== options ===== player-opts : start-on-prepared = 1 format-opts : ijk-http-error = 0 format-opts : ijk-http-code = 206 format-opts : ijkiomanager = 140646620213168 format-opts : scan_all_pmts = 1
-volume=128 > 100, setting to 100 2022-03-16 17:50:36.441393+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.440970 [fijk] FijkPlayer{id:2} state changed to FijkState.asyncPreparing <= FijkState.initialized 2022-03-16 17:50:36.441793+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.441612 [fijk] FijkPlayer{id:2} invoke prepareAsync and start #24 -> done 2022-03-16 17:50:36.442115+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.441939 [fijk] FijkPlayer{id:2} state changed to FijkState.asyncPreparing <= FijkState.initialized /Users/wangfei/Library/Developer/CoreSimulator/Devices/F02C06AB-75B0-494B-AF0F-029CFFA94069/data/Containers/Bundle/Application/97F52E59-0DD1-4A89-A3DA-51D3FB56780B/Runner.app/Frameworks/App.framework/flutter_assets//filesource/wav_1.wav: Invalid data found when processing input 2022-03-16 17:50:36.443537+0800 Runner[33387:1220628] flutter: [err] 2022-03-16 17:50:36.443339 [fijk] FijkPlayer{id:2} errorListener: FijkException(-1094995529, Invalid data found when processing input) 2022-03-16 17:50:36.444016+0800 Runner[33387:1220628] flutter: [inf] 2022-03-16 17:50:36.443813 [fijk] FijkPlayer{id:2} state changed to FijkState.error <= FijkState.asyncPreparing `