[FFmpeg-devel] [PATCH v2 9/9] avformat/pcm: decrease target audio frame per sec to 10

Paul B Mahol onemda at gmail.com
Sun Mar 17 14:44:50 EET 2024


On Thu, Mar 14, 2024 at 11:30 PM Marton Balint <cus at passwd.hu> wrote:

>
>
> On Thu, 14 Mar 2024, Paul B Mahol wrote:
>
> > This is just ugly hack for workaround around broken ffmpeg threading.
>
> This actually improves single threaded performance as well, check it with
> ffprobe if you want. Sure, the reason I turned my attention to this is
> the speed loss of ffmpeg.c because of threaded processing, but this is an
> improvement regardless of threaded or non-threaded use.
>

The single thread improvement is less drastic than multi-threading drop
with small packets.
Just compare with using API directly and avoiding ffmpeg.c threading mess.


>
> Regards,
> Marton
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list