If the same happens with mpv, could it be related to ffmpeg not being compiled with libsmbclient? See here for similar: MPV can’t play files over samba share. As muvvenby mentions, are you able to mount your network share and then play from the mounted directory?