[Libav-user] A/V Sync problem
Tomislav Timic
tomislavtimic98 at gmail.com
Sat Oct 26 20:18:03 EEST 2024
Hello,
I am building custom transcoder/abr packager solution using libav, and i
implement demux and mux of mpeg 2 ts and iso bmff, but i am having problem
when encoding video and audio, video encoding is a lot slower, and output
stream gets out of sync.
My question is how should i approach this problem, should I decode/encode
on separate threads, and sleep for delay that i calculate based on pts, or
should I implement some filter in libav?
I just want to hear experience from people who solved it.
Thank you. Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20241026/21f019a6/attachment.htm>
More information about the Libav-user
mailing list