小陈
小陈
安卓tv也出现相同情况,在资料库点“随机播放”之后,歌曲的封面歌词都加载出来了,就是无法播放。 我目前的解决办法是再点一次“随机播放”按钮,就正常了
不太能 get 到你的问题,你是指 go-emby2alist 通过 nginx 间接连接 emby server,会导致最终访问的是 8096 吗 还是一些调用第三方播放器的脚本,弹出来的播放器,播放的是 8096
日志有没有报什么错,有可能是代理异常重定向回源了
第一个问题是浏览器跨域,可以尝试通过浏览器插件解决,参考这里 #1 第二个问题不够具体,下次遇到的话可以看看docker日志中是否有错误输出,把日志一并贴出来,感谢
涉及到网络的问题我本地还不好测试,除了这个日志还有其他的吗,特别是http响应码是4开头的
方便协助我测试一下吗, 就是使用 http 请求工具,比如 postman,发送一个请求,然后将响应发给我看一下: **请求方法**:`POST` **请求路径**:`${你的协议域名端口 (这里指向的是你的 emby 源服务器) }/Items/28434/PlaybackInfo?api_key=1a30c2b040994f7bb0cbf65b3ec527b3&reqformat=json` **请求体类型**:`text/plain` **请求体**:`{"DeviceProfile":{"MaxStaticBitrate":140000000,"MaxStreamingBitrate":140000000,"MusicStreamingTranscodingBitrate":192000,"DirectPlayProfiles":[{"Container":"mp4,m4v","Type":"Video","VideoCodec":"h264,h265,hevc,av1,vp8,vp9","AudioCodec":"mp3,aac,opus,flac,vorbis"},{"Container":"mkv","Type":"Video","VideoCodec":"h264,h265,hevc,av1,vp8,vp9","AudioCodec":"mp3,aac,opus,flac,vorbis"},{"Container":"flv","Type":"Video","VideoCodec":"h264","AudioCodec":"aac,mp3"},{"Container":"3gp","Type":"Video","VideoCodec":"","AudioCodec":"mp3,aac,opus,flac,vorbis"},{"Container":"mov","Type":"Video","VideoCodec":"h264","AudioCodec":"mp3,aac,opus,flac,vorbis"},{"Container":"opus","Type":"Audio"},{"Container":"mp3","Type":"Audio","AudioCodec":"mp3"},{"Container":"mp2,mp3","Type":"Audio","AudioCodec":"mp2"},{"Container":"m4a","AudioCodec":"aac","Type":"Audio"},{"Container":"mp4","AudioCodec":"aac","Type":"Audio"},{"Container":"flac","Type":"Audio"},{"Container":"webma,webm","Type":"Audio"},{"Container":"wav","Type":"Audio","AudioCodec":"PCM_S16LE,PCM_S24LE"},{"Container":"ogg","Type":"Audio"},{"Container":"webm","Type":"Video","AudioCodec":"vorbis,opus","VideoCodec":"av1,VP8,VP9"}],"TranscodingProfiles":[{"Container":"aac","Type":"Audio","AudioCodec":"aac","Context":"Streaming","Protocol":"hls","MaxAudioChannels":"2","MinSegments":"1","BreakOnNonKeyFrames":true},{"Container":"aac","Type":"Audio","AudioCodec":"aac","Context":"Streaming","Protocol":"http","MaxAudioChannels":"2"},{"Container":"mp3","Type":"Audio","AudioCodec":"mp3","Context":"Streaming","Protocol":"http","MaxAudioChannels":"2"},{"Container":"opus","Type":"Audio","AudioCodec":"opus","Context":"Streaming","Protocol":"http","MaxAudioChannels":"2"},{"Container":"wav","Type":"Audio","AudioCodec":"wav","Context":"Streaming","Protocol":"http","MaxAudioChannels":"2"},{"Container":"opus","Type":"Audio","AudioCodec":"opus","Context":"Static","Protocol":"http","MaxAudioChannels":"2"},{"Container":"mp3","Type":"Audio","AudioCodec":"mp3","Context":"Static","Protocol":"http","MaxAudioChannels":"2"},{"Container":"aac","Type":"Audio","AudioCodec":"aac","Context":"Static","Protocol":"http","MaxAudioChannels":"2"},{"Container":"wav","Type":"Audio","AudioCodec":"wav","Context":"Static","Protocol":"http","MaxAudioChannels":"2"},{"Container":"mkv","Type":"Video","AudioCodec":"mp3,aac,opus,flac,vorbis","VideoCodec":"h264,h265,hevc,av1,vp8,vp9","Context":"Static","MaxAudioChannels":"2","CopyTimestamps":true},{"Container":"ts","Type":"Video","AudioCodec":"mp3,aac","VideoCodec":"h264,h265,hevc,av1","Context":"Streaming","Protocol":"hls","MaxAudioChannels":"2","MinSegments":"1","BreakOnNonKeyFrames":true,"ManifestSubtitles":"vtt"},{"Container":"webm","Type":"Video","AudioCodec":"vorbis","VideoCodec":"vpx","Context":"Streaming","Protocol":"http","MaxAudioChannels":"2"},{"Container":"mp4","Type":"Video","AudioCodec":"mp3,aac,opus,flac,vorbis","VideoCodec":"h264","Context":"Static","Protocol":"http"}],"ContainerProfiles":[],"CodecProfiles":[{"Type":"VideoAudio","Codec":"aac","Conditions":[{"Condition":"Equals","Property":"IsSecondaryAudio","Value":"false","IsRequired":"false"}]},{"Type":"VideoAudio","Conditions":[{"Condition":"Equals","Property":"IsSecondaryAudio","Value":"false","IsRequired":"false"}]},{"Type":"Video","Codec":"h264","Conditions":[{"Condition":"EqualsAny","Property":"VideoProfile","Value":"high|main|baseline|constrained baseline|high 10","IsRequired":false},{"Condition":"LessThanEqual","Property":"VideoLevel","Value":"62","IsRequired":false}]},{"Type":"Video","Codec":"hevc","Conditions":[{"Condition":"EqualsAny","Property":"VideoCodecTag","Value":"hvc1|hev1|hevc|hdmv","IsRequired":false}]}],"SubtitleProfiles":[{"Format":"vtt","Method":"Hls"},{"Format":"eia_608","Method":"VideoSideData","Protocol":"hls"},{"Format":"eia_708","Method":"VideoSideData","Protocol":"hls"},{"Format":"vtt","Method":"External"},{"Format":"ass","Method":"External"},{"Format":"ssa","Method":"External"}],"ResponseProfiles":[{"Type":"Video","Container":"m4v","MimeType":"video/mp4"}]}}`
尝试修复了一下,可以切换到测试版试试看
> 这里顺便提个问题,我用ffmpeg生成虚拟文件,线程8,总文件数是3694, 如果是本地存储的文件,那么使用时间仅4分钟,CPU占用大概50%那样, 而如果是网盘的资源(目前用的天翼网盘),那么CPU仅占用20%不到, 速度明显慢很多,同样的时间只跑了10%左右,一开始我怀疑是网络问题才增加的这个功能 但是我尝试了在网络环境很好的情况下依旧如此, 并且我尝试了在阿里云的2核心的国内服务器,理论上它的CPU应该爆满,但是也不到50% 加上网络请求的延迟等因素,这个我感觉是不正常的,感觉是多线程并发有点问题,但不太清楚是openlist还是该项目问题 程序为了尽量避免风控, ffmpeg 的调用加限制了,只允许有一个线程调用 cmd,所以没法拉满 cpu 是正常的,配置里的线程数是给那些风控比较厉害的网盘用的
I encountered the same problem on Android TV. Later I found that when libass is turned on and `vo=gpu` or `vo=gpu-next`, PGS subtitles can be rendered normally, and when `vo=mediacodec_embed`,...
Sure, this is my configuration. The font file is from [mpv-android](https://github.com/mpv-android/mpv-android/raw/refs/heads/master/app/src/main/assets/subfont.ttf) ```dart final player = Player( configuration: PlayerConfiguration( libass: vo == 'gpu-next', libassAndroidFont: vo == 'gpu-next' ? 'assets/subfont.ttf' : null,...