I am attempting to create an MPEG2 transport stream with two streams - an MP2 video stream and a data stream. The data stream contains KLV metadata and I'd like to set its stream id to a particular value (to match various MISB guidelines). It seems like I should be able to do this by passing the desired stream id to av_new_stream() when I create the stream. After doing so, when I look at the id member of the resulting AVStream struct, it is set to what I passed in. However, after I write out the file, if I run ffprobe -show_streams, the stream id isn't what I set it to (it's 0x101 and the video stream's id is 0x100). What's happening? Is there a way to set this?
Thanks. adam _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
