Jump to content

Mass importing videos How to - need additional help please


Recommended Posts

Hello friends,

I am new to KVS and want to upgrade my pay site to KVS.

First thing I got to do is importing about 600 video files with more than 1 TB.

So mass import is the best thing but It didn't work and I have read the "6 ways" again and again.

What I have done: I have created a test csv file for 10 videos with:

title;tags;category1;category2;category3;category4;category5;rawfile

So a video in the file has entries like this (just examples):

Couple has short sex;couple sex elder nude;Couple sex Outdoor;;;;;/web/myserverwithkvs.com/public_html/contents/videos_sources/video000001.mov

And here are the errors I get:

1 Error [Source video file (with processing)]: field is required and must have a value
1 Error [Type]: there is no any active video format associated with the selected video type

Ok. I do understand I do not have the correct path but what it the correct on? Or how to tell KVS? I have uploaded all files via ftp to this path but could change that. Where do KVS expect the videos to be? And where to select the video format?

Maybe this is also interesting to other people who were not born as admins but producers. Thank you!

 

 

Link to comment
Share on other sites

Hello, welcome on board!

The format mentioned here is not correct:

title;tags;category1;category2;category3;category4;category5;rawfile 

Each data item separated by semicolon is a data field. So in your data it looks like you have 8 data fields. But in reality you have 4 data fields:

  • Title
  • Tags
  • Categories
  • Rawfile

So your file format should be like this:

title;tags;categories;rawfile 

And then all categories inside "categories" should be separated with comma, not with semicolon, e.g. like this:

title;tag1,tag2;category1,category2;/home/..../path/to/file.mp4
Link to comment
Share on other sites

5 hours ago, Tech Support said:
/home/..../path/to/file.mp4

Hi, thx for your answer.

But what is the correct path? I get always this error:

[Source video file (with processing)]: the specified file is not accessible

My path (IMHO correct): 

/home/admin/web/mykvsserver.com/public_html/contents/videos_sources/

plus file name. 

And the 2nd error is: 

[Type]: there is no any active video format associated with the selected video type

All my video files are .mov! Ok So I must add this video format:

6 MOV .mov Cond. required As source As source Any users No   0

But always same error.

Please help a newbie... Thx!

 

 

Link to comment
Share on other sites

Due to the fact that my kas server needs more than 4x the time of the video duration for video conversion I will convert all videos to the needed mp4 files. My Macs do this very fast (0,2x time!) . But what are the correct "video" settings? Needed frame rate and whatever so the KVS server does not "want" to convert it?

 

 

Link to comment
Share on other sites

On 7/23/2022 at 3:05 PM, Dr. Lecter said:

But what is the correct path? I get always this error:

Please create support ticket for this.

 

On 7/23/2022 at 3:05 PM, Dr. Lecter said:

[Type]: there is no any active video format associated with the selected video type

I think you are trying to set Type = Premium when manually adding videos. In KVS we did a logical mistake initially and connected video type to video formats. So in KVS there are 2 groups of video formats:

  • Standard videos (they are used for videos that have type = public or type - private)
  • Premium videos (they are used for videos with type = premium)

So having 2 groups of video formats actually means that videos could have different sets of video files, and the set is defined by whether you choose type = public / private, or type = premium. So when you choose type = premium and you don't have any video formats in premium group, you will see this error.

You can check an example here, we have 6 video formats in Standard group (for public and private videos), and 2 video formats in Premium group (for premium videos):

https://kvs-demo.com/admin/formats_videos.php

 

47 minutes ago, Dr. Lecter said:

Due to the fact that my kas server needs more than 4x the time of the video duration for video conversion I will convert all videos to the needed mp4 files. My Macs do this very fast (0,2x time!) . But what are the correct "video" settings? Needed frame rate and whatever so the KVS server does not "want" to convert it?

MOV files cannot be played in websites, because browsers do not support their codec. You have to re-encode videos into MP4 files (only h264 codec, not vp6 or h265 - they are still not widely supported). When uploading videos into KVS there are 2 possible scenarios for KVS to manage the uploaded video files:

  1. Consider them as source files and create all required video formats as per settings.
  2. Consider them as "already prepared ready-made files" and just store them without any processing. This looks like the way you need when converting files locally.

Please check this article that explains how to upload:

 

Link to comment
Share on other sites

Good morning,

thank you very much for your help. Finally it worked...

But one thing is important: The filenames are case sensitive... So it is important to check this before importing. Otherwise "file is not accessible" - and you don't know why. The pros here might laugh about it but for me as producer who wants to understand what happens these informations are vital.

And I have found a good way if your material are only .mov videos: Convert them via Apple Compressor to mp4 (no resize!) and import them. But the lower formats can be done by the KVS ffmpeg. The converting is very fast depending on your mac 5-20 times faster that real time! And the importing/ converting is much faster. So this workflow works fine.

I have added all this videos as premium videos.

And now I have the problem that a manually added user I have given premium access can't access the videos? Why? What have I done wrong? Always the window with "only for premium users" appears but he is???

Can you help?

Next thing: How can I merge the categories in excel/ numbers? I have 5 categories but KVS wants it in one field separated by commas in the csv. Any suggestions? Or can I simply take 5 times the field "categories" instead of 1 time?

Last question: All posts must be approved by a moderator? To prevent scam/fraud/spam? 

Thank you for your support. At the moment I would like to switch our pay site to KVS...

 

Link to comment
Share on other sites

1 hour ago, Dr. Lecter said:

But one thing is important: The filenames are case sensitive... So it is important to check this before importing. Otherwise "file is not accessible" - and you don't know why. The pros here might laugh about it but for me as producer who wants to understand what happens these informations are vital.

Yes, on Unix file systems the file paths are case-sensitive.

I could be also easier to upload files via FTP content upload plugin instead of using import. There you can't specify many details, such as categories for example. But you can quickly import files and then edit the created videos via admin panel, correcting their titles and specifying categories and other data.

 

1 hour ago, Dr. Lecter said:

And now I have the problem that a manually added user I have given premium access can't access the videos? Why? What have I done wrong? Always the window with "only for premium users" appears but he is???

Can you help?

Please create support ticket for questions that related to something not working. In most cases we will need to login and check your settings.

 

1 hour ago, Dr. Lecter said:

Next thing: How can I merge the categories in excel/ numbers? I have 5 categories but KVS wants it in one field separated by commas in the csv. Any suggestions? Or can I simply take 5 times the field "categories" instead of 1 time?

No I think you can't specify the same field multiple times, there will be error on import validation. You will have to merge them manually in some way.

 

2 hours ago, Dr. Lecter said:

Last question: All posts must be approved by a moderator? To prevent scam/fraud/spam?

It depends on which theme you are using and what are settings configured in theme. For KVS default theme it requires approval for anonymous comments, and for all new videos / albums.

Link to comment
Share on other sites

20 minutes ago, Tech Support said:

It depends on which theme you are using and what are settings configured in theme. For KVS default theme it requires approval for anonymous comments, and for all new videos / albums.

Sorry, I did not write exactly enough: I meant HERE in YOUR forum... every post gets moderated? Bad experiences? Thought sometimes it's easier/ faster if the community can help... and you save some time.

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.

 Share

×
×
  • Create New...