Kodi Community Forum

Full Version: Pipe function and akamaistream.net radio sources
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Has anyone being able to get radio streams which come from "akamaistream.net" working with the pipe function?

Example here for 102.7 KIIS FM - http://kiis-fm.akacast.akamaistream.net/...et/kiis-fm

They play fine with vlc and other radio streams work fine for me with the pipe function but these don't. I know they can probably simply be added as a standalone stream in kodi but would be nice to have them within tvheadend.

With this command for example

ffmpeg -i http://prn-foxsports-ic-pri.akacast.akam...rts_ic_pri -vcodec libx264 -acodec copy -mbd rd -copyinkf -flags +ilme+ildct -fflags +genpts -metadata service_provider=STRING -metadata service_name=STRING -f mpegts pipe:1

I see this

http://pastebin.com/t7XuWfSc



edit: Got it working with this (note i am using openelec so command my be slightly different for other systems)

pipe://ffmpeg -loglevel fatal -i http://prn-foxsports-ic-pri.akacast.akam...rts_ic_pri -vn -acodec aac -flags +global_header -strict -2 -metadata service_provider=RADIOPROVIDER -metadata service_name=RADIONAME -f mpegts -mpegts_service_type digital_radio pipe:1