If you have a video that you want to change the audio with a given mp3, try this command:
mencoder original.wmv -oac copy -ovc copy -audiofile dub.mp3 -o new.wmv
where: |file|description| |—|—| |original.wmv|The original video to dub.| |dub.mp3|An audio file with the new audio. This file should be the same length as the video.| |new.wmv|The final video that is created.|
There will likely be a lot of messages that look like this:
Pos: 522.3s 14486f (60%) 2110.43fps Trem: 0min 32mb A-V:-0.002 [117:127] 71 duplicate frame(s)! Pos: 522.3s 14487f (60%) 2110.27fps Trem: 0min 32mb A-V:0.001 [117:127] 30 duplicate frame(s)! Pos: 522.4s 14488f (60%) 2110.42fps Trem: 0min 32mb A-V:-0.000 [117:127] 31 duplicate frame(s)! Pos: 522.4s 14489f (60%) 2110.56fps Trem: 0min 32mb A-V:-0.001 [117:127]
These are just warnings, about something that will not prevent the conversion from completion. There may be thousands of these lines, but the conversion will eventually complete. Be patient.