Project

General

Profile

Custom MPEG-TS Input » History » Version 5

Jaroslav Kysela, 2014-11-17 20:58

1 1 Jaroslav Kysela
h1. Custom MPEG-TS Input
2
3
h2. Requirement
4
5 2 Jaroslav Kysela
The TVHeadend 3.9.2100 and up for the pipe:// URL support. Note that TVHeadend expects the input in the raw MPEG-TS format with correct PAT/PMT tables.
6 1 Jaroslav Kysela
7
h2. IPTV URLs
8
9 5 Jaroslav Kysela
Note: Always try the command without pipe:// prefix on standard command line, if it works with a stdout redirection to a file!!
10
11 1 Jaroslav Kysela
<pre>
12 4 Jaroslav Kysela
pipe:///usr/bin/ffmpeg -loglevel fatal -re -i INPUTLINK -vcodec copy -acodec copy -mbd rd -copyinkf -flags +ilme+ildct -fflags +genpts \
13 2 Jaroslav Kysela
  -metadata service_provider=STRING -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1
14 1 Jaroslav Kysela
</pre>
15
16
h2. Other solutions (HTTP proxy)
17
18 3 Jaroslav Kysela
[[https://github.com/Jalle19/node-ffmpeg-mpegts-proxy | A simple ffmpeg HTTP proxy using nodejs]|