Project

General

Profile

Kodi & new mpeg-ts spawn profile: not working

Added by Peter Tofte about 7 years ago

Hi

I got the new mpeg-ts spawn profile working. Tvheadend now transcodes using my custom scripts;

i have a script in /home/hts/scripts/stream2.sh that looks like this

#!/bin/bash
ffmpeg -analyzeduration 1M -probesize 1M -i pipe:0 -bitrate 3000k -bufsize 3000k -c:v libx264 -preset superfast -c:a aac -c:s copy -f mpegts pipe:1

, and it works well with VLC or my Android client TVHClient which does not rely on HTSP.

Kodi on the other hand does not see the MPEG-TS Spawn/built-in profile. When playback start is falls back to using the pass profile.

Kodi can use the transcode/av-lib profile, but that does not fulfill my transcoding needs.

Anyone?

profile (35.4 KB) profile mpeg-ts spawn profile

Replies (4)

RE: Kodi & new mpeg-ts spawn profile: not working - Added by J Smith about 7 years ago

I was looking to do the same, even tried statically assigning the spawn profile to the kodi user in TVH, but encountered the same issue - Kodi/OSMC threw up an error when starting about unavailable profile - in the end, I chose to reprocess the m3u to include the ffmpeg pipe then import the m3u from a local file. But obviously only works with m3u/IPTV:

https://tvheadend.org/boards/4/topics/29249?r=29256#message-29256

Achieves the same, but attacks the problem from a different angle.

RE: Kodi & new mpeg-ts spawn profile: not working - Added by Peter Tofte about 7 years ago

At least I'm not the only one. I've tried contacting makers of the Kodi add-on and the programmer of mpegts spawn in tvheadend but no reply. It's so difficult to get support for this otherwise excellent software.

RE: Kodi & new mpeg-ts spawn profile: not working - Added by Mark Clarkstone about 7 years ago

Peter Tofte wrote:

At least I'm not the only one. I've tried contacting makers of the Kodi add-on and the programmer of mpegts spawn in tvheadend but no reply. It's so difficult to get support for this otherwise excellent software.

If you think you've found a bug or want a feature added, please open an issue :)

    (1-4/4)