nginx-hls-module icon indicating copy to clipboard operation
nginx-hls-module copied to clipboard

Large mp4 video's no longer play

Open marcelpoelstra opened this issue 10 years ago • 4 comments

After introducing the buffer and max buffer directives, large mp4's no longer play, Clients receive a 502 Bad Gateway (through reverse proxy) and nginx error log on the backend shows "[crit] 6212#0: *5 mp4_io.h.695: (error) Error: invalid atom size"

I tried different sizes for the max buffer and buffer settings, but that made no difference. Smaller files play fine by the way. Reverting back to the earlier build (without this new directives) fixed my problem, so it might be a bug that has been introduced together with the new directives.

marcelpoelstra avatar Aug 27 '14 12:08 marcelpoelstra

Found same problem, it's occurred because of moov.h was replaced by mp4_io, and it cant parse mp4 file without moov atom at the begin of file. Moving moov atom to begin of file(using mp4box for example) should fix this problem, but it not really nice solution :(

I have reverted to older build too.

BR, Dmytro.

PS. Nice module, thx anyway.

fissben avatar Sep 03 '14 10:09 fissben

Can I download somewhere file with this issue?

rounce avatar Sep 03 '14 14:09 rounce

You can check it here, i have share it for some time, https://www.dropbox.com/s/wqdo1ua67hhifoz/64hzq3cg_hd.mp4?dl=0

BR, Dmytro

fissben avatar Sep 03 '14 15:09 fissben

This is a file that was not playing with the newer build, but succeeds with the old one :

http://5376250034bb88f26cdfe137.playbackurl.com/539c042534bb883e328b4569/539c042534bb883e328b4569.mp4

b.r. Marcel

marcelpoelstra avatar Sep 03 '14 15:09 marcelpoelstra