* don't use the codec in video_writer * this produces broken videos for some reason * bugfix * refactor on the class * works on device * fix codec * no codec enum * fix pc * move into dirs * these includes also * rename it ffmpegencoder * add avcodec_close Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: 2008db47c208f6f0fd661cc45f215bb80aef38d0