UDP stream to HLS Stream
Simply I need to use Evostream to convert live channel UDP stream to HLS Stream.
I did try to use Evostream on Debian 8 and Debian 7 but can’t connect to the system due to OS problem.
now I’m using the system on CentOS 6.5 I did try to convert the stream with the bellow commands:
# pullstream uri=dmpegtsudp://239.4.112.16:5500 localstreamname=mbc2
�{"data":{"audioCodecBytes":"","configId":4,"emulateUserAgent":"EvoStream Media Server (http://www.evostream.com) player","forceTcp":true,"httpProxy":"","isAudio":true,"keepAlive":true,"localStreamName":"mbc2","operationType":1,"pageUrl":"","ppsBytes":"","rangeEnd":-1,"rangeStart":-2,"rtcpDetectionInterval":10,"sendRenewStream":false,"spsBytes":"","ssmIp":"","swfUrl":"","tcUrl":"","tos":256,"ttl":256,"uri":{"document":"","documentPath":"/","documentWithFullParameters":"","fullDocumentPath":"/","fullDocumentPathWithParameters":"/","fullParameters":"","fullUri":"dmpegtsudp://239.4.112.16:5500","fullUriWithAuth":"dmpegtsudp://239.4.112.16:5500","host":"239.4.112.16","ip":"239.4.112.16","originalUri":"dmpegtsudp://239.4.112.16:5500","parameters":{},"password":"","port":5500,"portSpecified":true,"scheme":"dmpegtsudp","userName":""}},"description":"Stream dmpegtsudp://239.4.112.16:5500 enqueued for pulling","status":"SUCCESS"}
# createHLSStream localstreamnames=mbc2 targetFolder=/var/www/html groupName=mbc2hls playlisttype=rolling
First time I have:
createhlsstream not known. Type help for list of commands","status":"FAIL"}
After writing help i try the command again give me:
<{"data":{"AESKeyCount":5,"audioOnly":false,"bandwidths":[0],"chunkBaseName":"segment","chunkLength":10,"chunkOnIDR":true,"cleanupDestination":false,"configIds":[5],"createMasterPlaylist":true,"drmType":"none","groupName":"mbc2hls","hlsResume":false,"keepAlive":true,"localStreamNames":["mbc2"],"maxChunkLength":0,"offsetTime":0,"overwriteDestination":true,"playlistLength":10,"playlistName":"playlist.m3u8","playlistType":"rolling","staleRetentionCount":10,"targetFolder":"/var/www/html","useSystemTime":false},"description":"HLS stream created","status":"SUCCESS"}
when i try to play the video on VLC using " http://172.17.1.25:8888/mbc2hls/playlist.m3u8 " networking
and "/var/www/html" is empty.
you help will be appreciated.