Edit a (m3u) network's muxes to pipe them?
Added by C M over 2 years ago
One of the m3u files I add under “networks” has streams that won’t play unless I edit the muxes to pipe them through ffmpeg. For example, I change the URL box in a Mux from “http://10.10.10.10/stream/2” to “pipe:///usr/bin/ffmpeg -loglevel fatal -i http://10.10.10.10/stream/2 -vcodec copy -acodec copy -f mpegts -tune zerolatency pipe:1”
Do I have to do this for each of the channels from this network individually? Is there a way to edit the network (m3u) so the Muxes are all already like this instead of editing hundreds of channel manually? I’m a linux n00b but I suppose I could use a script to edit the m3u instead if this isn’t possible inside TVH?
Replies (3)
RE: Edit a (m3u) network's muxes to pipe them? - Added by Hiro Protagonist over 2 years ago
Yes, you have to do it manually.
It should be simple enough to script something to make the job easier.
RE: Edit a (m3u) network's muxes to pipe them? - Added by C M over 2 years ago
Thanks. It was suggested elsewhere to make a 'spawn' profile instead of modifying the individual muxes, but I don't have that working yet.
I'm searching for my answers as well but search terms are hard to come up with for some of this stuff, so I'm sorry if this gets asked.
RE: Edit a (m3u) network's muxes to pipe them? - Added by C M over 2 years ago
I could use find and replace to modify the m3u, I don't think I'd even need regex. Pretty sure I can make that work now, but a spawn profile seems like the right path anyway, no?
Thanks again.