Re: [FFmpeg-devel] [PATCH v4] lavf/h264: add support for h264 video from Arecont camera, fixes ticket #5154

2019-05-11 Thread Shivam Goyal
On 11-05-2019 04:27, Reimar Döffinger wrote: > On Thu, May 09, 2019 at 11:45:59PM +0530, Shivam Goyal wrote: > >> @@ -117,4 +120,128 @@ static int h264_probe(const AVProbeData *p) >> return 0; >> } >> >> +static const uint8_t arecont_sign[] = {0x2D, 0x2D, 0x66, 0x62, 0x64, 0x72, >> 0x0D,

Re: [FFmpeg-devel] [PATCH v4] lavf/h264: add support for h264 video from Arecont camera, fixes ticket #5154

2019-05-10 Thread Reimar Döffinger
On Thu, May 09, 2019 at 11:45:59PM +0530, Shivam Goyal wrote: > @@ -117,4 +120,128 @@ static int h264_probe(const AVProbeData *p) > return 0; > } > > +static const uint8_t arecont_sign[] = {0x2D, 0x2D, 0x66, 0x62, 0x64, 0x72, > 0x0D, 0x0A}; I admit I was more thinking of either static

[FFmpeg-devel] [PATCH v4] lavf/h264: add support for h264 video from Arecont camera, fixes ticket #5154

2019-05-09 Thread Shivam Goyal
The patch is for ticket #5154. Support for h264 stream from Arecont Camera, The video contains a http header at several places in the stream, which makes it not possible to demux, the structure of the http header is- --fbdr Content-Type: video/H.264I ETag: Channel=1 ( there are two CR+LF