add video encoding and decoding demo