creating an hls stream on windows

creating an hls stream on windows

Support ForumCategory: Installation and Basic Operationcreating an hls stream on windows
admin Staff asked 11 years ago
Hello, I am in the process of evaluating this software. I’ve installed it on windows 32-bit system. First thing, according to docs, I should rund a run.bat in the main evostream folder. It is not present. I do have the following: run_console_ems.bat run_console_evohttp.bat I am using run_console_ems.bat to manage ems. I have an H.264 multicast stream on my local network, I add it to ems with the following command: pullstream uri=dmpegtsudp://226.0.16.35:2000 localstreamname=test output:
{"data":{"audioCodecBytes":"","configId":6,"emulateUserAgent":"EvoStream Media                            Server (www.evostream.com) player","forceTcp":true,"isAudio":true,"keepAlive":t                           rue,"localStreamName":"test","operationType":1,"pageUrl":"","ppsBytes":"","rtc                           pDetectionInterval":10,"spsBytes":"","ssmIp":"","swfUrl":"","tcUrl":"dmpegtsudp                           ://226.0.16.35:2000","tos":256,"ttl":256,"uri":{"document":"","documentPath":                           "/","documentWithFullParameters":"","fullDocumentPath":"/","fullDocumentPathW                           ithParameters":"/","fullParameters":"","fullUri":"dmpegtsudp://226.0.16.35:2                           000","fullUriWithAuth":"dmpegtsudp://226.0.16.35:2000","host":"226.0.16.35","                           ip":"226.0.16.35","originalUri":"dmpegtsudp://226.0.16.35:2000","parameters":                           {},"password":"","port":2000,"portSpecified":true,"scheme":"dmpegtsudp","userNa                           me":""}},"description":"Stream dmpegtsudp://226.0.16.35:2000 enqueued for pul                           ling","status":"SUCCESS"}
It looks like that’s working. The stream is a 1 Mbps H.264 hd video. I used pushtream to create a multicast from ems of that streamname, test, and I could decode in vlc. So I know that works. I want to use evostream to publish an HLS stream, therefore following the guide I first create an HLS steam:
createHLSStream localstreamnames=ntest targetFolder=../media  groupName=hls playlisttype=rolling         

{"data":{"AESKeyCount":5,"bandwidths":[0],"chunkBaseName":"segment","chunkLength":10,"chunkOnIDR"        :true,"cleanupDestination":false,"configIds":[9],"createMasterPlaylist":true,"encryptStream":false        ,"groupName":"hls","keepAlive":true,"localStreamNames":["ntest"],"overwriteDestination":true,"play        listLength":10,"playlistName":"playlist.m3u8","playlistType":"rolling","staleRetentionCount":10,"t        argetFolder":"../media"},"description":"HLS stream created","status":"SUCCESS"}
It looks like that works. Now I run run_console_evohttp.bat for the http server:
The Server License Expires On: Sun 2013-04-07 19:48:24 Eastern Daylight Time
......sourcescrtmpserversrccrtmpserver.cpp:261 EvoStream Media Server (www
.evostream.com) version 1.6.1 build 1957 - Gladiator - (built for Windows-2008-i
686 on 2012-12-15T04:55:09.000)
......sourcescrtmpserversrccrtmpserver.cpp:263 Initialize I/O handlers man
ager: iocp without native timers
......sourcescrtmpserversrccrtmpserver.cpp:295 Configure modules
......sourcescrtmpserversrccrtmpserver.cpp:301 Plug in the default protoco
l factory
......sourcescrtmpserversrccrtmpserver.cpp:308 Configure factories
......sourcesthelibsrcconfigurationmodule.cpp:97 Loaded factory from appl
ication evohttp
......sourcescrtmpserversrccrtmpserver.cpp:314 Configure acceptors
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:115 Handlers count c
hanged: 0->1 IOHT_ACCEPTOR
......sourcescrtmpserversrccrtmpserver.cpp:320 Configure instances
......sourcesthelibsrcconfigurationconfigfile.cpp:199 Windows doesn't sup
port multiple instances
......sourcescrtmpserversrccrtmpserver.cpp:326 Start I/O handlers manager:
 iocp without native timers
