Jump to content

KVS 5.2.0 development


Tech Support

Recommended Posts

In Push notifications plugin we added ability to enable it only for specific traffic (referers), which may be useful if you don't want to show push notifications for all traffic:

 

push_notifications_referers.thumb.png.96d54041a2b7430a569d41f8db717546.png

 

ReCAPTCHA plugin was updated with ability to configure separate keys for alias domains if your project is working in parallel under several domains:

 

recaptcha_aliases.thumb.png.1f129d3787f026b0ded5885b9fe8df69.png

  • Like 1
Link to comment
Share on other sites

A new option was added into tag settings, which will automate adding old tags as synonyms, when renaming them to another tags.

 

The idea here is that in most cases you rename tags when you want them to be spelled differently, after they are imported or created by users with typos, as an example. And you typically want these tags to not appear again, even if users try to specify the same wrong tag again. Therefore adding this old tag as synonym to its new value will solve the issue - such tag will never be added again.

 

This option is enabled by default, as we believe this is the most common behavior.

 

tag_settings_rename.thumb.png.cf2ef009321327f2b7ca314580775e3a.png

Link to comment
Share on other sites

  • 2 weeks later...

There were 2 features added that can optimize server load caused by importing processes.

 

The first one is a global option located in Settings -> Content settings that can be used to limit download speed of all downloads performed by KVS. Sometimes import processes may utilize the whole network channel, or speedy downloads may result in disk overload, which may be an issue together with big traffic on the site. Now you can set download limit and reduce this load if it prevents your server from normal operation:

 

script_download_limit.png.ca93dd54404ff3821840556ca7014603.png

 

Another option was added directly to import options. When you import files that are already uploaded to your server, import will not download them but will use copy procedure instead. Copying of big local files may result in disk overload as well, so we added an option to use move procedure in this case, which in fact won't produce any disk load:

 

import_move_local_files.thumb.png.658351b5d00af05c513d3f362192909c.png

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

File upload from local disk was completely re-written to use chunked upload method. This means that there will be no more need to use subdomain to workaround CloudFlare upload size limit set to 100mb - instead KVS will upload files in smaller chunks one by one.

 

upload_progress.png.5d7f647f20af7a9d4f037644a3a599ef.png

 

Changing this also allowed us to modify how max filesize limit is being configured. Previously it was only possible to configure filesize limit for files that are uploaded from URLs, because KVS could not control limit for files uploaded from disk (this limit was managed by PHP / nginx config options). Now we changed it to single limit option that affects both files uploaded from disk or URLs:

 

upload_size_limit.thumb.png.331b37b3c50516fecaa6aad498f6c0c4.png

 

  • Like 1
Link to comment
Share on other sites

File upload from local disk was completely re-written to use chunked upload method. This means that there will be no more need to use subdomain to workaround CloudFlare upload size limit set to 100mb - instead KVS will upload files in smaller chunks one by one.

 

[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"upload_progress.png","data-attachmentid":1097}[/ATTACH]

 

Changing this also allowed us to modify how max filesize limit is being configured. Previously it was only possible to configure filesize limit for files that are uploaded from URLs, because KVS could not control limit for files uploaded from disk (this limit was managed by PHP / nginx config options). Now we changed it to single limit option that affects both files uploaded from disk or URLs:

 

[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"upload_size_limit.png","data-attachmentid":1098}[/ATTACH]

 

This is good news.

Well done!

Link to comment
Share on other sites

In Push notifications plugin we added ability to enable it only for specific traffic (referers), which may be useful if you don't want to show push notifications for all traffic:

 

[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"push_notifications_referers.png","data-attachmentid":1079}[/ATTACH]

 

ReCAPTCHA plugin was updated with ability to configure separate keys for alias domains if your project is working in parallel under several domains:

 

[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"recaptcha_aliases.png","data-attachmentid":1080}[/ATTACH]

 

Only allow 5 Aliases, to use ReCAPTCHA and those with more than 5

 

