-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
video error: "Error splitting the input into NAL units." #30
Comments
i use this mpd. produce an error: Server returned 403 Forbidden (access denied) |
the URL will expire after some time due to bilibili limit, can you try below script to create a test server locally? |
This page contains the following errors: |
so sorry, fixed the code |
Unable to parse '/Users/kingslay/Library/Developer/Xcode/DerivedData/Demo-atfnkhqcmxsbaxhiuyrjxwhemsfx/Build/Products/Debug-maccatalyst/demo-iOS.app/Contents/Resources/1.mpd' - missing root node |
Oh..you are saving the mpd as local file? I didn’t test local file, I was playing URL http://127.0.0.1/test directly, and it works fine. Thanks for your time! let me try save as local file as well |
但我直接用 http://127.0.0.1/test 播放报错 KSPlayer: MEPlayerItem.swift:88 init(url:options:) | Failed to open fragment of playlist 0 |
有点奇怪。。我测试了存成本地文件和直接用url都没有错误 我先把这个问题关掉了,让我再研究下,多谢! |
@wanwe 你可以试着把videoAdaptable的默认值改成是false。看下是不是因为多码率切换导致的问题。 |
@kingslay 多谢! |
不好意思,重开一下这个issue
我试着用以前的版本试了一下,有同样的问题(同一个视频)。可能以前的时候看的别的视频都比较短,这种错误出现的几率低?
你可以再试一下这个code吗? 会自动生成bilibili_test.mpd文件,我的测试的时候, 播放没问题。
我的测试
大部分时候问题在4:00 |
你是用iPhone模拟器吗?我这边播放报错"Invalid data found when processing input"。我用其他的播放器例如 vlc也是无法播放这个mpd。你有改ffmpeg吗? |
Iphone/Apple tv simulator 都试了,都没问题 好奇怪啊,你可以把生成的mpd内容贴上来吗?看看和我的有啥不一样 |
|
Hi Kingslay,
After upgrading to latest develop, I'm getting below error very often when playing bilibili videos:
when this error happens, video will stop playing.
this issue was not there back in Apr, when I first tried the code. do you have any idea what could be the root cause and how to solve it? any info would be helpful, thanks !
sample video: https://www.bilibili.com/video/BV1Wb411S7eE?p=6
The text was updated successfully, but these errors were encountered: