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?
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.
Thanks for your prompt response.
Please find sample video which you can access.
http://18.104.22.168:8081/vod/TEST.mp4/playlist.m3u8 (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
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.
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.
and required to achieve the purposes illustrated in the
If you want to know more or withdraw your consent to all or some of the cookies, please
refer to the