ffmpeg -vsync drop -fflags +discardcorrupt -i <input> <output>
ffplay -sync ext -fflags +discardcorrupt -framedrop -i <input>
NOTE:
-sync ext sets the master clock to an external source to play in realtime. The master clock is used to control audio-video synchronization. Values are audio, video and ext, default is audio.
-fflags +discardcorrupt discards corrupt packets.
-framedrop drops video frames if video is out of sync. Enabled by default if the master clock is not set to video. Use this option to enable frame dropping for all master clock sources.