[Ffmpeg-devel] Error in decode mpeg4-ps live stream
Kevin
keweixiao
Fri Oct 27 11:02:10 CEST 2006
Hi,
I use the libavformat to demux a live stream. Use the function
av_open_input_stream() to open the stream, if the stream is mpeg2-ps
or mpeg2-ts or mpeg4-ts,it can detect the video parameter after the
function av_find_stream_info(),but if it is a mpeg4-ps stream, error
occured! the av_find_stream_info() return success ,but the video
parameter in the struct AVCodecContext is all wrong.
on the other hand ,if i use av_open_input_file() and input the
file name all functions run ok!
pleast help me! thans!
--------------
Kevin
2006-10-27
More information about the ffmpeg-devel
mailing list