mpegtsmux

Robert Hensel vk3eht at gmail.com
Fri Oct 22 10:19:08 UTC 2021


I've been experimenting with injecting teletext data taken from a TS file
into another ts file to validate encoding h264 CBR. My Caps into mpegtsmux
is the application/x-teletext.

After saving the file and opening the file with VLC.
VLC reports the PID 1980 is subtitle private data and not teletext as I'd
suspect? DVBinspector also indicates the subtitle private data?

I suspect there is an issue with mpegtsmux. Can anyone validate my
findings? I'm encoding raw AV into TS stream.

I'm using Gstreamer 1.19.1 on windows. Same on msys2.

gst-launch-1.0 ^
mpegtsmux name=mux ^
prog-map=program_map,sink_1000=10,sink_1001=10,sink_1980=10 ^
! filesink location=C:/temp/meta1.ts ^
filesrc location=C:/Temp/big_buck_bunny_720p24.y4m ^
! decodebin name=vdec ^
! video/x-raw,format=I420,width=1280,height=720 ^
! x264enc tune=zerolatency bitrate=50000  ^
! video/x-h264, profile=main ^
! queue ^
! mux.sink_1000 ^
filesrc location=C:/Temp/BigBuckBunny-stereo.flac ^
! decodebin name=adec  ^
! audioconvert ^
! voaacenc bitrate=128000 ^
! aacparse ^
! queue ^
! mux.sink_1001 ^
filesrc location=C:/temp/Darius-TS_Teletext.ts ^
! tsdemux name=demux program-number=1 parse-private-sections=true ^
demux.private_0_0034 ^
! queue ^
! application/x-teletext, parsed=true, sparse=true ^
! mux.sink_1980

Any help appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211022/64f534be/attachment.htm>


More information about the gstreamer-devel mailing list