If the total length of audio and video is different, you can
1) multiplex into
Matroska container and adjust the audio playback speed (samplerate change would involve re-encoding)
2) correct the video frame rate (does not require Matroska).
3) better get a proper copy of your video