You might want to check CPU load during compression. H264 requires a lot of CPU for encoding especially frames with lots of motion. It may be that the CPU is not keeping up with the input source.
On Mon, Nov 23, 2009 at 2:43 PM, Marcelo Caniato Renhe < [email protected]> wrote: > Hello all! > > I am developing an application which encodes video frames captured from a > webcam and sends the frames through UDP streaming to a client connected to > it. The client then decodes the frame and exhibits it on the screen. I am > using H.264 codec and I am getting a lot of noise. At first, I thought it > could be just because of packet loss, but I have an alternate JPEG encoding > which is working better than H.264. So packet loss doesn't make sense, > because the size of the buffer sent is a lot smaller in H.264 than in JPEG > (approximately 4x smaller). I tried to play with the codec parameters, but > they are so many and the documentation is not much helpful. > > So if any of you know how to reduce the noise in the image or have some > tips > for me, please answer. Basically, when I move the camera, a lot of glitches > appear in the screen and some portions of previous frames keep kind of > repeating in the new frames. It stabilizes, but it takes some time, and I > need it to be real time. > > Thank you! > > Marcelo, o Caniato! > > "Faça da tua vida um reflexo da sociedade que desejas." > (Mahatma Ghandi) > _______________________________________________ > 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
