•  » Extensions
  •  » [resolved] New limit on video size?

#1 2025-07-23 18:11:37

martinis
Member
2013-07-02
37

[resolved] New limit on video size?

Hello/Hi/Greetings,

I have recently experienced difficulty viewing certain videos. On my local machine currently running Fedora (with Piwigo in Docker):

Piwigo 15.5.0 Check for upgrade
Installed on 20 April 2022, 3 years 3 months 3 days ago
Operating system: Linux
PHP: 8.3.15 (Show info) [2025-07-23 16:46:25]
MySQL: 11.8.2-MariaDB-ubu2404 [2025-07-23 15:46:25]
Graphics Library: External ImageMagick 7.1.1-32

Plugin: video_js
Theme: bootstrap darkroom

I keep everything in folders and 'synchronise' and in reorganising a bit I moved some videos to another folder (deleted them first, synced, then uploaded and synced again).  Some of these videos (all mp4) would not now play and I got the error message 'no video with supported format and mime type found'.

This was puzzling and I tried both Firefox and Chrome-based browsers - no difference. I assumed some corruption, but the files all play well outside Piwigo. I have spent some time on this, including re-rendering a video in case some mp4 format had updated, but this had no effect.  Upon further inspection it seemed that it might be just the large videos (over say 150Gb) which refused to play. I then edited one of the ones which did not play (keeping just a short section at the start) down to 27Gb. This was uploaded and synced and it played perfectly.

So is there a limit of file size for mp4 videos? And what has changed?  Any advice appreciated.

For information, I am also running on a live server Ubuntu 22.04 (also in Docker) and the same problem occurs.

Thank you

Offline

 

#2 2025-07-23 19:08:57

martinis
Member
2013-07-02
37

Re: [resolved] New limit on video size?

EDIT: Sorry these file sizes are Mb not Gb!

Offline

 

#3 2025-07-23 22:17:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14082

Re: [resolved] New limit on video size?

In the configuration of plugin Video JS, what is the value for parameter "player / type" ? (try another one)

Offline

 

#4 2025-07-24 11:52:54

martinis
Member
2013-07-02
37

Re: [resolved] New limit on video size?

Thanks for your suggestion.

The setting was 'Native Browser' and I tried the alternatives Video.js versions 4 to 7, but this still gave an error message.

However, by chance, I have now solved the problem. It would appear that the photo view window needs to be changed to Fullscreen (using Bootstrap Darkroom theme) or the photo size has to be set to 'original (using Modus). The error message is misleading. It is a mystery to me why a shorter video of the same size plays without error in a smaller window. Hopefully someone can fix this, as visitors to the site will (like me) not necessarily think of enlarging the photosize window (in Piwigo, not the browser window) to see the video.

In case of interest, here are the metadata for both videos. (from Piwigo):
Long video - not working unless fullscreen

Code:

date_creation   2022-07-22 13:56:34
filesize   282931.7109375
resolution   1920x1080
VideoBitrate   6494675
VideoCodecID   mp42
VideoCodecInfo   H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
VideoFrameRate   30 fps
AudioBitsPerSample   16
AudioChannels   2
AudioCodecID   mp4a
AudioCodecInfo   AAC (Advanced Audio Coding)
AudioSampleRate   48 kHz
AvgBitrate   6.7 Mbit/s
Duration   00:05:47.819
DurationSeconds   347.819
FileSize   289.7 MB
FileType   MP4
MIMEtype   video/mp4

Short video -  always working

Code:

filesize   26798.900390625
resolution   1920x1080
VideoBitrate   3987871
VideoCodecID   isom
VideoCodecInfo   H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
VideoFrameRate   30 fps
AudioBitsPerSample   16
AudioChannels   2
AudioCodecID   mp4a
AudioCodecInfo   AAC (Advanced Audio Coding)
AudioSampleRate   48 kHz
AvgBitrate   4.1 Mbit/s
Duration   00:00:53.035
DurationSeconds   53.035
FileSize   27.4 MB
FileType   MP4
MIMEtype   video/mp4

Offline

 

#5 2025-08-20 15:00:56

marfig
Member
2013-12-12
49

Re: [resolved] New limit on video size?

Hello,
I'm facing the same issue probably. My videos stop working, unless in full screen. The error message in the normal view is

net::ERR_HTTP2_PROTOCOL_ERROR 200 (OK)

returned by picture.php?/18603/category/436:263

I've spent some time googling what might be the reason, but in general I did not find anything.

Would appreciate if you have any ideas :)

Thanks
Martin

Offline

 

#6 2025-10-29 10:11:44

cryopad
Piwigo Team
Grenoble, France
2015-11-01
234

Re: [resolved] New limit on video size?

A new version of the VideoJS plugin is now available. Can you please give it a try?


If you enjoy Piwigo for iOS…
➤ We would appreciate an AppStore review.
➤ Comments, suggestions ? Tell us on GitHub…
➤ Not yet available in your language ? Help us translate it…

Offline

 

#7 2025-10-29 18:12:08

martinis
Member
2013-07-02
37

Re: [resolved] New limit on video size?

Thank you.  All videos seems to be displaying correctly now, whether fullscreen or not.

Offline

 
  •  » Extensions
  •  » [resolved] New limit on video size?

Board footer

Powered by FluxBB