rounce / nginx-hls-module

Smooth Streaming Module fork
Other
53 stars 34 forks source link

Large mp4 video's no longer play #8

Open marcelpoelstra opened 10 years ago

marcelpoelstra commented 10 years ago

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.

fissben commented 10 years ago

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.

rounce commented 10 years ago

Can I download somewhere file with this issue?

fissben commented 10 years ago

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

marcelpoelstra commented 10 years ago

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