gohls icon indicating copy to clipboard operation
gohls copied to clipboard

Audio choppy

Open shimberger opened this issue 8 years ago • 6 comments

The audio is sometimes choppy between segments.

shimberger avatar Jan 22 '17 13:01 shimberger

It occurs very often. Do you know the reason of it?

ufukomer avatar Mar 08 '20 16:03 ufukomer

I have changed -t flag on -hls_time and it works for me.

awakeinng33 avatar May 12 '20 10:05 awakeinng33

@alai04 That is awesome! Can you open a pull request?

shimberger avatar May 12 '20 10:05 shimberger

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 avatar May 12 '20 10:05 GomZik

@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.

shimberger avatar May 12 '20 10:05 shimberger

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)

GomZik avatar May 12 '20 11:05 GomZik