transcoding: add encoding target for TS.

Add encoding target for streamming.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1965>
This commit is contained in:
Bing Song 2021-01-20 14:55:09 +08:00 committed by GStreamer Marge Bot
parent caefc3a831
commit 711008674b
2 changed files with 34 additions and 0 deletions

View file

@ -9,6 +9,7 @@ encoding_targets = [
'targets/file-extension/webm.gep', 'targets/file-extension/webm.gep',
'targets/file-extension/flv.gep', 'targets/file-extension/flv.gep',
'targets/file-extension/mp4.gep', 'targets/file-extension/mp4.gep',
'targets/file-extension/ts.gep',
'targets/file-extension/avi.gep',], 'targets/file-extension/avi.gep',],
], ],
['online-services', ['targets/online-service/youtube.gep',]], ['online-services', ['targets/online-service/youtube.gep',]],

View file

@ -0,0 +1,33 @@
[GStreamer Encoding Target]
name=ts
category=file-extension
description=Default target for files with a .ts extension
[profile-default]
name=default
type=container
description=Default profile for files with a .ts extension. Suitable for streamming.
format=video/mpegts,systemstream=true,packetsize=188
[streamprofile-default-0]
parent=default
type=audio
format=audio/mpeg,mpegversion=4,base-profile=lc,rate={48000,96000},channels=2;audio/mpeg,mpegversion=4,base-profile=lc,rate={48000,96000}
restriction=audio/x-raw,channels=6,channel-mask=0x3f;audio/x-raw,channels=2
[streamprofile-default-1]
parent=default
type=video
format=video/x-h264
preset=Profile YouTube
pass=0
[streamprofile-default-2]
parent=default
type=audio
format=audio/mpeg,mpegversion=4
[streamprofile-default-3]
parent=default
type=video
format=video/x-h264