Link to comment
Share on other sites

 

Only allow 5 Aliases, to use ReCAPTCHA and those with more than 5

 

We do not want to add more aliases for now as we think having many aliases at the same time is not what they were designed for.

 

If you want to increase in your installation, please add custom changes to this file:

/admin/plugins/recaptcha/recaptcha.tpl

 

It has a number of these lines:

{{section name="aliases" loop=5}}

 

Change 5 to whatever you want to display more slots. But make sure that you consider this when you update your KVS to the future versions and your custom changes are not rewritten.

Link to comment
Share on other sites

 

In traffic stats we added support to separate stats by device types (phones, tablets, pcs):

 

stats_in_devices.thumb.png.51a5a80606a8e6f566ab59b51d391920.png

 

In player stats we also added support to separate stats by embed profile in case you use multiple embed profiles and want to compare their stats. This is very important for projects that are using KVS to embed videos to multiple other sites and may need individual stats for each domain:

 

stats_player_embed_profiles.thumb.png.0231504ee8db2c7f1d71de4aef680f11.png

 

In order to enable these types of stats you should go to Settings -> Stats settings and activate new options. They will NOT be enabled automatically after update:

 

stats_settings_devices.png.f38c2a6ff0acc0c5e18c8b2ef2f558b3.png

Link to comment
Share on other sites

Welcome our new Anti-spam feature. Though it is not yet finalized, we decided to share it here and ask for your feedback. If you think that something is missing and could be improved, please let us know via contacting our support.

 

Basically our idea is to use the amount of posted content from a single IP / username as a primary factor for spam detection. Other methods like analyze the posted content by similarity or parse and detect URLs in the posted content doesn't seem reasonable for us: they either need google level AI, or otherwise they won't be rather effective.

 

As a result we would like to let you configure several levels of "suspicions" and different actions for all these levels. Each type of content allowed to be posted by users will have their own spam protection settings (videos, albums, posts, comments, playlists, channels and messages), so that it will be possible to configure separate rules. Here is an example of configuration for comments and messages:

 

antispam_settings.png.0464f3ffb9b5426040eeeab511f6eb7c.png

 

This configuration supposes that comments by default do not require captcha solving and are posted immediately without any approval. Then based on how many comments are submitted from the same IP / username different rules may apply:

  • If more than 5 comments are submitted within last 2 minutes, KVS will automatically require captcha for any new comments.
  • If more than 10 comments are submitted within last 3 minutes, KVS will additionally deactivate all new comments and will create them in inactive status.
  • Finally if more than 30 comments are submitted during last 10 minutes, KVS will delete all new comments without any notification to the end user (e.g. silently). All these new comments will be lost and not even seen by anyone.

With regard to internal messages, we do not have or plan to add captcha and deactivation functionality to messages. Messages are very different from other data submitted by users. And we believe that for messages it is better to show error to a user instead of silently deleting them (which will also be possible though). In the above configuration example we have this:

  • When a user or IP sends messages to more than 10 unique users during last 3 minutes, KVS will show error asking to wait for some time. For messages there is also an important difference that sending 10 messages to the same user is not considered as spam, only messages to different users will be considered.

Please provide your feedback if necessary.

Link to comment
Share on other sites

We updated anti-spam implementation based on the feedback incoming.

 

First of all, we added Delete duplicates option for comments and messages. This may additionally reduce the volume of flood messages within your system, that are sent manually by some users.

 

In addition to all these options, we also added a section with spam words definition, where you can list words and regular expressions that should be used to identify spam messages (e.g. some URL patterns, domains, advertising techniques). These will be automatically considered as spam and one of the following actions can be selected:

 

- Autodelete

- Deactivation (so that requires admin approval first)

 

antispam_words.thumb.png.ed381949dbbd1127ad694b708d50e9b0.png

 

Please do not hesitate to contact us if you have feedback on this feature.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

There are several enhancements that will allow you detailed control on screenshot creation and watermarks for vertical videos and album photos.

 

