|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Video format data |
|
| Print at Dec 19, 2025, 12:57:42 PM | |
| Posted by enkonyito at Oct 1, 2018, 5:20:13 AM |
|
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 VideoFormat constructor 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. 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 ---------------------------------------- EnkoNyito |
| Posted by svedel77 at Oct 1, 2018, 3:28:45 PM |
|
Re: Video format data If this is getting to work, I'll be so happy! |
| Posted by Matthenry3 at Oct 1, 2018, 4:18:29 PM |
|
Re: Video format data Looks good. Hope this will work perfectly. |
| Posted by enkonyito at Oct 3, 2018, 10:20:41 PM |
|
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)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. ---------------------------------------- EnkoNyito |
| Posted by bdfd at Oct 4, 2018, 6:40:22 AM |
Re: Video format dataDid 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 |
| Posted by pabloab at Feb 23, 2023, 5:29:33 AM |
|
Re: Video format data I tweak the old .mov to be upscaled, slower, and in h264 .mp4, WhatsApp shareable. #!/usr/bin/env bash |
|
|
Current timezone is GMT Dec 19, 2025, 12:57:42 PM |