rmmux: rework video packetisation and add some debug prints