diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-30 11:26:11 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-05 09:57:04 +0300 |
commit | 715129cdc409499245fc9519da3db1436b660d3d (patch) | |
tree | ca6bf41ccce8d83400c830ee4e4593691d93bd77 /library.mak | |
parent | 07eeeb1d4fa6dea0fb3ad7cd11859db760a76528 (diff) | |
download | ffmpeg-715129cdc409499245fc9519da3db1436b660d3d.tar.gz |
avconv: Set audio filter time base to the sample rate
If the output frame size is smaller than the input sample rate,
and the input stream time base corresponds exactly to the input
frame size (getting input packet timestamps like 0, 1, 2, 3, 4 etc),
the output timestamps from the filter will be like
0, 1, 2, 3, 4, 4, 5 ..., leadning to non-monotone timestamps later.
A concrete example is input mp3 data having frame sizes of 1152
samples, transcoded to aac with 1024 sample frames.
By setting the audio filter time base to the sample rate, we will
get sensible timestamps for all output packets, regardless of
the ratio between the input and output frame sizes.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'library.mak')
0 files changed, 0 insertions, 0 deletions