In screenshot and album formats we added separate aspect ratio options for horizontal and vertical videos (images in albums):

 

screenshot_format_vertical_aspect_ratio.thumb.png.5af48a23258a65604e9961ef02a470d8.png

 

Previously KVS would use the same aspect ratio option for creating screenshots for both horizontal and vertical videos, which resulted in vertical images being heavily truncated from top and bottom. With the new settings it will be possible to configure a better aspect ratio option in vertical videos (original photo is taken from here):

 

screenshot_format_vertical_aspect_ratio_visual.png.109d6555a8a1871b8579ebf0515bff80.png

 

Watermark max width option was also extended to allow separate values for vertical and horizontal videos (images). If you've tried this option before, it would typically produce ugly watermarking on vertical videos, because their width is narrow in comparison to standard horizontal videos. The new approach will allow render nice watermarks on both vertical and horizontal videos at the same time:

 

watermark_max_width_vertical.thumb.png.1d79fca5c5e2f8a9d6087ae838f6266f.png

Link to comment
Share on other sites

In video formats we added support for Watermark #2, so now it will be possible to configure 2 watermarks in videos at the same time. The reason is that some customers want to use static logo watermark + some advertising text scrolling during video playback.

 

Now this configuration is fully possible:

 

video_format_2_watermarks.thumb.png.a9b7638df32d35d6e3571e1e9bce6839.png

 

NOTE: one key difference for watermark #2 is that its max size % is defined based on video height, not width. So watermark #1 is better suitable for small static logos, while watermark #2 is better suitable for long scrolling texts.

 

And sample video creating from this configuration:

 

player_example_2_watermarks.png.12885fdae696b2dedfa301f3ce3fd73e.png

Link to comment
Share on other sites

In videos massedit there 2 additional operations added:

 

1) Ability to delete all video screenshots except the main one.

 

2) Ability to re-create any screenshot formats. This was previously possible globally for all videos via screenshot format menu, but in projects with huge database this may result in weeks of operation, even if only a subset of videos need this action.

 

#2 was also added for albums massedit as well.

 

mass_edit_screenshots_operation.thumb.png.62ec858f9cf5d65e04591308e28821f6.png

Link to comment
Share on other sites

  • 3 weeks later...

In admin panel access management it will be possible to restrict administrators to only access content marked with some admin flags. This approach can be used to ultimately coordinate content processing between multiple employee: each employee can be configured to access only content marked with specific admin flag:

 

admin_panel_content_access_flags.thumb.png.22777ea64f195938b838ac527f4597f9.png

 

In order to make this functionality more usable, we added an option to flag editor to mark flags that can be used in admin panel:

 

flag_editor_admin_flag.thumb.png.8047f55d8aef6aa014b60a11c400613d.png

 

Finally in admin editor we also added ability to deactivate admins and activate them when needed:

 

admin_editor_status.png.286cde00732df0c33f42841efc65aaf9.png

Link to comment
Share on other sites

  • 1 month later...

We are applying huge changes in conversion engine and screenshots handling in KVS, so this version is taking a bit longer than usual.

 

1) First of all, we have optimized how KVS handles files when converting on local conversion servers. Previously source and target files were copied and duplicated, which could provide higher IO load on your primary server, even when uploading video files without conversion. With the new version KVS will not do any redundant copy operations at all and will not duplicate files. This should reduce IO load and disk space usage on primary server (again, this will happen only in case you are using local conversion servers).

 

2) Another important enhancement that will also affect both local and remote conversion servers is related to post-processing of the uploaded MP4 files. Previously KVS executed ffmpeg command for all uploaded MP4 files to make sure their metadata is prepared for streaming. This didn't take much resources, but still used some IO operations to read and write data on disk. After the update KVS will not do any post-processing if the file already has metadata atom set correctly. This should save some IO load as well, which is specifically important for local conversion servers.

 

