ExtractMpegFramesTest having issue with video recorded in portrait mode in android
问题 I am following ExtractMpegFramesTest post to extract PNG frames from video. This works fine with videos that are recorded in landscape mode but doesn't work with videos that are recorded in portrait mode. Does anybody know how to generate PNG frames from portrait video using solution provided in above link ? I have tested this with 720p and 1080p videos. Couple of things i observed is, MediaExtractor gives width and height 1280 and 720 of 720p video regardless of orientation. this should be