[Libav-user] Very slow av_write_frame

wolverin wolverin82 at mail.ru
Wed Apr 19 11:32:36 EEST 2023


Hello, All.
 
I read data from the SD card on the SoC and send it over the network via libav, the dump on the transmitting side looks like this
 
Output #0, mjpeg, to 'udp://192.168.1.1:5555':
  Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 1920x1080, q=2-31, 10 fps, 90k tbn
 
The average packet size is 200KB and it is sent via av_write_frame 300-350 ms!!! It turns out about 4.5Mbit/s, but the connection speed is 100 Mbit/s
 
What could be the reason???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230419/c4e689ae/attachment.htm>


More information about the Libav-user mailing list