[FFmpeg-devel] Transport streams with change in channels/sample rate result in huge silence insertion
smahendrakar at rgbnetworks.com
Mon Jan 7 22:57:33 CET 2013
Transcoding of transport stream ingests with change in audio channels or sample rate on the fly, will result in huge silence addition. This is incorrect and is happening due to the variable 'outpts' of SwrContext structure is getting reset to zero at the channels/sample rate change.
Fixing this problem by re-calculating the variable outpts(when null), in function swr_next_pts.
Please find attached the diff.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel