Multisoliton formation in magnetic thin films