Sorry if this has been posted before, but I searched and could not find a solution
I am trying to load udp streams through a proxy into tvheadend using ffmpeg to wrap it as an mpeg ts by following some suggestions already on this forum. However it is not working, giving me a protocol not found. Here is the log (XXXX is hiding the sensitive information)
Oct 27 15:03:52 XXXX tvheadend[6558]: mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXX:XXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - tuning on IPTV
Oct 27 15:03:52 XXXX tvheadend[6558]: subscription: 016A: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXX:XXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1", weight: 6, adapter: "IPTV", network: "test", service: "Raw PID Subscription"
Oct 27 15:03:52 XXXX tvheadend[6558]: iptv: libav: Could not open input 'pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXX:XXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1': Protocol not found
Oct 27 15:04:07 XXXX tvheadend[6558]: mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXX:XXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - scan no data, failed
Oct 27 15:04:07 XXXX tvheadend[6558]: subscription: 016A: "scan" unsubscribing
the path to ffmpeg is definitely correct, I checked it with whereis. However if I inspect the running processes, ffmpeg never starts up, so is it like it cannot access it?
I am using Tvheadend 4.3-589~g7d0e509 on Linux Mint 18.2
What am I doing wrong please?
Here is a debug log
2017-10-27 15:21:48.472 [ DEBUG]:mpegts: adding mux pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 to scan queue weight 6 flags 4000
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - add raw service
2017-10-27 15:21:48.473 [ INFO]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - tuning on IPTV
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID 0000 (0) [20/0x7f3c3805a110]
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID 0001 (1) [16/0x7f3c380c9210]
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID 0010 (16) [16/0x7f3c380ca690]
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID 0011 (17) [20/0x7f3c380cbb10]
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID 0011 (17) [16/0x7f3c380ccf90]
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - started
2017-10-27 15:21:48.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - open PID tables subscription [0042/0x7f3c380024e0]
2017-10-27 15:21:48.473 [ INFO]:subscription: 0170: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1", weight: 6, adapter: "IPTV", network: "test", service: "Raw PID Subscription"
2017-10-27 15:21:48.473 [ ERROR]:iptv: libav: Could not open input 'pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1': Protocol not found
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - close PID 0011 (17) [20/0x7f3c380cbb10]
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - close PID 0010 (16) [16/0x7f3c380ca690]
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - close PID 0001 (1) [16/0x7f3c380c9210]
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - close PID 0000 (0) [20/0x7f3c3805a110]
2017-10-27 15:22:03.473 [ INFO]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - scan no data, failed
2017-10-27 15:22:03.473 [ INFO]:subscription: 0170: "scan" unsubscribing
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 in test - close PID tables subscription [0042/0x7f3c380024e0]
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - stopping mux
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 - close PID 0011 (17) [16/0x7f3c380ccf90]
2017-10-27 15:22:03.473 [ DEBUG]:mpegts: removing mux pipe:///usr/bin/ffmpeg -loglevel fatal -i
http://XXXXX:XXXXX/udp/239.195.32.4:1234 -c copy -flags +global_header -strict -2 -metadata service_provider=Service_Name -metadata service_name=Service_Name_Live_Stream -f mpegts pipe:1 from scan queue