Tumbleweed 下 VLC 无法播放局域网 smb 上的视频

Tumbleweed 下安装了 VLC,相关的解码器也装了,播放本地的视频,没有任何问题。
昨天电脑想看下电视盒子挂载的移动硬盘上的视频 (只试过 mp4 格式的),通过文件浏览器,可以正常访问盒子和移动硬盘(smb://xxxxxxx),这是直接打开视频文件,用 vlc 播放,vlc 却不能播放,进度条左右跑了几圈,然后就完了。
在 vlc 上、百毒上找 vlc 的 log,没找到。。。
有遇到相同情况的吗???
盒子上没试过别的(像 nfs)服务。
又使用手机上的文件浏览器,浏览了盒子,同样的其他像 txt 文件,都能打开,视频文件同样不能播放。
难道是盒子的 smb 的问题???
求大大

要是手机上别的播放器也放不了视频那就肯定是 smb 的问题啊

视频文件没问题,手机上好几个播放器都试过,都播不了
但是我 smb 浏览 下载 也都没问题。。。

我试过用 smbmount 挂载可以播放。具体的挂载参数我是拷贝别人的,不记得了,你可以搜索一下

这是通过 vlc 播放 smb 上的视频报的错:

smb error: read failed (Invalid argument)
mp4 error: MP4 plugin discarded (no moov,foov,moof box)
smb error: read failed (Invalid argument)
smb error: read failed (Invalid argument)
avformat error: Could not open smb://192.168.0.2/ 学习资料 /xxxxxxx.mp4: Unknown error 1094995529
smb error: read failed (Invalid argument)
smb error: read failed (Software caused connection abort)

不知道发生了什么

把防火墙关了试试
有一次搞 DLNA,VLC 总放不了,就发现原来防火墙会影响

另外试试用 kodi 放,感觉 kodi 放局域网视频比 VLC 可靠

感觉不像,我播放几百 M 的.mp4 文件就可以播放,3G 左右的就不能播

同样遇到了,smplayer 能放,vlc 本地硬盘能放,放到 smb 就放不出来了……

作为 videolan,一个网络播放而著称的播放器,这是赤裸裸的打脸啊……

as a videolan player can not play videos from lan,what a shame

我试过局域网放映,换哪个播放器都不能拖动,最好是用 nginx+rtsp 搭建一个服务器,用手机也能看

smb 这个协议性能应该是最差的吧
ftp 比它好,也容易搭建
DLNA 也不错,但用的是服务器端解码。
nfs 协议理论上比以上都好,就是盒子上的软件支持 nfs 极少

不要迷信 videolan 这个名字,它在 lan 方面的 bug 不少

VLC 的 log 在 Tools -> Messages,还是看 log 靠谱一些

smb error: read failed (Invalid argument)
mp4 error: MP4 plugin discarded (no moov,foov,moof box)
smb error: read failed (Invalid argument)
smb error: read failed (Invalid argument)
avformat error: Could not open smb://192.168.0.2/ 学习资料 /xxxxxxx.mp4: Unknown error 1094995529
smb error: read failed (Invalid argument)
smb error: read failed (Software caused connection abort)
这个就是从那里复制出来的,然而还是看不明白

verbosity level 是 debug 吗?

另外我看这个 log,怎么感觉是跟 codecs 有关系?能读但是读不出。去 YaST 里把 vlc 的安装来源捋顺下?

我记得我的 vlc 是安装 packman 源的,然后把里面的解码器差不多都装了。。。

main debug: processing request item: Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv, node: 播放列表, skip: 0
main debug: resyncing on Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv
main debug: Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv is at 0
main debug: starting playback of new item
main debug: resyncing on Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv
main debug: Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv is at 0
main debug: creating new input thread
main debug: Creating an input for 'Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `smb://192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv' gives access `smb' demux `any' path `192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv'
main debug: creating demux: access='smb' demux='any' location='192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv' file='(null)'
main debug: looking for access_demux module matching "smb": 18 candidates
main debug: no access_demux modules matched
main debug: creating access: smb://192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv
main debug: looking for access module matching "smb": 29 candidates
qt debug: IM: Setting an input
main debug: using access module "smb"
main debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates
prefetch debug: using 16777216 bytes buffer, 16777216 bytes read
main debug: using stream_filter module "prefetch"
main debug: looking for stream_filter module matching "any": 26 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for smb://192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv
main debug: looking for stream_filter module matching "record": 26 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='smb' demux='any' location='192.168.50.2/video/hdc/ 冰海陷落.Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS/Hunter.Killer.2018.BluRay.2160p.x265.10bit.HDR.2Audio.mUHD-FRDS.mkv' file='(null)'
main debug: looking for demux module matching "any": 53 candidates
mkv debug: | + Seek head
mkv debug: | - info at 4151
mkv debug: | + Information
mkv debug: | | + TimecodeScale=1000000
mkv debug: | | + Muxing Application=libebml v1.3.5 + libmatroska v1.4.8
mkv debug: | | + Writing Application=mkvmerge v20.0.0 ('I Am The Sun') 64-bit
mkv debug: | | + Duration=7302336
mkv debug: | | + UID=671520126
smb debug: seeking to 75
mkv debug: | - tracks at 4281
mkv debug: | + Tracks
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=1
mkv debug: | | | + Track UID=3261032341
mkv debug: | | | + Track Type=video
mkv debug: | | | + Track Lacing=0
mkv debug: | | | + Track CodecId=V_MPEGH/ISO/HEVC
mkv debug: | | | + Track CodecPrivate size=128
mkv debug: | | | + Track Default Duration=41708333
mkv debug: | | | + Track Language=`und'
mkv debug: | | | + Track Video
mkv debug: | | | | + width=3840
mkv debug: | | | | + height=1604
mkv debug: | | | | + display width=3840
mkv debug: | | | | + display height=1604
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=2
mkv debug: | | | + Track UID=3488042431
mkv debug: | | | + Track Type=audio
mkv debug: | | | + Track CodecId=A_TRUEHD
mkv debug: | | | + Track Name=英语全景声
mkv debug: | | | + Track Audio
mkv debug: | | | | + afreq=48000
mkv debug: | | | | + achan=8
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=3
mkv debug: | | | + Track UID=1756468820
mkv debug: | | | + Track Type=audio
mkv debug: | | | + Track Default=0
mkv debug: | | | + Track CodecId=A_AC3
mkv debug: | | | + Track Default Duration=32000000
mkv debug: | | | + Track Name=英语 AC-3
mkv debug: | | | + Track Audio
mkv debug: | | | | + afreq=48000
mkv debug: | | | | + achan=6
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=4
mkv debug: | | | + Track UID=3262577643
mkv debug: | | | + Track Type=subtitle
mkv debug: | | | + Track Lacing=0
mkv debug: | | | + Track CodecId=S_HDMV/PGS
mkv debug: | | | + Track Language=`chi'
mkv debug: | | | + Track Name=简中
mkv debug: | | | + Content Encodings
mkv debug: | | | | + Content Encoding
mkv debug: | | | | | + Content Compression
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=5
mkv debug: | | | + Track UID=359737644
mkv debug: | | | + Track Type=subtitle
mkv debug: | | | + Track Default=0
mkv debug: | | | + Track Lacing=0
mkv debug: | | | + Track CodecId=S_HDMV/PGS
mkv debug: | | | + Track Language=`chi'
mkv debug: | | | + Track Name=简英
mkv debug: | | | + Content Encodings
mkv debug: | | | | + Content Encoding
mkv debug: | | | | | + Content Compression
mkv debug: | | + Track Entry
mkv debug: | | | + Track Number=6
mkv debug: | | | + Track UID=727117914
mkv debug: | | | + Track Type=subtitle
mkv debug: | | | + Track Default=0
mkv debug: | | | + Track Lacing=0
mkv debug: | | | + Track CodecId=S_HDMV/PGS
mkv debug: | | | + Track Name=英文 SDH
mkv debug: | | | + Content Encodings
mkv debug: | | | | + Content Encoding
mkv debug: | | | | | + Content Compression
mkv debug: | - cues at 14066080829
smb debug: seeking to 14066080829
mkv debug: | + Cues
prefetch debug: end of stream
mkv debug: | - loading cues done.
smb debug: seeking to 108
smb error: read failed (Software caused connection abort)
prefetch debug: end of stream
mkv debug: found nothing, go up
mkv debug: found nothing, go up
mkv debug: found nothing, go up
mkv error: cannot find any cluster or chapter, damaged file ?
mkv debug: Stopping the UI Hook
smb debug: seeking to 0
smb error: read failed (Software caused connection abort)
prefetch debug: end of stream
ps debug: cannot peek
mjpeg warning: no more data
mjpeg error: cannot peek
mpgv debug: cannot peek
avformat warning: cannot peek
ps debug: cannot peek
vobsub debug: could not read vobsub IDX file
main debug: no demux modules matched
main debug: removing module "record"
main debug: removing module "prefetch"
main debug: removing module "smb"
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 0/1)
main debug: nothing to play

另外,额外作了一些尝试:

leap 15.1 里面这个 VLC 是可以正常播放的,但 TW 不管是 packman 还是官方源里面这个包,都不行。

我记得播放 smb 的视频 小点的可以播放,稍微大点的就播不了了

@Schr0dingerCat 是不是中文名导致的?你把 mkv 改名成英文的看看?