• Resolved paulisawoof

    (@paulisawoof)


    Hi, on a multisite the subsite admins have too much control over server side ffmpeg settings, when all they really need is a preconfigured smooth process for encoding and embedding.

    On a multisite all ffmpeg settings should really be network only – for configuration by the super admin.
    currently subsite admins have access to encoding settings that could cause problems with the encoding or overstress the server, and that they likely will not understand or want to understand.

    As for creating a seamless automated encoding process this awesome plugin is almost there. the “Do automatically on upload” setup works very well though some mechanism for choosing which of the encoded formats is embedded is needed. it could be a simple check box above “insert into post” for which format 480, 720 etc…
    as it is a casual user would never figure out which of their encodes is ending up on the page and why that one, etc ..
    without a multiformat player that would have a button for each (like youtube etc) , some means of format selection for the embed is needed.

    I’ve been trying to hack your fine plugin to bring these changes but find even the most innocuous changes break the plugin, i simply don’t have the php chops to do it.
    Any advice on how these changes could be implemented by altering the code would be appreciated.
    or please take these observations under advisement for future releases.
    1 – all ffmpeg settings super admin only
    2 – selection for which format to embed
    thanks.

    https://wordpress.org/plugins/video-embed-thumbnail-generator/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    I’m not a multisite expert by any means, but is it usually the case for multisite installations that the admins of subsites don’t have access to admin settings? If you don’t want your admins to have access to encoding settings, shouldn’t they not be admins? I’m sure there are cases where a multisite installation is made up of several different sites with different encoding needs. I don’t feel right taking that flexibility away. In version 4.3 I moved a few settings to the network admin that didn’t make sense to have each site configure separately, but which FFMPEG settings are still available to sites in that could lead to overstressing the server?

    Like I said in response to your earlier post, the plugin is designed to treat the various formats of the video as a single media attachment, because when you embed one of them, you actually embed all of the web-compatible formats of the video as possible sources. The browser chooses the appropriate format to play depending on the device and browser in use. Maybe I just don’t understand what you’re trying to do, but it seems like giving an option to choose different embed formats would just add to the confusion, not reduce it.

    Thread Starter paulisawoof

    (@paulisawoof)

    Hi,
    The level of control given to subsite admins varies, which is why there are multiple plugins aimed at restricting subsite admins from various menu items and tools, but in the case of ffmpeg encoding, for most multisite apps, the user side, ie subsite admin side, needs to be bullet proof. if i have any random user changing settings like ‘h264 profile’ and ‘constant rate factor’ i’ll have a bunch of encoding errors, support tickets, and unproductive ffmpeg usage, because they’ll be flipping the switches every which way, because thats how people are. 🙂
    on my site its setup to auto encode and ive removed the encode button for all but superadmins. i need it to work like vimeo or any commercial video application where the user uploads and the encoding is automatic, and this plugin is so close to that goal.
    the subsites are much like a channel on the mother site …
    “Like I said in response to your earlier post, the plugin is designed to treat the various formats of the video as a single media attachment” —
    absolutely, and i think thats a very good way to do it, but as it is, most of the time the highest res encode will default, so when i automatically create a 480, 720, and a 1080 the 1080 will be the one rendered without a means to choose the 480. its great to have 3 formats available but most users will want the 480 because it will play smoothly with no buffering, but will want the option for the higher res, sometimes.
    ideally a good multiformat player will come along …

    anyway thats the way i see the best application of your plugin in a multisite environment where the subsite admins could be anybody and they likely don’t know what ffmpeg is, much less how to configure it. They just want to post cellphone video of their dog.

    thanks for the thoughtful response.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I think the best solution is for me to create a custom user privilege for FFMPEG settings. Some multisite super admins will want their site admins to have access to those settings and some won’t, so I’ll work on a way to create that flexibility. I’ve created an issue on GitHub so you can track my progress. Don’t expect much to happen soon. I have a lot of other demands on my time right now so I’m not doing any development.

    I have other users requesting the ability to switch resolutions using the player. I’ve always considered it beyond the scope of the project to build a customized player, but I’m looking into it. I’ve considered most current functions of the plugin to be beyond the scope of the project but I keep trying to make people happy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature request – for multisite’ is closed to new replies.