A Multi-Media lib adapted from ffplay