ffmpeg-tutorial icon indicating copy to clipboard operation
ffmpeg-tutorial copied to clipboard

tutorial7 - synchronize_audio

Open ghost opened this issue 12 years ago • 0 comments

I noticed 2 problems about the function "synchronize_audio".

  1. The parameter pts in never used.
  2. In the block "else if(wanted_size > samples_size)", nb is computed as "nb = (samples_size - wanted_size)", thus the loop "while(nb > 0)" is never performed.

I tried to resample the result with "swr_convert", without success.

Thanks for your repository anyway.

ghost avatar Aug 20 '13 13:08 ghost