Answer for Transcode MPEGTS stream to H.264 iOS stream

Hi, Is quite simple. If the stream is already in h264/aac mpeg-ts format, than you have to pull it in like this: UDP unicast:

pullstream uri=dmpegtsudp://192.168.1.200:12345 localstreamname=myStream
UDP multicast (notice the IP class):

pullstream uri=dmpegtsudp://239.1.2.3.4:12345 localstreamname=myStream
After this is done, you can either create HLS like this:

createhlsstream localstreamname=myStream targetFolder=/var/www groupname=myGroup
Than, on disk you will have this:

/var/www/myGroup/playlist.m3u8
Make that file available via HTTP (using apache for example) and you are done. Or, if you have autoHLS active inside the config.lua, it will be automatically created for you, so you can skip the createhlsstream step. Same thing: make the .*m3u8 available via HTTP Now, when the input stream is not h264/aac, you need to transcode it. For more details, read the documentation, the section about transcode command. Is a bit more advanced feature and better explained inside the docs. I can’t explain that good in here Best regards, Andrei

Offcanvas

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