Bug #4705
MPEG-TS spawn profile not working with Kodi add-on.
0%
Description
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
History
Updated by Jaroslav Kysela about 7 years ago
- Status changed from New to Invalid
It's how things works. It's not possible to use spawn profile for the HTSP clients, because the filter (spawn process) is executed on the output file descriptor / socket.
Updated by Peter Tofte almost 7 years ago
Jaroslav Kysela wrote:
It's how things works. It's not possible to use spawn profile for the HTSP clients, because the filter (spawn process) is executed on the output file descriptor / socket.
OK, but build in transcoding works. Why is there a fundamental difference making it impossible?
Updated by Jaroslav Kysela almost 7 years ago
As you can see, the data from spawn muxer are not returned back to tvheadend: https://drive.google.com/file/d/0B0J8IKhUuUAWRW9QT0lhNFl1LUk
Updated by Peter Tofte almost 7 years ago
Jaroslav Kysela wrote:
As you can see, the data from spawn muxer are not returned back to tvheadend: https://drive.google.com/file/d/0B0J8IKhUuUAWRW9QT0lhNFl1LUk
OK, so it is more a feature request; being able to e.g. pass the output of the spawn profile scripts to the HTSP protocol or Plug-in machinery.