Joined: May 28, 2015
Post Count: 601
Status:
Offline
Video format data
Following this , I wanted to test the addition of the Speed and Frame rate fields in the video panel.
I kept the original VideoFormatconstructor by replacing the predefined frameRate.
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.
Joined: May 28, 2015
Post Count: 601
Status:
Offline
Re: Video format data
By creating a new instance,
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.
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.
----------------------------------------
EnkoNyito
Western Europa
Joined: Mar 29, 2014
Post Count: 2614
Status:
Offline
Re: Video format data
Did you test this path in quality 3 or 4 ?
If yes, what was the calculation time ? .
----------------------------------------
Evil progresses when good people do nothing! --- SH3D 7.1 and nothing else - W11 64b in 4K