By Yan on Thursday, 07 March 2019
Posted in General Issues
Likes 0
Views 477
Votes 0
Hello!How can I change the video processing settings from 25 frames to 30 frames?All modern smartphones and cameras shoot video at 30 frames per second,and your social network processes video at 25 frames,which leads to Gating!Video after processing is jump.Please tell me what script is responsible for video processing and where it can be found?
I want to see 30 frames after encoding!
Currently we do not have setting for this, but you can try modify on this file JoomlaFolder/administrator/components/com_easysocial/includes/ffmpeg/adapter.php

LINE 575 under resize function

[gist type="php"]
$command .= '-y -i ' . $input . ' -r 25 -strict -2 ';
[/gist]

Replace with

[gist type="php"]
$command .= '-y -i ' . $input . ' -r 30 -strict -2 ';
[/gist]

Currently we didn't test with 30 frame during encoding process, perhaps you can let us know what is the result if encoding those video using 30 frames per second.
·
Thursday, 07 March 2019 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Nice work boys! All made as you wrote and now all very well!The video has 30 frames.No problem!You are the best!
Yan
·
Thursday, 07 March 2019 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome

We will see if we can do something about this in the future, for now you have to remember to re-update again that custom code from that file when you update to next Easysocial version.
·
Thursday, 07 March 2019 13:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post