[Ffmpeg-devel] problem of decoding mpeg4 ps streamwithlibavformat and libavcodec

Måns Rullgård mru
Tue Aug 22 07:35:26 CEST 2006


"??" <keweixiao at sohu.com> writes:

>     If I use av_open_input_file() function, the video parameter can be 
> detected successfully,  but if use av_open_input_stream() it failed.
>     What I want to know is can we use av_open_input_file() to open
> a live stream? and how? thanks!

av_open_input_file() calls av_open_input_stream() to actually open the
file.  Whatever works with one should work with the other, if you're
using them properly.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list