3) Finally in album processing we will optimize files copying as well, to make sure that conversion servers can copy album files to storage servers in the similar way they are doing for video files now. So album processing will become faster if you have remote storage servers.

 

Another big set of changes is related to video screenshots.

 

1) Previously when creating new screenshot formats, their creation blocked conversion queue. This could be a hell for huge projects, because it could freeze conversion engine for days and even weeks. We changed conversion engine to create new screenshot formats in small iterations. They will still be created on primary server, but they will not freeze conversion engine for long time anymore.

 

2) We decided to change the concept of applying crop to video screenshots. Previously KVS had screenshot source files in uncropped state, and then applied crop when creating screenshot formats (thumbs). We think this approach was a mistake and we changed it to applying crop directly to screenshot source files. In addition to that, we added a new option that will allow automatically trim black regions from screenshot source files. So starting with 5.2.0, all new screenshot source files will be cropped. Screenshot source files for older videos will remain uncropped as they were before.

 

3) We enhanced processing of the uploaded screenshot files. Previously KVS had some differences when processing uploaded screenshots VS auto-created screenshots:

- KVS didn't apply crop for uploaded screenshots;

- KVS didn't apply watermarks for uploaded screenshots;

- KVS used separate IM options for uploaded screenshots.

 

In general it was expected that if screenshots were uploaded manually, they have already been prepared and did not need any crop or enhancement. However in the modern industry this is not always true. Screenshots are typically uploaded from grabbers or from 3rd party feeds and in many cases they may need some processing as well. Therefore we added 2 more options to control KVS treatment for the uploaded screenshots:

 

screenshot_settings_manual_and_trim.thumb.png.4296d6629c0fac2bab08d68a40ab3423.png

 

Also we fixed old issue that resulted in all screenshots being treated as auto-created when creating new screenshot formats. Previously KVS didn't keep information whether the particular screenshot was uploaded or auto-created. So specific rules for manually uploaded screenshots were applied only for new videos. If you ever decided to create a new screenshot format - all screenshots were treated as auto-created and this could result in poor quality for them and their quality difference between different formats. Starting with 5.2.0 KVS will maintain this information and will do correct processing at any time: screenshots uploaded manually will always follow specific processing rules. This will be applied to new videos only.

 

4) We updated screenshot display component with better usability options. It will be possible to switch between full and basic display modes (basic mode only renders main and delete options), plus better visual highlighting for screenshots to be deleted and for main screenshot:

 

screenshots_display_updated.thumb.png.0ee8c60f0a2d901905d67781b96de0e5.png

 

5) Finally we also plan to add additional screenshot format group called "Posters". You will be allowed to create separate thumb formats and upload multiple poster images as additional images separated from screenshots. These images could be used anywhere in design. For example you can upload vertical posters and have specific thumb formats for them.

 

Since changes described in this post are not yet fully completed and still subject to testing, we are open to any suggestions in this area. If you have any enhancements that you think are important, please contact our tech support and express your ideas.

 

Link to comment
Share on other sites

I hope that the next official version can be developed to support FFmpeg transcoding, support hls (m3u8), add subtitles, audio tracks, and content restricted areas on the video editing page.

 

For now we do not plan these changes in 5.2.0, as we already doing a lot of updates in screenshots area there. We will be looking into HLS support in the future updates.

Link to comment
Share on other sites

Something I would love to see added!

 

The user currently has the ability to "favorite" the actor / model in the video. The added feature that when a new video is uploaded that has that model, an email will be sent to all members who Favorited that model.

 

Just an idea!

 

Thanks, this is definitely something for future updates, but not at the moment. KVS yet doesn't have any email notification feature and this is planned.

Link to comment
Share on other sites

5) Finally we also plan to add additional screenshot format group called "Posters". You will be allowed to create separate thumb formats and upload multiple poster images as additional images separated from screenshots. These images could be used anywhere in design. For example you can upload vertical posters and have specific thumb formats for them.

 

Hi guys! Please make the same for albums! And if possible also for models.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...