Hello all, I can create a Transport Stream (ts) with 188 byte packet size with libavformat. This works fine. But I can not create an m2ts (MPEG 2 Transport Stream-File) for bluray or such media. I looked into the mpegts.h and mpegts.c - file (under /libavformat) and see, that the 192byte Paket Size exists as an macro. But it seems that libavformat only support m2ts-reading. So my question is now, exists an hint to create a m2ts-Stream?
Or alternatively: I can not find any information of how building an m2ts-Stream. OK I know that m2ts is only a 188byte ts-packet plus 4 byte Timecode. BUT How is the TimeCode build??? And how is the TimeCode saved??? Do I have to append it at the end of an "normal" ts packet? Could anyone give me some hints? regards, Sven _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
