mux for kodi files not working, please help
#1
Hi 

I am looking for help to add an .m3u playlist from Kodi as a mux. To create a 24/7 channel. Ie: friends, married with chrideren, etc.

my source is: file://var/storage/.kodi//userdata/playlist/video/Friends.m3u
my file is.     : file://var/media/Seagate Expansion Dr/tv shows/Friends/Season 1/1x1.avi (I have also tried .mp4 files)

try #1 
pipe:///var/bin/ffmpeg -loglevel fatal -user-agent Kodi/17.5 -i /var/media/Seagate Expansion Dr/tv shows/Friends/Season 1/1x3.avi -codec copy -bsf:v h264_mp4toannexb,dump_extra -metadata service_provider=PROVIDER -metadata service_name=SERVICE -tune zerolatency -f mpegts pipe:1

(also tried with hevc_mp4toannexb,dump_extra)

and try #2

pipe:///var/bin/ffmpeg -loglevel fatal -user-agent Kodi/17.5 -i /var/storage/.kodi//userdata/playlist/video/Friends.m3u -codec copy -bsf:v h264_mp4toannexb,dump_extra -metadata service_provider=PROVIDER -metadata service_name=SERVICE -tune zerolatency -f mpegts pipe:1

gives error=

2017-11-07 20:37:59.314 mpegts: Friends in IPTV Automatic Network - tuning on IPTV
2017-11-07 20:37:59.343 subscription: 004A: "scan" subscribing to mux "Friends", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-07 20:37:59.343 spawn: Executing "/var/bin/ffmpeg"
2017-11-07 20:37:59.358 iptv: stdin pipe unexpectedly closed: No data
2017-11-07 20:38:29.343 mpegts: Friends in IPTV Automatic Network - scan no data, failed
2017-11-07 20:38:29.343 subscription: 004A: "scan" unsubscribing

try #3 

pipe:///var/bin/ffmpeg -loglevel 0 -re -i file://var/media/Seagate Expansion Dr/tv shows/Friends/Season 1/1x1.avi -c copy -flags +global_headers -f mpegts pipe:1

and try #4

pipe:///var/bin/ffmpeg -loglevel 0 -re -i file://var/storage/.kodi//userdata/playlist/video/Friends.m3u -c copy -flags +global_headers -f mpegts pipe:1

gives error:
2017-11-07 20:36:46.005 subscription: 0049: "scan" subscribing to mux "Friends", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-07 20:36:46.005 spawn: Executing "/var/bin/ffmpeg"
2017-11-07 20:36:46.020 iptv: stdin pipe unexpectedly closed: No data

Help please

Cheers and love
Reply
#2
I'd rather not use spaces in filenames and/or folders. Those can cause troubles in all sorts of ways. Either use underscores or a minus sign instead. Or put them in (double)quotes.
Reply
#3
(2017-11-08, 11:35)Klojum Wrote: I'd rather not use spaces in filenames and/or folders. Those can cause troubles in all sorts of ways. Either use underscores or a minus sign instead. Or put them in (double)quotes.

I have tried

pipe:///var/bin/ffmpeg -loglevel fatal -user-agent Kodi/17.5 -i file:/var/media/Seagate_Expansion_Dr/tv_shows/Married_..._with Children/Season_1/Married_..._with Children_S01E01.mp4 -codec copy -bsf:v h264_mp4toannexb,dump_extra -metadata service_provider=PROVIDER -metadata service_name=SERVICE -tune zerolatency -f mpegts pipe:1

and 

pipe:///usr/bin/ffmpeg -loglevel fatal -user-agent Kodi/17.5 -i file:///var/media/Seagate_Expansion_Dr/tv_shows/Friends/Season_1/1x3.avi -codec copy -bsf:v h264_mp4toannexb,dump_extra -metadata service_provider=PROVIDER -metadata service_name=SERVICE -tune zerolatency -f mpegts pipe:1

also
pipe:///usr/bin/ffmpeg -loglevel 0 -re -i file://var/storage/.kodi/userdata/playlist/video/married.m3u -c copy -flags +global_headers -f mpegts pipe:1


tried "" too no luck

