HLS streaming of MP4 videos on VOD not playing

Dipesh Bhavsar 2018-12-11 06:48:21 UTC in Nimble Streamer

We are not able to play any Mp4 videos uploaded to the nimble streaming server using HLS URL mentioned as below.


In /var/log/nimble/nimble.log, we found below error.

[2018-12-10 11:46:07 P506-T511] [tmux1] E: failed to load mp4 file structure for file='/var/www/video/test.mp4'

when the same video we can play in JWplayer using below URL.


can anyone help to understand which structure data is missing in the file?


Max 2018-12-11 08:09:08 UTC 

Hello Dipesh,

Is test.mp4 file available via public URL so we could download it and check what is going wrong?

Anyway, please try to re-encode the file using FFmpeg and check if it helps.

Dipesh 2018-12-11 09:27:26 UTC 

Hi Max,

Thanks for your prompt response.

Please find sample video which you can access. (not working as HLS)

we already had encoded these videos using below command and they are played in VLC player without any issue but when uploaded to nimble server path then they are not played.

ffmpeg -y -benchmark -threads 5 -i /home/ffmpeg/input/video/video3.avi -f matroska -vcodec libx264 -preset medium -crf 21.0 -acodec libfaac -b:a 512000 -map 0 -map -0:s -map -0:d /home/ffmpegExample/output/TEST.mp4


Max 2018-12-11 09:32:53 UTC 

Hello Dipesh,

Thank you, as I actually see processing that file with FFmpeg fixes the issue, I can play it via HLS after running "ffmpeg -i TEST.mp4 -codec copy -f mp4 TEST_fixed.mp4".

Anyway, we'll investigate in a while why it happens with your file.

Denis Slobodskoy 2018-12-11 09:45:46 UTC 

Dipesh - you're using " -f matroska" parameter in your command, it will produce file with MKV structure, but .mp4 extension - certainly Nimble doesn't understand it. Please replace it with " -f mp4" to produce video file in MP4 format.

Post a reply

Post a new question


This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.