VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Wish to replace the audio track on a MP4 screensaver.
    The tracks are different duration, so with final duration being the shorter of the two.
    Get invalid file index 1

    Also, is there an easier way to do this?
    Image Attached Thumbnails Click image for larger version

Name:	Untitled.jpg
Views:	35
Size:	245.3 KB
ID:	60215  

    Quote Quote  
  2. Your command only has 1 input (-i), but you reference 2 inputs with -map 0:0 and -map 1:0

    You need to specify the 2nd input after the mp4, something like -i input.mp3 (or whatever audio) , and if it's a compatible audio type in mp4, you can use -acodec copy
    Quote Quote  
  3. Thanks! It has been years since I used ffmpeg, so silly mistake and an extra pair of sharp eyes works.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!