Transcoder: add process method based on stream

* Enum to value eProcessMethodBasedOnStream.
* Add attribute _indexBasedStream to get the index of stream.
* Stop transcode at the end of an indicated stream.