[PATCH]Accept startcode 001 when remuxing H264 into mpegts
Hi! Attached patch fixes remuxing of h264 into mpeg-ts for some wtv input files. Please review, Carl Eugen
On Tuesday 09 April 2013 03:21:33 pm Carl Eugen Hoyos wrote:
Hi!
Attached patch fixes remuxing of h264 into mpeg-ts for some wtv input files.
Updated patch attached, WMP and QT play such samples. Fixes ticket #4324. Please comment, Carl Eugen
On Wed, Feb 25, 2015 at 12:05:27AM +0100, Carl Eugen Hoyos wrote:
On Tuesday 09 April 2013 03:21:33 pm Carl Eugen Hoyos wrote:
Hi!
Attached patch fixes remuxing of h264 into mpeg-ts for some wtv input files.
Updated patch attached, WMP and QT play such samples. Fixes ticket #4324.
Please comment, Carl Eugen
mpegtsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 6bf84ed90b2c449b1f2db69247c9a71ab4ba1fe5 patchh264startcode.diff
should be ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are wrong.
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
- if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) { + if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001 && AV_RB24(pkt->data) != 0x000001) {
This was merged by Michael, it also fixed ticket #2220. Thank you, Carl Eugen
participants (2)
-
Carl Eugen Hoyos -
Michael Niedermayer