I use VLC to streaming a static jpeg image. The image is a CIF 355X288 pixels and requires about 40 kbyte of space. I use the following command to stream
Code: Select all
vlc image.jpg --fake-duration 7200000 --sout '#transcode{vcodec=H263p,fps=1,width=352,height=288,acodec=none}:duplicate{dst=rtp{dst=195.223.178.50,port-audio=11652,port-video=10170}}'
The output video bandwidth is about 400 kbit/s. I have used Wireshark to capture packets at IP level and there are a lot of overhead information. 40 kbytes = 320 kbits + overhead of LAN and IP protocol about 400 kbits.
I don't understand why the static image requires so high bandwidth. A softphone as eyebeam/x-lite or pangolin, with the same configuration CIF etc., require about 200 kbit/s.
How can I reduce the bandwidth? I see a lot of P-frame in the captured packets, why? It should be only I-frames?
Thank you very much