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?![]()
+ Reply to Thread
Results 1 to 3 of 3
-
-
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
Similar Threads
-
ffmpeg losing subtitle track converting MP4 to MP4
By the_steve_randolph in forum Newbie / General discussionsReplies: 9Last Post: 31st May 2021, 16:42 -
Replacing audio track on a UHD Disc
By ernnnn in forum Authoring (Blu-ray)Replies: 1Last Post: 6th Feb 2021, 11:34 -
Replacing audio track on Yosemite 10.10
By spyderrp7 in forum MacReplies: 0Last Post: 3rd Aug 2019, 01:23 -
replacing (and syncing) an audio track of an MP4 video file
By rotchild in forum Newbie / General discussionsReplies: 6Last Post: 23rd Dec 2016, 04:32 -
replacing (and syncing) an audio track from an MP4 video file
By rotchild in forum RestorationReplies: 0Last Post: 14th Dec 2016, 20:30