• Øyvind "pippin" Kolås's avatar
    ff-load/ff-save: improve audio frame handling · 7c4b4ed2
    Øyvind "pippin" Kolås authored
    Previously the audio frame handling only worked well when the audio sample-rate
    was an integer multiple of the frame-rate. After these changes ff-load provides
    the same number of samples for all frames, and it is the task of ff-save to
    bite the correct number of samples per frame from the provided buffer.
    both mp4 files and ogv files produced play back correctly in firefox, but many
    media players have issues with syncing up the mp4 audio track of the mp4s,
    doing some caching/code refactoring to achieve bigger compatibility would be
ff-save.c 30.2 KB