On 10/02/2012, at 10.20, Martin Storsjö wrote: > On Fri, 10 Feb 2012, Luca Barbato wrote: > >> On 2/10/12 12:01 AM, Martin Storsjö wrote: >>> --- >>> libavformat/mpegtsenc.c | 3 ++- >>> 1 files changed, 2 insertions(+), 1 deletions(-) >> >> Assuming it won't break anything or generate faulty ts, ok. > > TS files generated with 3 byte start codes (stream copy from RTP/H264) played > back fine in both VLC and avplay, with this patch applied. > > I'll push this in a while then, if there's no objections.
This would generate non-compliant streams. H.264 Annex-B coded streams mandate that the first start code is at least 4 bytes long, and additionally ISO/IEC 13818-1 requires it to be exactly 4 bytes. Regards, Gil _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
