Video format data

by enkonyito » Mon Oct 01, 2018 5:20 am

Following this , I wanted to test the addition of the Speed and Frame rate fields in the video panel.

Image


I kept the original VideoFormat constructor by replacing the predefined frameRate.

Code: Select all

new VideoFormat(VideoFormat.JPEG, new Dimension(Width, Height), Format.NOT_SPECIFIED, Format.byteArray, Format.NOT_SPECIFIED)
I modified the getVideoFormat method for which the videoFormat.getFrameRate() value is not taken into account because it is directly retrieved from the new Frame rate field.

When I play a video, the change in frame rate is perceptible but the value of the recorded data is set at 15 frames/sec.
video test_SH3D-6.0beta_320x240 pixels - 4-3 - 25 frames-seconde.mov
video test_SH3D-6.0beta_320x240 pixels - 4-3 - 50 frames-seconde.mov