The quick TSReader test worked fine with the file recorded by TSReader Lite of the program with the 0x80 DC-II video. It doesn't work with the other files recorded by MP, but that may have been by design as I don't know how you implemented the change. Anyway, thanks again for the effort.
Yes, it was just a quick hack to map MPEG2 video as 0x80.
Good to know it is actually plain MPEG2, but I'm a little bit pissed on the fact that things (specs in this case) need to be done twice. Why not to use the plain MPEG2 as video type and use the same stream ID as in DVB? It just makes developing applications like MediaPortal much harder as they are targeting world wide audience instead of the small, specific segment.
Any thoughts on how to move forward on the recording side as well? I know there is still this problem of conflicting standards with BluRay LPCM audio to resolve. Maybe the PMT PID for a particular program can be scanned for elementary stream types. If elementary stream types 0x1b (MPEG-4 AVC/H.264) or 0xea (SMPTE VC-1) are found (both used in BluRay) then elementary stream type 0x80 can be assumed to be LPCM audio (also used with BluRay). If those stream types are not found and elementary stream type 0x02 (MPEG-2) are not found then you could assume elementary stream type 0x80 is DC-II and can be treated similar to 0x02 (MPEG-2).
Thoughts?
Currently PMT parsing is not knowing anything about the already found PIDs, so adding
In short:
TsWriter needs to be changed to detect and use 0x80 as video stream (when it is a video stream)
TsReader needs to be changed to detect and use 0x80 as video stream (when it is a video stream)
TV plugin needs to be changed to allow stream info to be passed to skin (not sure if anything else is needed)
Pretty much the same as DD+ / A-EC3 patch I and Ambass did a short time ago (in addition the stream type detection must be added to detect between audio / video). Hopefully there is someone volunteering to provide a patch as currently I'm pretty much out of free time.
- 0002430: [TvPlugin] Add support for Dolby Digital Plus (E-AC3) (Tourettes) - resolved.
- 0002431: [TvServer] Add support for Dolby Digital Plus (E-AC3) (Tourettes) - resolved.
- 0002417: [TsReader] Add support for Dolby Digital Plus (E-AC3) (Tourettes) - resolved.
- 0002418: [TsWriter] Add support for Dolby Digital Plus (E-AC3) (Tourettes) - resolved.
I'll add Mantis tasks for the required changes (for a future release at this point).