......sourcescrtmpserversrccrtmpserver.cpp:329 Configure applications
......sourcesthelibsrcconfigurationmodule.cpp:177 Application evohttp ins
tantiated
......sourcescrtmpserversrccrtmpserver.cpp:335 Install the quit signal
......sourcescrtmpserversrccrtmpserver.cpp:346
+-----------------------------------------------------------------------------+
|                                                                     Services|
+---+---------------+-----+-------------------------+-------------------------+
| c |      ip       | port|   protocol stack name   |     application name    |
+---+---------------+-----+-------------------------+-------------------------+
|tcp|        0.0.0.0| 8080|      inboundHttpDownload|                  evohttp|
+---+---------------+-----+-------------------------+-------------------------+
......sourcescrtmpserversrccrtmpserver.cpp:347 GO! GO! GO! (11480)
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:115 Handlers count c
hanged: 1->2 IOHT_TCP_CARRIER
......sourcesthelibsrcnetioiocptcpacceptor.cpp:232 Client connected: 192
.168.16.248:63309 -> 192.168.16.43:8080
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:115 Handlers count c
hanged: 2->3 IOHT_TCP_CARRIER
......sourcesthelibsrcnetioiocptcpacceptor.cpp:232 Client connected: 127
.0.0.1:63773 -> 127.0.0.1:8080
......sourcesthelibsrcnetioiocptcpcarrier.cpp:78 EOF encountered
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:338 Unable to handle
 event
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:124 Handlers count c
hanged: 3->2 IOHT_TCP_CARRIER
......sourcesthelibsrcprotocolsprotocolmanager.cpp:45 Enqueue for delete
for protocol [IHTTPD(6)]
......sourcesthelibsrcapplicationbaseclientapplication.cpp:242 Protocol [
IHTTPD(6)] unregistered from application: evohttp
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:115 Handlers count c
hanged: 2->3 IOHT_TCP_CARRIER
......sourcesthelibsrcnetioiocptcpacceptor.cpp:232 Client connected: 127
.0.0.1:63781 -> 127.0.0.1:8080
......sourcesthelibsrcnetioiocptcpcarrier.cpp:78 EOF encountered
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:338 Unable to handle
 event
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:124 Handlers count c
hanged: 3->2 IOHT_TCP_CARRIER
......sourcesthelibsrcprotocolsprotocolmanager.cpp:45 Enqueue for delete
for protocol [IHTTPD(9)]
......sourcesthelibsrcapplicationbaseclientapplication.cpp:242 Protocol [
IHTTPD(9)] unregistered from application: evohttp
......sourcesthelibsrcnetioiocptcpcarrier.cpp:78 EOF encountered
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:338 Unable to handle
 event
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:124 Handlers count c
hanged: 2->1 IOHT_TCP_CARRIER
......sourcesthelibsrcprotocolsprotocolmanager.cpp:45 Enqueue for delete
for protocol [IHTTPD(3)]
......sourcesthelibsrcapplicationbaseclientapplication.cpp:242 Protocol [
IHTTPD(3)] unregistered from application: evohttp
......sourcesthelibsrcnetioiocpiohandlermanager.cpp:115 Handlers count c
hanged: 1->2 IOHT_TCP_CARRIER
......sourcesthelibsrcnetioiocptcpacceptor.cpp:232 Client connected: 192
.168.16.248:63338 -> 192.168.16.43:8080
You can see from there my attempts to open the HLS stream from localhost and a mac os computer. I’m using vlc because when i use quicktime from the mac it crashes the http server. I believe I am following the instructions but would appreciate any guidance on accomplishing this.



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.