Re: Video format data

by enkonyito » Wed Oct 03, 2018 10:20 pm

By creating a new instance,

Code: Select all

videoFormat = new VideoFormat(VideoFormat.JPEG, new Dimension(videoFormat.getSize().width, videoFormat.getSize().height), Format.NOT_SPECIFIED, Format.byteArray, controllerFrameRate)
the frame rate is updated with each change and the correct value appears in the recorded video data.

Image
userGuideExample_SH3D-6.0beta_speed 0.5x_frame rate 60_PVR-1.6betaTest

Regarding the Speed field, the value is expressed in factor as for most video players/editors. Normal speed (1.0x) is the default speed of SH3D.
Its value change is taken into account when the play/pause button is pressed.