Jump to content

I have a problem with video uploading


PrnDuty

Recommended Posts

I try to upload a video and everything works perfectly until it is processed. When processing it, it gets stuck at 10% and then a conversion error is received.

processing.thumb.jpg.84014ccfe9ff4cd73e703c7ebc5fa02f.jpgeror.thumb.jpg.99feab3b6c53dd38bc1903ebc4eb79e0.jpg

Task LOG

-------------------------------------- 5.txt

[2023-05-24 15:55:05] INFO  Starting task 5
[2023-05-24 15:55:05] INFO  Free conversion server is found: Local
[2023-05-24 15:55:05] INFO  New video creation task is started for video 3 [PH-P]
[2023-05-24 15:55:05] INFO  Files uploaded for new video: 3.tmp [7191387]
[2023-05-24 15:55:05] INFO  3.tmp file information:
....Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/newpornv/public_html/contents/videos_sources/0/3/3.tmp':
....  Metadata:
....    major_brand     : M4V
....    minor_version   : 1
....    compatible_brands: isomavc1mp42
....    creation_time   : 2021-08-04T07:36:01.000000Z
....  Duration: 00:00:08.64, start: -0.012000, bitrate: 6658 kb/s
....    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 6496 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
....    Metadata:
....      creation_time   : 2021-08-04T07:36:01.000000Z
....      handler_name    : ETI ISO Video Media Handler
....      encoder         : Elemental H.264
....    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
....    Metadata:
....      creation_time   : 2021-08-04T07:36:01.000000Z
....      handler_name    : ETI ISO Audio Media Handler
....At least one output file must be specified
[2023-05-24 15:55:05] INFO  Preparing task for conversion server [PH-P-2]
[2023-05-24 15:55:05] INFO  Conversion priority level is set to 0
[2023-05-24 15:55:05] INFO  Video formats will be created: "MP4"
[2023-05-24 15:55:05] INFO  Video files will be post-processed: none
[2023-05-24 15:55:05] INFO  Timeline screenshots will be created for video formats: "MP4"
[2023-05-24 15:55:05] INFO  Sources for overview screenshots will be created
[2023-05-24 15:55:05] INFO  Selected server group: 1
[2023-05-24 15:55:05] INFO  Source video parameters are: duration - 9 sec, dimensions - 1920x1080, filesize - 7191387 bytes
[2023-05-24 15:55:05] INFO  Copying screenshot files to conversion server [PH-P-2-2]
[2023-05-24 15:55:05] INFO  Task data has been copied to conversion server Local [PH-PE]

[2023-05-24 15:56:02] INFO  Starting task 5

