Not much response, should I have posted this to developer list?
How about this, can anyone tell me how to get avformat (av_read_frame()
) to return private data packets from mpeg 2 transport streams? It seems
that it's skipping over them, is there an option in AVInputFormat or
AVStream structures?
Thanks
Matt S.
On 1/19/2010 4:53 PM, Matt Schuckmannn wrote:
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
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user