ios - Vlc 移动套件 iOS 重复,随机播放视频
问题描述
我曾尝试在目标 c 中使用 vlc 套件移动 iOS 播放视频,但是当我尝试播放视频列表以提供随机播放和重复所有功能时.. 视频没有播放,而只有音频正在播放。
控制台输出:-
[h264 @ 0x7fb0bd042c00] get_buffer() failed
[h264 @ 0x7fb0bd042c00] thread_get_buffer() failed
[h264 @ 0x7fb0bd042c00] decode_slice_header error
[h264 @ 0x7fb0bd042c00] no frame!
[h264 @ 0x7fb0bd1e6600] get_buffer() failed
代码发布在下面: -
VLCMediaList *list = [[VLCMediaList alloc]initWithArray:[NSArray arrayWithObjects:[VLCMedia mediaWithURL:fileurl], nil]];
[listPlayer setMediaList:list];
[listPlayer setRepeatMode:VLCRepeatAllItems];
[listPlayer play];
我无法找出上面代码的问题。
解决方案
推荐阅读
- raspberry-pi3 - Raspberry Pi3B+ 上的 Nordlynx 和 Buster
- python - 如何根据作为字母数字值的特定值对包含多个字典的列表进行排序
- f# - 在 F# 中获取目录大小的惯用方法
- javascript - axios - 从 API 调用加载数据时的 [Object Promise]
- javascript - 用分号换行符将csv文件拆分为javascript(节点)中的二维数组
- node.js - 无法通过 setDescription() 函数在 args TypeError 之后总是缺少 )
- extjs - 带有小部件作为按钮的 Extjs 小部件列
- java - Recaptcha v3 使 Token 失效
- powershell - 使用 PowerShell 配置文件更改了起始路径,但无法将其改回
- python - 熊猫动态应用过滤器