proof of concept port: frameextractor -> framewriter