[Libav-user] Very slow av_write_frame

Yurii Monakov monakov.y at gmail.com
Fri Apr 21 07:58:54 EEST 2023


Hello,

100 Mbit/s is a measured speed or maximum link speed? If it is theoretical
maximum, than you can measure real UDP speed with iperf3.

Yurii

Ср, 19 апр. 2023 г. в 11:32, wolverin via Libav-user <libav-user at ffmpeg.org
>:

> 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???
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230421/790937e4/attachment.htm>


More information about the Libav-user mailing list