[Ffmpeg-devel] decoding received H.264 stream

Engin Kurutepe kurutepe
Sun Feb 11 14:07:08 CET 2007


Dearl all,

I am streaming h.264 video over RTSP/RTP using the live media  
library. I have been trying for a week to decode the received NAL  
units using avcodec_decode_video() to no avail because I have not  
been able to properly initialize AVFormatContext and AVCodecContext  
instances.

What is the proper way to make live media and ffmpeg work together?  
does anybody have example code using RTSP (not necessarily live  
media) with ffmpeg to get me started?

Thanks a lot in advance,
Engin Kurutepe.





More information about the ffmpeg-devel mailing list