errors
2017-11-08 09:16:40.094 mpegts: Friends in IPTV Automatic Network - tuning on IPTV
2017-11-08 09:16:40.123 subscription: 0001: "scan" subscribing to mux "Friends", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-08 09:16:40.123 spawn: Executing "/usr/bin/ffmpeg"
2017-11-08 09:16:40.148 spawn: Error splitting the argument list: Option not found
2017-11-08 09:16:40.149 iptv: stdin pipe unexpectedly closed: No data
2017-11-08 09:17:10.094 mpegts: Friends in IPTV Automatic Network - scan no data, failed
2017-11-08 09:17:10.094 subscription: 0001: "scan" unsubscribing
2017-11-08 09:18:39.735 mpegts: Friends in IPTV Automatic Network - tuning on IPTV
2017-11-08 09:18:39.763 subscription: 0002: "scan" subscribing to mux "Friends", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-08 09:18:39.763 spawn: Executing "/usr/bin/ffmpeg"
2017-11-08 09:18:39.784 spawn: Error splitting the argument list: Option not found
2017-11-08 09:18:39.784 iptv: stdin pipe unexpectedly closed: No data
2017-11-08 09:19:09.735 mpegts: Friends in IPTV Automatic Network - scan no data, failed
2017-11-08 09:19:09.735 subscription: 0002: "scan" unsubscribing
2017-11-08 09:21:19.082 mpegts: Friends in IPTV Automatic Network - tuning on IPTV
2017-11-08 09:21:19.111 spawn: Executing "/var/bin/ffmpeg"
2017-11-08 09:21:19.111 subscription: 0003: "scan" subscribing to mux "Friends", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-08 09:21:19.125 iptv: stdin pipe unexpectedly closed: No data
2017-11-08 09:21:49.082 mpegts: Friends in IPTV Automatic Network - scan no data, failed
2017-11-08 09:21:49.082 subscription: 0003: "scan" unsubscribing
2017-11-08 09:24:47.488 mpegts: Married with Children in IPTV Automatic Network - tuning on IPTV
2017-11-08 09:24:47.517 subscription: 0004: "scan" subscribing to mux "Married with Children", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-08 09:24:47.517 spawn: Executing "/usr/bin/ffmpeg"
2017-11-08 09:24:47.538 iptv: stdin pipe unexpectedly closed: No data

thank you
Reply
#4
I also created a .m3u8 file with the following structure:

#EXTM3U

#EXTINF:-1,IPTV Piliot
pipe:///usr/bin/ffmpeg -loglevel 0 -re -i file:///var/media/Seagate_Expansion_Dr/tv shows/Married_..._with Children/Season_1/Married_..._with_Children_S01E01.mp4 -c copy -flags +global_headers -f mpegts pipe:1

#EXTINF:-1,IPTV Thinnergy
pipe:///usr/bin/ffmpeg -loglevel 0 -re -i file:///var/media/Seagate_Expansion_Dr/tv shows/Married_..._with Children/Season_1/Married_..._with_Children_S01E02.mp4 -c copy -flags +global_headers -f mpegts pipe:1

#EXTINF:-1,IPTV ,But i Didn't Shoot the Deputy
pipe:///usr/bin/ffmpeg -loglevel 0 -re -i file:///var/media/Seagate_Expansion_Dr/tv shows/Married_..._with Children/Season_1/Married_..._with_Children_S01E02.mp4 -c copy -flags +global_headers -f mpegts pipe:1

and used below to access the file

pipe:///usr/bin/ffmpeg -loglevel 0 -re -i file://var/storage/.kodi/userdata/playlist/video/married.m3u -c copy -flags +global_headers -f mpegts pipe:1

also with file:///

errors

2017-11-08 12:00:47.753 mpegts: Married with Children in IPTV Automatic Network - tuning on IPTV
2017-11-08 12:00:47.781 subscription: 0004: "scan" subscribing to mux "Married with Children", weight: 6, adapter: "IPTV", network: "IPTV Automatic Network", service: "Raw PID Subscription"
2017-11-08 12:00:47.782 spawn: Executing "/usr/bin/ffmpeg"
2017-11-08 12:00:47.802 iptv: stdin pipe unexpectedly closed: No data
2017-11-08 12:01:17.753 mpegts: Married with Children in IPTV Automatic Network - scan no data, failed
2017-11-08 12:01:17.753 subscription: 0004: "scan" unsubscribing
Reply
#5
Why are you attempting to insert files as individual channels?

Since you are using Kodi, the best option is to integrate these files via Kodi's TV Shows options.

If you "need" these files accessible via Tvheadend for some other reason, why not place them into Tvheadend as a recorded program rather than a streaming channel?

Both of these other options make more sense logically, and would use less resources as there is no need for he overhead of ffmpeg transcoding.
Reply
#6
I am trying to create 24/7 channels of shows from my library in tvh.

I have the tv shows integrated into Kodi via the tv shows option.

I am looking to create a mux from or for a Kodi file.

something like pseudotv from Lunitix.

thank you
Reply

Logout Mark Read Team Forum Stats Members Help
mux for kodi files not working, please help0