[FFmpeg-devel] [PATCH v5] avformat/ifv: added support for ifv cctv files

Swaraj Hota swarajhota353 at gmail.com
Fri May 31 12:12:01 EEST 2019


On Thu, May 30, 2019 at 08:33:35PM +0200, Reimar Döffinger wrote:
> 
> 
> On 29.05.2019, at 19:51, Swaraj Hota <swarajhota353 at gmail.com> wrote:
> >> 
> >> Entirely depends on the purpose.
> >> If the aim is to have a working demuxer, I think it is acceptable from what I looked at.
> >> I guess the only concern might be that not supporting piped input would be a bit of a regression from the first patch.
> > 
> > Is there another simpler way to support piped input? Can you explain a
> > bit?
> 
> The mov demuxer code isn't really all that complicated.
> The basic idea is: if the input is not seekable, decided whether to read audio or video based on which one has the lowest file position (a bit like your original patch, but using it only for the "audio or video next" decision.
> If input is seekable, pick the stream with the lowest next timestamp as your patch does now.
> It should be not that complicated in principle, but the details can make it a pain sometimes.

Okay, I think I get the basic idea now. I will surely try to implement
this later in another patch. Thanx a lot!

Swaraj


More information about the ffmpeg-devel mailing list