teletext stream using application/x-teletext with mpegtsmux ? Showing wrong type in DVBInspector and VLC Platback.
Hi, I'm using this pipeline below experimenting in attempt in producing a DVB compliant TS with a Teletext stream. I'm using a windows batch file so I've taken out the '^' after each line for clarity. Once my pipeline is tested I'll fine tune a little more then adapt the pipeline into a python app on linux for my DATV DVB-S transmitter project. Issue I have is I'm sucking out the Teletext data from a TS file Program 4 on PID 1978 using the tsdemux plugin. I'm pulling out the teletext data by selecting the correct pid attaching to pad private_0_07b ( 0=teletext PID =0x07b = Decimal 1978) from the TSdemux. These are so many Gstreamer pages on the web with conflicting information on correctly setting the stream and PID and the demux. Anyway, PES data flows through to be remuxed into mpegtsmux on the application/x-teletext pad PID of 1980.
Is seems to work however, I'd unable to show the correct teletext type=6?? Somehow it showing to be DVB subtitling in DVBInspector which isn't correct. I'm using Gstreamer's recent windows build where all elements and plugins are version 1.19.1
I know there has been ongoing work in making mpegtsmux DVB and ATSC compliant which is a move forward and appreciative for all the work which goes into Gstreamer framework. I've tried ffmpeg however, I not sure how to go about muxing teletext data with ffmpeg as there naff all information I could find. Plenty on subtitling and actual plugin for such. sparse with actual teletext? I know there is the teletexdec plugin Only 'if' there was a plugin for encoding teletextenc ??
Back on my issue:- Is there a issue with mpegtsmux? or is it something I've done in my pipeline OR, plainly what I'm doing is not how you do it?
Attached is my Pipeline which encodes BigBuckBunny as RAW Video and audio to TS stream with Teletext encoding. I'd be working with live AV using fiffo's into gestreamer pipeline on the project. Teletext I hope to work on injecting these using appsrc however, more investigation and reseach on how to do buffer and PCR time stamping.. Has anyone out there has successfully done what I'm trying to do?
Pictures below show PID 1980 showing DVBSubtitling service (WRONG) in addition, VLC confirms such by advertising Subtitles however not the display Teletext.
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=5000 byte-stream=true threads=2 key-int-max=15 intra-refresh=true
! 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/OC3.demo.ts
! tsdemux name=demux program-number=4 parse-private-sections=false
demux.private_0_07ba
! queue
! application/x-teletext
! mux.sink_1980