Project

General

Profile

Actions

Custom MPEG-TS Input » History » Revision 9

« Previous | Revision 9/28 (diff) | Next »
Jaroslav Kysela, 2014-11-17 23:33


Custom MPEG-TS Input

Requirement

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.

IPTV URLs

Note: Always try the command without pipe:// prefix on standard command line, if it works with a stdout redirection to a file!!

Transcode to H264 video

pipe:///usr/bin/ffmpeg -loglevel fatal -i INPUTLINK -vcodec libx264 -acodec copy -copyinkf -flags +ilme+ildct -fflags +genpts
  -metadata service_provider=STRING -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1

Direct copy

pipe:///usr/bin/ffmpeg -loglevel fatal -i INPUTLINK -vcodec copy -acodec copy -metadata service_provider=STRING
  -metadata service_name=STRING -f mpegts -tune zerolatency pipe:1

Other solutions (HTTP proxy)

A simple ffmpeg HTTP proxy using nodejs

Updated by Jaroslav Kysela about 10 years ago · 9 revisions