开发者

FFmpeg read from file which is dynamically grows

When i try to to read media packets with

while(true)
{     
     av_read_frame(pFormatCtx, &packet);

}

av_read_frame return EOF after a little time although the file is still grows.

How can i force ffmpeg to read file continously?

Best 开发者_如何学CWishes


Use the pipe: protocol handler instead of a file pointer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