What is the sender app? What is transport protocol - TCP or UDP? Seems possible to me that UDP packets get trunkated to network MTU. That explains why both your decoder and ffplay playback it badly - you receive stream that's already corrupted. -- Andrey Utkin