Foliovision › Forums › FV Player › Troubleshooting › hlsjs-lite :Network Error while using a mp4 converted to m3u8 format on AWS
-
Hi Helpdesk,
Please note that buffering on AWS using a movie mp4 attached URL is intermittent and the user experience is bad as the user has to waiting till it slowly buffers.
Have enabled CDN though inspite of this the buffering is there.
Could see that increasing high bitrate with ffmpeg and converting mp4 to m3u8 format is tried in the URLTest URL : https://eturnti.com/testhls/ ( Issue can be reproduced with fvplayer)
Getting the following error hlsjs-lite.
Please guide on how to get hls videos to be working with fvplayer. Also what would be the best settings for AWS. Did try couple of settings already mentioned in the fvplayer support forum.Looks like some settings are missed here. Please guide appropriately.
Thanks
Kiran
-
-
Hello Kiran,
Thanks for providing us all these information right away!
Can you also please turn on Admin Video checker and send us the error log from it, please?
Here’s our guide on how to use our built-in video checker.
Thanks,
JurajHi Juraj,
Please find the error log from the admin console while loading the video.
Here is the cut paste of the same for your analysis and suggestions.
VIDEO CHECKER
X
Only you and other admins can see this warning.
Analysis of http://s3.ap-south-1 .amazonaws.com/MYVIDEOS/KORE-TINTIN-INTRO- VIDEOS/ffmpeg-Benefits/index.m3u8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X- Amz-Credential=AKIAJPHWQWSDQLBGS6JQ%2F20200325%2Fap-south- 1 %2Fs3%2Faws4_request&X-Amz-Date=20200325T043147Z&X-Amz- Expires=900&X-Amz-SignedHeaders=host&X-Amz-
Signature=50e5243e618453b39818ba83c2e339565e06d2b73be8402ea3c1cf1d3e8
9b04c
Mime Type; application/x-mpegURL Compatibility! crossdomain.xml found
Video:
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index0.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index2.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index3.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTR0-VIDE0S/ffmpeg-Benefits/index4.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index5.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE-TINTIN-INTRO-VIDEOS/ffmpeg-
TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index6.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index7.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index8.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index9.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl0.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexll.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl2.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl3.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl4.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl5.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl6.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTR0-VIDE0S/ffmpeg-Benefits/indexl7.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl8.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/indexl9.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index20.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE-
TINTIN-INTRO-VIDEOS/ffmoeg-Benefits/index21.ts’ for reading
[his,applehttp @ 0x56cb3c0] Opening ‘http://s3.ap-south-l.amazonaws.com/MYVIDEOS/KORE- TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index22.ts’ for reading
[his,applehttp @ 0x56cb3c0] Error when loading first segment ‘http ://s3.ap-south- 1.amazonaws.com/MYVIDEOS/KORE-TINTIN-INTRO-VIDEOS/ffmpeg-Benefits/index©.ts’ http ://s3.ap- south-1.amazonaws.com/MYVIDEOS/KORE-TINTIN-INTRO-VIDEOS/ffmpeg- Benefits/index.m3u8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-
Credential=AKIA3PHWQWSDQLBGS63Q%2F20200325%2Fap-south-l%2Fs3%2Faws4_request&X-Amz- Date=20200325T043147Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-
Signature=50e5243e618453b39818ba83c2e339565e06d2b73be8402ea3clcfId3e89b04c: Invalid data found when processing input
Mixed content: Your page is using secure protocol HTTPS while your video is served via HTTP. Make sure it’s linked using https:// as otherwise it won’t play on new Android phones and desktop computers due to security issues.
nvalid data found when processing input.Thanks
KiranHello Kiran,
Sorry for late reply. Thanks for providing us all these information, it was really beneficial.
The reason why there’s and network error is visible in the Admin checker error log. You’re trying to serve http content over https.
You can’t stream encrypted .m3u8 hls without use of Cloudfront.You need a working HLS set-up of you want to stream .m3u8 files to your website. Also, don’t forget to update the source file url to Cloudfront url. You can find more info about in the Practical example section at the end of our Cloudfront guide.
To prevent yourself from hassle with Cloudfront urls we highly recommend to use our built-in S3 browser which will update the url automatically for you if have that Cloudfront distribution added to your FV Player settings.
Thanks for using our services,
JurajHello Kiran,
what Juraj means is that if you don’t use Cloudfront with the S3 bucket which contains a HLS video from MediaConvert you have to make sure the files are stored with the public permissions, see steps 21 and 22 below the “File permissions” heading here: https://foliovision.com/player/securing-your-video/mediaconvert-encrypted-hls-guide
Also, the guide mentions “please be aware of the fact that every steps about download protection or privacy need to be skipped” and I can see you are using the signed URLs. But once the video files are made public it should not matter.
Thanks,
Martin