Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
temabu
Experienced
Topic Author
Posts: 36
Joined: 26 Sep 2008, 17:13

Uploading Videos

30 Aug 2019, 15:03

I am having trouble uploading videos.  They sometimes fail during upload, and other times they complete and then show ERROR.  These files are approx 250-320MB in size.  Is there a size limit?  How can I upload them?  I have 40MBit upload speed so its not bandwidth.  Any known issues on this?  Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Uploading Videos

31 Aug 2019, 05:10

Hi. Usually, a web host will have Upload Max File Size and Post Max Size restrictions for your server. Can you check your websiteurl.com/?diagnostics ? Look for upload_max_file_size and post_max_size values. It is very likely that these values are set way below 300MB ... Often, they are set as low as 2MB. If your video file sizes are higher than your upload_max_file_size, you will need to upload specific videos by FTP.
 
User avatar
temabu
Experienced
Topic Author
Posts: 36
Joined: 26 Sep 2008, 17:13

Re: Uploading Videos

02 Sep 2019, 13:26

Karl, I am hosting with you...is there a limit?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Uploading Videos

03 Sep 2019, 01:11

Ahh, that explains it. Normally the upload limit is a mere 2MB for most servers!

May I propose though, with this size videos, shouldn't you be considering Vimeo or Youtube? Hosting large video files on non-video services has several disadvantages:
  • For all devices without fast internet, the video will likely stutter (frequently buffering), especially if you have only high quality / low compression video file (which I am guessing).
  • When a device starts loading the video, it will download the entire video, even if the visitor only watches 3 seconds. This can be very detrimental for a mobile device.
  • All devices will have to load the quality you uploaded, even for small low-quality screens.
  • Video services on the other hand (like youtube and vimeo), will create multiple quality versions of your videos, perfectly adapted to each device screen quality and internet connection, and the user can choose.
Although 3rd party video services are clearly superior for video hosting, you can of course host locally if you really need to. Our servers are actually set to allow 512MB uploads, but the obstacle is that we use Cloudflare for security and CDN, and they cap uploads at 100MB [ref]. For now, you would have to optimize/resize your videos to within 100MB or consider a 3rd party video service. Or if you won't be frequently uploading 100+ MB files, I could perhaps assist in getting these transferred to server another way?
 
Mike_Chandler
Posts: 22
Joined: 24 Aug 2019, 22:21

Re: Uploading Videos

25 Oct 2019, 15:58

So I've disconnected my cloudflare because I'm trying to upload a video that's 123mb, it's purely for client delivery, not for public viewing from me.  It has failed multiple times, it's .mp4.  My uploading attempts include mobile browsers, and desktop  browswers.  How long would I have to wait for the CloudFlare to stop working on my site to see it's 100MB restriction removed.  And for sure if I'm doing a public video that is meant for me to share then I would do it on youtube or vimeo.

Edit:  Imma try a file that's 83MB and see what happens.

Mike
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Uploading Videos

26 Oct 2019, 00:06

Hi Mike. Did you check your PHP upload_max_filesize? Even before Cloudflare can block 100MB upload attempts, your server / hosting will likely have an upload_max_filesize set way below 100MB (traditionally, on low-spec shared hosting, it's set to 2MB). You can check the value of upload_max_filesize from Panel > Tools > PHPinfo.

If you run your own server, you can change the value from php.ini. Or depending on your host, you might be able to increase the value from your hosting control panel. If not, your only option is to upload large files via FTP. After uploading, you can refresh the page in the panel, and you will see the files uploaded via FTP.
 
Mike_Chandler
Posts: 22
Joined: 24 Aug 2019, 22:21

Re: Uploading Videos

26 Oct 2019, 08:20

I'm using flamepix for hosting too, I reprocessed my video and it uploaded at 83mb
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Uploading Videos

27 Oct 2019, 04:59

Ahh, sorry I can't immediately recognize flamepix users by their forum usernames, and also since you mentioned that you disconnected your Cloudflare. Good job!
 
Misux
Experienced
Posts: 55
Joined: 25 Nov 2008, 17:30

Re: Uploading Videos

05 Apr 2022, 14:04

HI!

I need to create an php.ini file with the
Code
upload_max_filesize = 512M
information inside and then i need to upload it to my Host.

But where should i have to put in into? Should i put it in /panel or where?

Can you help me?
SORRY for my BAD english! I`m from Germany! But Imagevue is the BEST Gallery I`ve ever seen!!!!
 
Misux
Experienced
Posts: 55
Joined: 25 Nov 2008, 17:30

Re: Uploading Videos

06 Apr 2022, 02:46

HI!
Now i have optimized the max_upload_limit on all Folders and subfolders on my host to 512M but it still doesn`t work... Do you maybe have any idea to solve the problem?

The error :
compose_video_1649177112015.mp4
Fehler SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
140.36 MB
Attachments
Screenshot_20220406-083307.jpg
Screenshot_20220406-083307.jpg (484.78 KiB) Viewed 7055 times
Bildschirmfoto 2022-04-06 um 08.45.57.png
Bildschirmfoto 2022-04-06 um 08.45.57.png (185.49 KiB) Viewed 7055 times
SORRY for my BAD english! I`m from Germany! But Imagevue is the BEST Gallery I`ve ever seen!!!!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Uploading Videos

06 Apr 2022, 06:02

Just because you change upload_max_filesize by php.ini, doesn't necessarily mean your host supports uploading files larger than 100 or 128MB. There are also other options like post_max_size that affect upload max file size ... post_max_size will need to be set to the same as upload_max_filesize.
https://stackoverflow.com/a/6135489/3040364

If you still have problems, I would need FTP to diagnose, but it's likely something on server.
 
Misux
Experienced
Posts: 55
Joined: 25 Nov 2008, 17:30

Re: Uploading Videos

06 Apr 2022, 08:51

:heart_eyes: :kissing_heart: YES!
Code
post_max_size = 512M
This is the solution for my Problems!

Thank you very much!
SORRY for my BAD english! I`m from Germany! But Imagevue is the BEST Gallery I`ve ever seen!!!!