#1 2025-02-05 12:39:18

sunitabarve
Member
2024-03-15
9

Large Size Videos upload

Hello/Hi/Greetings,

We are running latest version of piwigo with php7.4.33

We are trying to upload large size videos more than 6 GB through web browser but the upload fails.

If we do ftp on the server we are copying files in galleries folder. But when we to Tools-Synchronize nothing happens.

When we upload any new photos/videos everything is saved in upload folder.

Can anyone guide to exactly how to upload large videos through ftp and showing them properly in respective album category through website.

Pl. help.

Sunita

Offline

 

#2 2025-02-12 07:56:48

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

I can confirm this. My large video also cant be synchronised after uploading via ftp/smb


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#3 2025-05-15 09:53:00

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

Anyone know how solve this problem?

Piwigo 15.5.0 Sprawdź aktualizacje
Zainstalowane 26 listopad 2024, 5 miesiące/miesięcy 2 tygodnie 4 dni temu
System operacyjny: Linux
PHP: 8.3.8 (Pokaż informacje) [2025-05-15 09:46:30]
MySQL: 5.5.62 [2025-05-15 09:46:30]
Biblioteki Graficzne: External ImageMagick 7.1.1-33
Wielkość pamięci podręcznej 6301.11 Mo   obliczone 2 dni temu Odśwież


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#4 2025-05-22 09:08:07

kkuriyama
Member
2025-05-22
4

Re: Large Size Videos upload

I have been able to successfully import MP4 files using the FTP+synchronize feature of Piwigo 15.5.  I did not use FTP to upload the files as the MP4 files were on the same file system as Piwigo "galleries" and I could just use a "cp" command.

My Piwigo server is running on an Ubuntu 22 system.  Per the Piwigo documentation I created a directory under "galleries" taking care to ensure that the new directory "galleries/xfer" was owned by "www-data" as this is the ID that the apache2 server is running as.  File and directory ownership is key to synchronization.

I copied the MP4 files into "galleries/xfer" and made sure that the files are also owned by "www-data".  I then went to "Administration / Tools / Synchronize" on the Piwigo GUI, making sure that "directories + files" was checked, "Simulation" unchecked, and then hit the "synchronize" button.

At this point I am able to see the "xfer" album and all the MP4 videos indicating a successful synchronization.

The problem is that their are no thumbnails associated with the MP4 files.  If you upload small MP4 files using the Piwigo GUI, the thumbnails are automatically created and all is well.  Using FTP one must create a "pwg_representative" directory within "xfer" and copy a "jpg" file with the same same.  Hence you would have:

    galleries/xfer/test.mp4
    galleries/xfer/pwg_representative/test.jpg

Make sure that www-data owns all the files and directories before hitting the "synchronize" button again.

Offline

 

#5 2025-05-22 20:23:30

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

In my sever all files have rwx permissions for all (I know this is dangerous).
But smaller files (in same folder and rwx permissions) are successfully synchronised and bigger files/videos looks like there not visible for Piwigo because theres no any error messages after synchronisation.


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#6 2025-05-28 03:12:54

kkuriyama
Member
2025-05-22
4

Re: Large Size Videos upload

Since the problem you are seeing is size dependent at what file size does the import fail?

I don't know if the video playback plugin matters on import but I am using VideoJS.

Offline

 

#7 2025-06-02 21:50:06

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

No. Everything looks okay but big video files looks like be invisible for Piwigo and Videojs plugin.
I don't know unfortunately why ?


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#8 2025-06-02 22:38:49

kkuriyama
Member
2025-05-22
4

Re: Large Size Videos upload

So how big  does the video file need to be before it becomes invisible to Piwigo?

Offline

 

#9 2025-06-03 21:31:14

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

It looks like up to 2 GB video file can be synchronised.
Because video with 1,97GB and 14:55 length is available in my gallery.
Next bigger video with 2,40GB and 20:29 length is not visible.
Of course I have few more videos over this limit...
My biggest video have 10,95GB(mp4) or 23,60 GB but in m2ts format.


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#10 2025-06-04 17:35:46

kkuriyama
Member
2025-05-22
4

Re: Large Size Videos upload

When you FTP the <2GB file to the /galleries/SomeFolderName which is then seen by Piwigo, do you also see a thumb nail associated with the file?  I noticed that thumbnails are NOT being generated during the synchronization process and if you are seeing thumbnails then Piwigo is doing some process, which may be subject to a size limitation, that is missing from my synchronization process.

Offline

 

#11 2025-06-04 18:14:20

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

No. In folder with videos I have also "pwg_representative" folder with generated thumbs, but to bigger than 2GB videos I don't have any thumbnails or other files.


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

#12 2025-06-08 14:02:00

erAck
Only trying to help
2015-09-06
2215

Re: Large Size Videos upload

Likely some code (be it a plugin, Piwigo, or anything else) in the chain uses an int32 variable to process file size, that would exactly hit the 2147483648 bytes (2GB) maximum limit.


Running Piwigo at https://erack.net/gallery/

Offline

 

#13 2025-06-10 11:37:57

swie99
Member
2024-08-12
17

Re: Large Size Videos upload

okay, but how solve it ?
maybe we can somehow bypass it?


Piwigo 15.5.0 OS: Linux
PHP: 8.3.8 2025-05-15 09:46:30
MySQL: 5.5.62 2025-05-15 09:46:30
Biblioteki Graficzne: External ImageMagick 7.1.1-33

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact