Whenever transcoder engine uses PassThroughTrackTranscoder for video track, it ignores original video rotation metadata, and passed setVideoRotation value.
It seems library properly checks that the validator result should be ignored here, however, later it doesn't use this value, which results in a video without any rotation.
Sample code:
Transcoder
.into(destinationPath)
.addDataSource(new FilePathDataSource(sourcePath))
.setVideoTrackStrategy(new PassThroughTrackStrategy())
.setAudioTrackStrategy(new PassThroughTrackStrategy())
.setVideoRotation(90)
.transcode();
Also this code causes Transcoder to create a video without original rotation metadata:
Transcoder
.into(destinationPath)
.addDataSource(new FilePathDataSource(sourcePath))
.setVideoTrackStrategy(new PassThroughTrackStrategy())
.setAudioTrackStrategy(new RemoveTrackStrategy())
.transcode();
Transcoder version: 0.9.1