/usr/share/mlt/plusgpl/consumer_cbrts.yml is in libmlt-data 6.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | schema_version: 0.3
type: consumer
identifier: cbrts
title: CBR MPEG2-TS
version: 2
copyright: Copyright (C) 2010-2015 Broadcasting Center Europe S.A. http://www.bce.lu
license: GPLv2
language: en
creator: Dan Dennedy
tags:
- Audio
- Video
description: Constant bit-rate MPEG-2 Transport Stream
notes: |
All properties, except some key operational properties such as real_time and
terminate_on_pause, set on the this consumer are passed onto an encapsulated
avformat consumer - no special prefix required. While some avformat
properties can accept a "k" suffix, this consumer requires "muxrate" but does
not understand the "k" suffix; so, specify the value in bytes per second.
The stream is always output to STDOUT at this time.
You can rewrite and insert table sections into the transport stream. If you
choose to rewrite the PMT sections, then you need to know how libavformat
sets the PIDs on the elementary streams. Currently, the video stream is 256
(0x100) and audio streams start at 257, incrementing from there. There are
conventions for property names to pass the .sec files to the consumer.
The conventions are:
si.<section>.file=<filename.sec>
si.<section>.pid=<number>
si.<section>.time=<milliseconds>
<section> is really anything, but typically: pat, sdt, nit, eit, etc.
"pat," "pmt," and "sdt" are special such that when supplied, they cause
libavformat's corresponding sections to be filtered out and replaced with
yours. You should always use PID 16 for NIT, 17 for SDT, and of course,
0 for PAT; PMT may be anything, but libavformat uses 4095 (0xfff).
The time property indicates the frequency to insert the section - every N milliseconds.
parameters:
- identifier: muxrate
type: integer
unit: bytes/second
- identifier: udp.rtprio
title: Real-time priority
description: >
When set to a valid value, this makes the network output thread run with a
real-time policy and priority where 1 is lowest and 99 is highest.
type: integer
minimum: 1
maximum: 99
- identifier: udp.address
title: UDP address
description: >
If an IP address is provided, the stream is sent over UDP instead of STDOUT.
type: string
- identifier: udp.port
title: UDP port
type: integer
minimum: 0
default: 1234
- identifier: udp.ttl
title: Multicast TTL
description: >
The multicast time-to-live value controls how many routing hops the
multicast will survive.
type: integer
minimum: 0
maximum: 255
- identifier: udp.reuse
title: Reuse socket address
description: >
When not supplied, the socket is opened with the reuse address option. Set
this to 0 to disable that.
type: boolean
default: 1
- identifier: udp.sockbufsize
title: Socket buffer size
type: integer
minimum: 1
unit: bytes
- identifier: udp.nb_tsp
title: TS packets per UDP packet
type: integer
minimum: 0
maximum: 7
default: 7
- identifier: udp.buffer
title: Max buffer IP packets
type: integer
minimum: 100
default: 1000
- identifier: udp.rtp
title: Use RTP
type: boolean
default: 1
- identifier: udp.rtp_ssrc
title: RTP synchronization source
type: integer
description: The default is a random number, but you can override it.
- identifier: udp.interface
title: Multicast interface name
description: >
Normally the multicast interface is selected by the IP routing table
configured on the system, but this might be more convenient. It takes
a name like "eth0".
type: string
|