Media Video Options

xF2 Add-on Media Video Options 1.0.1

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,772
Points
823

Reputation:

ENXF NET submitted a new resource:

Media Video Options - Gives XFMG additional parameters for ffmpeg

With Media Video Options you can use the power of ffmpeg for transcode videos.
An extra row in ACP -> Options -> XenForo Media Gallery give ffmpeg some additional video parameters.
The default parameter in this addon scale all videos to 720p. But you can use many other parameters like:
-pixel_format yuv420p -r 30 -preset slow -tune film -crf 25 -maxrate 3500k -vf scale=-2:720 -bufsize 1000k

With this addon you can use only...

Read more about this resource...
 

impound

I love ENXF ! <3
Registered
Joined
Sep 21, 2019
Messages
17
Points
23

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

It is possible to implements something like this on XenForo Resource Manager ?
I have no problems on threads but for resources i have this error:
Code:
The uploaded file does not have an allowed extension. The following extensions are allowed: .jpg, .jpeg, .jpe, .png, .gif
impoundCan be changed in the options:

1621792670000.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

I know, but i'm still getting this error after saving my changes. ^^
impoundWhat have you tried in detail please.
I just uploaded a wav and a mp4 file and both where working as they should
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

impoundI see you want to add the file into the description field.
You can modify the php code of the following file:
  • src\addons\XFRM\Attachment\ResourceUpdate.php
And search there for that line:
  • $constraints['extensions'] = ['jpg', 'jpeg', 'jpe', 'png', 'gif'];
Make a comment in front of that line. Now all allowed attachments from Setup -> Options -> Attachments will now work.
 

impound

I love ENXF ! <3
Registered
Joined
Sep 21, 2019
Messages
17
Points
23

Reputation:

I see you want to add the file into the description field.
You can modify the php code of the following file:
  • src\addons\XFRM\Attachment\ResourceUpdate.php
And search there for that line:
  • $constraints['extensions'] = ['jpg', 'jpeg', 'jpe', 'png', 'gif'];
Make a comment in front of that line. Now all allowed attachments from Setup -> Options -> Attachments will now work.
BattleKingIt works now:
1.png
Thanks for your help. 😀
 
Top