-2
我正在使用来自here的Gary示例。Android libVLC - 文件路径而不是URL错误
唯一的修改是,我打开一个本地视频这样的:
mMediaUrl = "/storage/emulated/0/MyFolder/20161003_1217.mp4";
,我得到以下错误:
10-03 12:54:13.588 16681-17397/windylabs.com.vlcplayersample E/VLC-std: Warning: input_item_SetURI("/storage/emulated/0/MyFolder/20161003_1217.mp4"): file path instead of URL.
10-03 12:54:13.588 16681-17397/windylabs.com.vlcplayersample E/VLC-std: input_SplitMRL("/storage/emulated/0/MyFolder/20161003_1217.mp4") probably not a valid URI!
10-03 12:54:15.718 16681-17399/windylabs.com.vlcplayersample E/VLC: [dece4214] core input: open of `/storage/emulated/0/MyFolder/20161003_1217.mp4' failed
10-03 12:54:15.728 16681-17399/windylabs.com.vlcplayersample E/VLC: [dece4214] core input: Your input can't be opened
10-03 12:54:15.728 16681-17399/windylabs.com.vlcplayersample E/VLC: [dece4214] core input: VLC is unable to open the MRL '/storage/emulated/0/MyFolder/20161003_1217.mp4'. Check the log for details.
我不知道从哪里上的错误指定的日志是。这个例子中,来自here的视频流正在运行,但是我的SD卡上的视频未播放!
感谢您的回答,但这个工作没有人! – hackingforgirls