pipe:///
Added by Chris G over 5 years ago
Hi guys. I am trying to add a stream using pipe:///ffmpeg
When I add this...pipe:///usr/bin/ffmpeg -loglevel fatal -i http:url.mp4 -vcodec copy -acodec copy -metadata service_provider=STRING -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1
I get this...spawn: Executing "/usr/bin/ffmpeg"
iptv: pipe: read failed: 90
Can anyone see why this is happening?
What I am expecting is to see a mux or service appear for the network.
Thanks,
Chris
Replies (2)
RE: pipe:/// - Added by Mark Clarkstone over 5 years ago
The error tells you what tvheadend expects, an m3u playlist, not a video stream
Make an m3u playlist with the pipe command as the url, point tvh to that using file:///.
HTH
RE: pipe:/// - Added by Chris G over 5 years ago
Hi. I just tried that and I get the following...
2019-03-28 19:30:13.674 mpegts: playlist.m3u - Sky Sports F1 HD in IPTV - tuning on IPTV #1
2019-03-28 19:30:13.676 spawn: Executing "/usr/bin/ffmpeg"
2019-03-28 19:30:13.676 subscription: 011C: "scan" subscribing to mux "playlist.m3u - Sky Sports F1 HD", weight: 6, adapter: "IPTV #1", network: "IPTV", service: "Raw PID Subscription"
2019-03-28 19:30:13.677 iptv: m3u parse: 0 new mux(es) in network 'IPTV' (total 1)
2019-03-28 19:30:28.674 mpegts: playlist.m3u - Sky Sports F1 HD in IPTV - scan no data, failed
2019-03-28 19:30:28.674 subscription: 011C: "scan" unsubscribing
Here is my file...
#EXTM3U
#EXTINF:-1 tvh-chnum="1",Sky Sports F1 HD
pipe:///usr/bin/ffmpeg -loglevel fatal -i http://URL.mp4 -vcodec copy -acodec copy -metadata service_provider=STRING -metadata service_name="Sky Sports F1" -f mpegts -tune zerolatency pipe:1
It might be worth mentioning that I am using AceProxy to convert a live torrent to a http stream. https://github.com/ikatson/docker-acestream-proxy
Chris