Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Streaming mpeg-ts


I'm trying to live stream mpeg-ts generated by vlc to a website using jw player. I can stream it into a VLC client with no problem.

The VLC streamer:
cvlc v4l2:///dev/video0:chroma=h264:width=1920:height=1080 --sout '#standard{access=http,mux=ts,dst=x.x.x.x:8080,mime=video/ts}' -vvv

The VLC player can play this just by opening:
http://x.x.x.x:8080

But I can't play this using JW Player, I receive "No playable sources found" error with the following code:
<html>
<title>JW Player</title>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="xxxxx";</script>
<body>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "http://x.x.x.x:8080",
type: "mpegts.stream",
image: "/uploads/myPoster.jpg"
});
</script>
</body>
</html>


Any idea how to make JW Player to play this mpeg-ts stream?
Thanks

3 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Thank you for contacting the JW Player support team. You may wan to check a few parameters to ensure playback:

1. You have a valid Premium JW Player license.
2. You vet that the stream works in a tester (i.e. http://demo.jwplayer.com/stream-tester/)

Kindly,

Randy Le’Moine, Web Support Engineer, JW Player
www.jwplayer.com

evk02

User  
0 rated :

Thanks, unfortunately the stream doesn't work in the tester either. I gave the same error: "Error loading player:
No playable sources found"

Randy

JW Player Support Agent  
0 rated :

Hello,

Then we need to ensure your stream is accessible. I might suggest contacting your CDN to ensure your creative is accessible and deliverable to your clients.

Kindly,

Randy Le’Moine, Web Support Engineer, JW Player
www.jwplayer.com

This question has received the maximum number of answers.