[FFmpeg-devel] [PATCH v2] lavf/h264: Add support for raw h264 stream from Arecont camera, fixes ticket #5154
Shivam Goyal
shivgo at iitk.ac.in
Sat May 4 16:00:49 EEST 2019
On 04-05-2019 15:15, Hendrik Leppkes wrote:
> On Sat, May 4, 2019 at 10:52 AM Shivam Goyal <shivgo at iitk.ac.in> wrote:
>
>> The improved patch is for ticket #5154.
>>
>> Support for Raw h264 stream from Arecont Camera.
>>
>> Suggest any changes required.
>
> The format-name based check in ff_raw_read_partial_packet is really
> iffy. You can setup a specific read function in the AVInputFormat
> struct, just can't use the macro to set it up then. Also keep the
> probe and read function in the same file then.
Thanks for your suggestion.
Yeah, the name based check is not good. but i thought that, as the macro
is not taking any packet reading function as argument then there is no
other way.
I have gotten the idea of assigning a read function in AVInputFormat
struct, but as the avformat_open_input() probes and assigns the packet
reading function then how to change this, and when to change this ( at
the time of reading the header? ).
Thank you
Shivam Goyal
More information about the ffmpeg-devel
mailing list