I've been looking into using libavformat to write mpeg 2 transport streams with video and MISB (derived from SMPTE) synchronized KLV data (according to SMPTE RP217-2001. Looking at the code in mpegtsenc.c it looks like libAvformat isn't setup to do this yet, am I correct? Does anyone know of any work along these lines?

If I were to start down this endeavor it looks like the first thing I'd have to do is define a new code type, something along the lines of CODEC_ID_SMPTE_KLV Then I'd need to modify mpegts_write_pmt() to recognize this codec type and set the stream_type to private data ( 6 ) and then add a registration descriptor with a format id of "KLVA" (according to the SMPTE RP 217-2001 section 4.1.1).

I haven't gotten much further than this (actually I don't think there is much more to be done), but can anyone tell me if I'm on the right track here?

Thanks,
Matt Schuckmann

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to