[MEncoder-users] mencoder concatenation warps audio out of sync

Ian Collier Ian.Collier at comlab.ox.ac.uk
Sat Nov 7 11:33:54 CET 2009


On Fri, Nov 06, 2009 at 01:51:30PM -0800, you wrote:
> Nice find, thanks! What's the easiest way to create silent audio for the
> length of this video?

Personally I'd extract the audio into a wav file and then use sox with
the "pad" filter to extend it to the right length - or the "trim" filter
to cut it to the right length if it's too long.

If you mean discard the existing audio and make it silent then dd from
/dev/zero is often the answer, but you could also use sox to trim the
existing audio to zero and then pad it to the right length - that would
make the sample format automatically come out right.

imc


More information about the MEncoder-users mailing list