"Jiraiya the Hero is a 1921 Japanese silent trick film directed by Shōzō Makino. The film is also known as Gōketsu Jiraiya (豪傑児雷也, original title)."
https://en.wikipedia.org/wiki/Jiraiya_the_Hero
"The story of Jiraiya, a legendary ninja with great powers who set off on a adventure."
https://www.imdb.com/title/tt0488015/
https://archive.org/details/GoketsuJiraiyajiraiyaTheHero1921
NB: After the bombing of Japan during WW2, a huge amount of early Japanese cinema has been lost. This is one of the surviving fragments.