It sounds like the buttons on this unknown headphone have failed.
I got new headphones and they worked perfectly for over a month. Suddenly, yesterday, when I plug them in the media sound, notification sound, ringtone sound move up and down by itself. Also, the song pauses and plays and changes by itself.
But it works fine without headphones or when I connect it to my blue tooth speaker. It's super annoying and frustrating!
I've tried using all the different media players already on the phone, but it still does it. It even does it when I'm on an app with audio.
I read some where to reset the phone to factory settings and I did that, but nothing changed.
Galaxy S3 Android

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic