This is with “FFmpeg Media Encoder” from Google Store (Linux-based Android OS), but it has all the commands of ffmpeg for normal Linux.
-shortest
truncates the video to match the audio, and -longest
has the last half of the video not have audio (for videos twice as long as audio,)
what to use to loop audio (to match length of video with this)?
Video length is 15:02, so used ffmpeg -i "/audio.m4a" -c copy -map 0:a:0 "/audionew.m4a"
-t 15:02 -stream_loop -1`, but got errors.
New contributor
1