Syntax: hls_mp4_max_buffer_size size; Default: hls_mp4_max_buffer_size 10m; Context: http, server, location
During metadata processing, a larger buffer may become necessary. Its size cannot exceed the specified size, or else nginx will return the server error 500 (Internal Server Error), and log the following message:
"/some/movie/file.mp4" mp4 moov atom is too large:
12583268, you may want to increase hls_mp4_max_buffer_size