Probably the jack itself. My 5.5G iPod had the same problem (except it died slowly; one earphone stopped putting out sound, and soon, the other) Got it replaced for free by Apple, (just 3 days before the end of the warranty too🙂) and I think this is what you should do.