I'm trying to join two video clips, the second with audio but the first without. The command I'm using isand the contents of the JoinList file areCode:ffmpeg -f concat -i JoinList.txt -c copy JOINED.mp4Unfortunately, this produces a joined file that's silent throughout. Switching the order of the files fixes it, but I need the silent part first. How can I do this (using ffmpeg)?file silent.mp4
file audible.mp4
Thanks!
+ Reply to Thread
Results 1 to 4 of 4
-
Last edited by wallywalters; 11th Jul 2015 at 15:14.
-
try adding a silent (blank) audio stream to silent.mp4 before appending
-
I've tried, but the audio stream keeps coming out at a different length than the video. This is my CLI. What am I doing wrong?
Code:ffmpeg -f lavfi -i aevalsrc=0 -i silent_IN.mp4 -shortest -c:v copy -c:a libfdk_aac silent_OUT.mp4
-
Solved it. Making sure the audio frequency of the two clips matched did the trick. What finally worked was
ffmpeg -i silent_IN.mp4 -f lavfi -i aevalsrc=0:s=48000 -c:v copy -shortest silent_OUT.mp4
Similar Threads
-
[SOLVED] "--ipratio" "--pbratio"+"--scenecut" "--minkeyint" / "--keyint
By Kdmeizk in forum Video ConversionReplies: 14Last Post: 21st Jun 2015, 07:21 -
FFMPEG: hot to set the "mpeg audio version 1" encoder?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 24th Mar 2015, 02:50 -
the "-intra" command in ffmpeg.exe affects encoding "-vcodec copy" mode?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 23rd Oct 2013, 15:53 -
Why does FFmpeg stop with an error message with "-c copy -b:v 700k"options?
By falco2000 in forum Video ConversionReplies: 5Last Post: 4th Oct 2012, 12:39 -
How to edit "info.dvr" + How to match a particular MPEG format with FFMPEG
By falco2000 in forum Video ConversionReplies: 8Last Post: 27th Sep 2012, 11:00