I am using a translator because I am not good at English, so please understand.
If you issue the following command for a vertical video, ffprobe will output the following information.
Please add a function to display the display matrix.
C:> ffprobe test_moviename.mp4
Side data:
displaymatrix: rotation of 90.00 degrees
Get Media Information
Code:
FFprobe ffprobe = new FFprobe("/path/to/ffprobe");
FFmpegProbeResult probeResult = ffprobe.probe("input.mp4");
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I am using a translator because I am not good at English, so please understand.
If you issue the following command for a vertical video, ffprobe will output the following information. Please add a function to display the display matrix.
C:> ffprobe test_moviename.mp4
Get Media Information
Code:
FFprobe ffprobe = new FFprobe("/path/to/ffprobe"); FFmpegProbeResult probeResult = ffprobe.probe("input.mp4");
FFmpegFormat format = probeResult.getFormat(); System.out.format("%nFile: '%s' ; Format: '%s' ; Duration: %.3fs", format.filename, format.format_long_name, format.duration );
FFmpegStream stream = probeResult.getStreams().get(0); System.out.format("%nCodec: '%s' ; Width: %dpx ; Height: %dpx", stream.codec_long_name, stream.width, stream.height
added>>>streams.display_matrix
I want output >>>> "rotation of 90.00 degrees"
);
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.