I have a mp4 TV clip containing audio and video, as well as a WAV audio track.
I am trying to combine them into ffmpeg and then play online using a flash player (which can only accept h264 format)
What is the best ffmpeg team for this? My inputs are MP4 video, WAV audio and the offset in seconds, the time that the audio comment starts relative to the start of the mp4 video.
I tried
ffmpeg -i input_audio.wav -i input_vid.mp4 -vcodec copy output.mp4
and
ffmpeg -vcodec copy -ss offset -i input_audio.wav -i input_video.mp4 output.mp4
the bottom one does what I want and outputs the h264 video which is good for flash players. Is there a way to do this from the command line in ffmpeg?
minder42
source share