Project

General

Profile

Add a .m3u playlist in Kodi as a channel

Added by william meyerchak about 7 years ago

Hi

I am looking for help to add an .m3u playlist from Kodi as a mux.

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 -/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