Dear Allen, Do not even think about compiling ffmpeg in Win32. You may use it's source code to understand APIs or samples, Download the binaries here: http://ffmpeg.arrozcru.com/builds/
Then, you may use output_example.c example in ffmpeg source code. It creates some images files, compress them and append them to video streams of files. You need to do this: 1- Create an .mp4 file or .h264 using libavformat functions 2- Create a video stream 3- Capture images from camera (probably using RTSP or HTTP protocols, I will tell you specifically if you tell me your camera model) 4- Append the frame captured from camera to video stream (DO NOT PASS THEM TO CODEC INTERFACE, YOUR FRAMES ARE ALREADY COMPRESSED) 5- Do 3,4 steps till something happens 6- Close Video Stream I did do that with ffmpeg and it works. So, just take your time and play with API and use output_example as your base sample. Let me know if you need additional help. Roozbeh Zabihollahi CTO - iPronto Systems Mobile: +98 912 323 3970 http://www.ipronto.net --- On Thu, 3/5/09, Allen Ho <[email protected]> wrote: > From: Allen Ho <[email protected]> > Subject: [libav-user] H264 streaming > To: [email protected] > Date: Thursday, March 5, 2009, 10:54 PM > Hi. > > > > I'm currently trying to retrieve H2.62 streams from > this camera. > > > > The Documentation states that H.264 ES stream can be > decoded using > libavcodec. > > > > I'm a C# programmer and I'm not sure how to start. > > > > Basically you can retrieve packets from this camera, and > from this > camera you can assemble the H.264 ES Data. > > > > If I am able to obtain One frame (P or I Frame) from this > camera how do > I use libavcodec to decode so I can display the image? > > > > Any help is appreciated even if I can get sample code that > is not in C# > so I can get started it would be great. > > > > Also after obtaining the source from > svn://svn.ffmpeg.org/ffmpeg/ > > Where do I get the latest DLL that encapsulates all this > functionality? > > > > Thanks > > Allen > > > > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
