[Libav-user] av_open_input_file takes a while
alexcohn at netvision.net.il
Thu May 3 14:44:06 CEST 2012
On Thu, May 3, 2012 at 12:22 PM, Mika Rajala <mika_rajala_2 at hotmail.com> wrote:
> I'm using the method avformat_open_input to load a ~2GB h264 encoded video file.
> int err = avformat_open_input(&m_formatContext, path, NULL, NULL);
> This takes a bit too long however, is there any way to make it faster?
You could probably reduce the opening time if you disable format/codec sniffing.
More information about the Libav-user