Assistance with local streams

by Shabbypenguin

Hello any help would be greatly appreciated, ive been googling every so often with new terms for the past few weeks but cant seem to find a solid enough answer to go off of.

i have an iptv setup on my androidtv and it works great. however i had hoped to create a few of my own "24/7" channels. i have a toddler who being able to just click to a channel and know she can watch her fav show instantly would be amazing.

not looking to stream to anyone outside of my network, or multiple channels. so paying $15 a month (xtreamcodes) to be able to have a single custom channel doesnt pass my cost vs convenience ratio. ive seen a few VLC things mentioned, but i cant seem to get it to stream and give me a url i can add to my m3u.

GarySchechter

This should work... I only half way tested it. My instructions expect you have at least intermediate PC ability. I apolgize for spelling/grammar mistakes and hope this is helpful to you.

  1. Make a playlist in VLC of the local media you want to stream.
  2. Media>Save Playlist to File. (ie my24hourchannel.m3u8)
  3. Close and Reopen VLC / Make sure the playlist is clear. (maybe open the m3u8 and test it then clear the VLC playlist again close and reopen)
  4. Media>Stream
  5. Add the m3u8 file you saved and click Stream
  6. Make sure it says that m3u8 and click Next.
  7. New Destination : HTTP
  8. Add
  9. You can probably leave the port in my case I changed it to 9090 since I know qBitTorrent uses 8080 for it's web interface.
  10. Specify the path ie "/my24hourchannel.ts"
  11. Next
  12. Transcoding... I don't know what setting is best for your model androidtv. Probably something mp4
  13. Next
  14. Stream (this output string is useful for more advanced setup)

You are now streaming that playlist at

http://yourmachineslocalip:8080/my24hourchannel.ts

Unless you turned on "display locally" you will see the VLC player and the time code moving but no video.

If you changed the port from 8080 obviously change that.

You'll need to figure out yourmachineslocalip. Start>Run>cmd>ipconfig(probably 192.168.X.X)

Testing this in VLC from another computer or the VLC app on your TV or mobile device is a good idea.

Looping- I think on the VLC player clicking the loop button will work if not you will probably need to use VLC's command line interface and that string the wizard generated to create the stream and there should be a loop flag to use.

Adding The New Channel: The easy universal way is edit the m3u from your provider in notepad you will see the format used. Adding an image is a bit more complex, you'd need a webserver for it like apache.

Disconnects on transition between files: Might be the "stream all elementary streams" option on the wizard screen with the output string. At the bottom of https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/ it has "Keeping the stream open" I think that is the solution.

Good Luck!