Thanks very much for your assistance! I do the "H264VideoRTPSource -> H264VideoFileSink -> testH264VideoToTransportStream" test and yes, VLC can play the generated file successful.
This *should* work, with one modification: You will need to add a 'start code' (i.e., 0x00 0x00 0x00 0x01) before each NAL unit that comes out of the "H264VideoRTPSource". You will need to do this - using a separate filter class (that you would write) - before you feed the output into a " MPEG2TransportStreamFromESSource". when I try to follow your suggestion, I found it's too hard for me to write such a filter class. I tried to implement a new subclass of "FramedFilter", but don't know what virtual functions should I overridden to insert the start code at each NALU's head just as "H264VideoFileSink::afterGettingFrame1()" does. Is there any example or test program I can refer to? Could you give me any suggestion on this matter?
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
