parse CODEC from Manifest and move demux probing function in its own class
related to #142