Amateur video appears to show opponents of Muammar Gaddafi's regime being beaten at a Libyan detention centre.