Movie with puppets and real people

Hello, can you help me to find the movie? this is what I remember
>main character is a kid, around 9 years old
>pirates arrive in a flying boat to a village
>pirates eat the villagers
>pirates eat main kid’s mother
>movie with real people and puppets like the Muppets.

Got something to say?