[2023-05-24 15:55:16] INFO  Starting conversion task 5 for video 3 [PH-C]
[2023-05-24 15:55:16] INFO  Pre-processing source file [PH-C-3]
[2023-05-24 15:55:16] INFO  Creating video format "MP4" [PH-C-5:MP4]
[2023-05-24 15:55:16] INFO  ....Creating video file [PH-C-5-2]
[2023-05-24 15:55:24] INFO  ........Created video file 3.mp4: 9 seconds, 4100211 bytes
[2023-05-24 15:55:24] INFO  ....Moving metadata to the file beginning [PH-C-5-3]
[2023-05-24 15:55:24] INFO  ........Skipped, already done by FFmpeg
[2023-05-24 15:55:24] INFO  ....Copying video file to "Local Videos" [PH-C-5-4:Local Videos]
[2023-05-24 15:55:24] INFO  ........Copied video file to storage: 3.mp4, 1920x1080, 9 sec, 4100211 bytes
[2023-05-24 15:55:24] INFO  Creating overview screenshots [PH-C-7]
[2023-05-24 15:55:24] INFO  ....Creating 5 overview screenshots starting from 1 sec with step 1 [PH-C-7-1]
[2023-05-24 15:55:26] INFO  ........Created screenshot 1 at 1 sec
[2023-05-24 15:55:27] INFO  ........Created screenshot 2 at 2 sec
[2023-05-24 15:55:29] INFO  ........Created screenshot 3 at 3 sec
[2023-05-24 15:55:30] INFO  ........Created screenshot 4 at 4 sec
[2023-05-24 15:55:31] INFO  ........Created screenshot 5 at 5 sec
[2023-05-24 15:55:31] INFO  ....Creating thumbs for "320x180" format [PH-C-7-2:320x180]
[2023-05-24 15:55:34] INFO  ....Creating thumbs for "336x189" format [PH-C-7-2:336x189]
[2023-05-24 15:55:34] ERROR ......../usr/bin/convert -quality 80  -size 336x189 xc:"#000000" /home/newpornv/public_html/admin/data/conversion/5/temp.bmp -gravity Center -composite   webp:/home/newpornv/public_html/admin/data/conversion/5/screenshots/336x189/1.jpg
....convert: unable to open image `webp:/home/newpornv/public_html/admin/data/conversion/5/screenshots/336x189/1.jpg': No such file or directory @ error/blob.c/OpenBlob/2882.
[2023-05-24 15:55:34] ERROR ........Failed to create thumb format
[2023-05-24 15:55:34] INFO  Conversion task 5 for video 3 is finished in 18 sec [PH-CE]
[2023-05-24 15:56:02] ERROR(7)  Conversion error, cancelling this task [PH-E]

[2023-05-24 16:01:55] INFO  Task was deleted manually (New video)
[2023-05-24 16:02:04] INFO  Post cleanup task is started for deleted task 5

 

Link to comment
Share on other sites

The issue is that your imagemagick doesn't support WebP format when being executed via cron user. Since audit plugin doesn't report any error on WebP image formats, this issue doesn't happen for apache user. It looks like on your OS imagemagick library is loading different extensions depending on user profile, and for cron user it doesn't load webp extension.

You can:

1) Ask host support to resolve this

2) Go to Settings -> Screenshot formats and delete 2 WebP formats there. Before this will be allowed, you will need to get rid of some dependencies. The first one is in Settings -> Player settings under Timeline screenshots field, you need to switch off WebP format. The 2nd one is in Website UI -> Theme settings under Video thumbs WebP format and Playlist thumbs WebP format fields. Once dependencies are switched off and WebP formats are deleted, the videos should start processing.

Link to comment
Share on other sites

I have this error also related to video uploading

Could you please check it

[2023-05-25 22:35:06] INFO  Preparing task for conversion server [PH-P-2]
[2023-05-25 22:35:06] INFO  Conversion priority level is set to 0
[2023-05-25 22:35:06] INFO  Video formats will be created: "MP4  480p", "MP4  720p", "MP4 1080p", "MP4 4k", "MP4 Preview"
[2023-05-25 22:35:06] INFO  Video files will be post-processed: none
[2023-05-25 22:35:06] INFO  Timeline screenshots will be created for video formats: "MP4  480p"
[2023-05-25 22:35:06] INFO  Video main screenshot has been uploaded: 640x360
[2023-05-25 22:35:06] INFO  Sources for overview screenshots will be created
[2023-05-25 22:35:06] WARN  Failed to connect to storage server "Storage Frankfurt", skipping this task

There have been hundreds of previous videos that were successfully uploaded, but as time went on, this error started to occur to a lot of videos, I use grabber to make it download to ftp server and system processing it from main server, I did check ftp server and I can still login in with ftp credentials and I can manually upload or create files.

Link to comment
Share on other sites

6 minutes ago, Tanjiro said:
Failed to connect to storage server "Storage Frankfurt", skipping this task

This is related to storage server connection. You should also have error in admin panel in Settings -> Storage servers section. You can find out details in System audit plugin using servers check. There can be multiple causes:

  1. FTP server stopped working physically - in this case audit will report error that cannot connect
  2. FTP server software is not running (vsftpd in most cases) - in this case audit will report error that cannot connect
  3. Username / password changed - in this case audit will report error that cannot login
  4. FTP server has firewall restrictions and your primary server IP is not allowed - in this case audit will report error that cannot put / delete files
  5. FTP server is misconfigured and returns local IP in PASV command - in this case audit will report error that cannot put / delete files

For issues #4 and 5 you may need to enable FTP command log in vsftpd config file to see what happens when KVS tries to connect to this server. Typically it will be clear what the issue is after reviewing this log file.

  • Like 1
Link to comment
Share on other sites

20 minutes ago, Tech Support said:

This is related to storage server connection. You should also have error in admin panel in Settings -> Storage servers section. You can find out details in System audit plugin using servers check. There can be multiple causes:

  1. FTP server stopped working physically - in this case audit will report error that cannot connect
  2. FTP server software is not running (vsftpd in most cases) - in this case audit will report error that cannot connect
  3. Username / password changed - in this case audit will report error that cannot login
  4. FTP server has firewall restrictions and your primary server IP is not allowed - in this case audit will report error that cannot put / delete files
  5. FTP server is misconfigured and returns local IP in PASV command - in this case audit will report error that cannot put / delete files

For issues #4 and 5 you may need to enable FTP command log in vsftpd config file to see what happens when KVS tries to connect to this server. Typically it will be clear what the issue is after reviewing this log file.

In Storage servers it has an error: Content path is not writable

What does this mean, I can manually upload and create files with ftp credentials, and I did not change login or password, I didn't change anything literally, it still working a week ago

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...