justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
829 stars 140 forks source link

DVB subtitle stream not recognised and ignored #878

Open priitv8 opened 1 month ago

priitv8 commented 1 month ago

It seems the DVB subtitle issue has been raised already in 2020 and closed as resolved https://github.com/justdan96/tsMuxer/issues/374 but the core issue is still not resolved. I try to open a .ts file recorded from a satellite. It contains subtitles in DVB format. Unfortunately, tsMuxeR is not able to recognise the subtitle stream and will not (re)mux them into a new file. Could the DVB support be added to tsMuxeR, please?

Screenshot 2024-05-27 at 09 01 04 Screenshot 2024-05-27 at 09 02 28 Screenshot 2024-05-27 at 09 02 40
jcdr428 commented 1 month ago

@priitv8 #374 was about a specufic issue which was a priori solved (the OP never confirmed). Can you provide a sample of mpeg-ts with dvb, so that the structure can be analyzed ?

priitv8 commented 1 month ago

Hi

Yes, sure. Here is one: https://drive.google.com/file/d/1Hi2iBmkS9peqSFvXIPP7YwzkCq1w5eGI/view?usp=share_link

PS I also took a quick look at the code. I can see, that the basic class has been implemented,

https://github.com/justdan96/tsMuxer/blob/master/tsMuxer/dvbSubStreamReader.h https://github.com/justdan96/tsMuxer/blob/master/tsMuxer/dvbSubStreamReader.cpp

but the ride ends quite abruptly here:

int DVBSubStreamReader::intDecodeFrame(uint8_t buff, uint8_t end) { return 0; // not working yet

priitv8 commented 1 month ago

I believe the spec is defined in this document https://www.etsi.org/deliver/etsi_en/300700_300799/300743/01.06.01_20/en_300743v010601a.pdf