[dtdemuxer] switch dtdemuxer to c++