A partial repost of a message from another thread. The general difficulty in the other thread seems to have cleared up, but I now am encountering a different issue -- memory leak.
I'm using a 22 June build of the Subversion files, Win2K, fully patched, Osprey framegrabber.
VLC is set to take DirectShow input, video only, 320x240 resolution off of a framegrabber, stream via UDP, using point-to-point UDP, mp4V transcoding, 768 kbps.
There's definitely a memory leak somewhere. With just the Message window and Windows Task Manager open on the desktop, running 320x240 video capture, VLC memory utililzation increased from 14580 KB to 16540KB over 10 minutes, and 17000 KB at 20 minutes. (in other words 2.4 MB increase). It's a gradual increase but consistently trending upwards with time.
For VLC Messages, I only had one over the 10 minutes:
mux_ts debug: adjusting rate at 66022/239100 (193/19)
I believe that may not have occured until I popped open my Web browser. As I've mucked about a bit, opening and sliding windows on the Desktop, I've gotten a few more of the above message -- ffmpeg auto-adjusting itself a bit to keep within the nominal bandwidth?
(for testing, I'm taking an analog composite output from my PC, a clone of the Desktop, and feeding that as the input to the Osprey card being used by the VLC server)
When I tested at higher resolution, something that was pegging the CPU, the leak was huge -- over 200 MB growth in VLC memory use in 1 minute. It seems (probably wrong) like there must be some kind of video buffer that is growing if the individual video frames aren't getting encoded/transmitted fast enough -- a "marshmallow mountain" where frames just keep building in an input queue. I have no clue what queue this is -- whether it's frames going to the mpeg encoding area, encoded frames going to the packetizer,...
I would be happy to turn on any additional debugging that could assist tracking this down, just don't know what to do.
Thanks.