Lay a 10-inch (double-layer) square of cheesecloth on a clean work surface. Spoon spices into the center.
Pressing firmly, roll a rolling pin over spice mixture until most of the seeds are cracked. Gather edges of cheesecloth together in the center, twist tightly, and tie securely with kitchen string. Trim ends with scissors, if necessary.