gohls
gohls copied to clipboard
Audio choppy
The audio is sometimes choppy between segments.
It occurs very often. Do you know the reason of it?
I have changed -t flag on -hls_time and it works for me.
@alai04 That is awesome! Can you open a pull request?
I'm also searching for an solution, but looks like it impossible by design if transcoding runs independantly
see: https://developer.apple.com/library/archive/technotes/tn2258/_index.html#//apple_ref/doc/uid/DTS40009396
@GomZik Thanks for sharing! I will look into this document. Learning a lot here. The independent transcoding seems to be the issue. I did not know this when I started this project since I just wanted to learn about video encoding.
Best what I have done - it is transcoding audio separately using one ffmpeg command, but it also takes a lot amount of time for single media file (koef is something about 3x)