0

In below Command works perfectly with volume of mainvideo but if volume is not added in mainvideo then error occurs. so, what to do for volume is not added

Stream specifier ':a' in filtergraph description [0:v]drawtext=fontfile=/Users/artixun/code/videocarsales/storage/assets/video/FutuMd.ttf: text=2015 AUDI A1 SPORTBACK 1.4 TFSI ATTRACTION 8X MY14: x=300: y=470: fontsize=28: fontcolor=white: enable='between(t,2,5)',fade=t=out:st=5:d=1,setpts=PTS-STARTPTS[v0]; [1:v][4]overlay=W-w-5:H-h-5,fade=t=in:st=0:d=1,fade=t=out:st=37:d=1,setpts=PTS-STARTPTS[v1]; [2:v]fade=t=in:st=0:d=1,setpts=PTS-STARTPTS[v2]; [1:a][3:a]amix=inputs=2:duration=shortest[maina]; [v0][0][v1][maina][v2][2]concat=n=3:v=1:a=1[outv][outa] matches no streams.

Command:

ffmpeg -y -i intro.mp4 -i mainvideo.mp4 -i outro.mp4 -i audiobasic.mp3 
-i vcs-watermark-video.png -filter_complex " 
[0:v]drawtext=fontfile=FutuMd.ttf: text=Audi: x=300: y=470: 
fontsize=28: fontcolor=white: 
enable='between(t,2,5)',fade=t=out:st=5:d=1,setpts=PTS-STARTPTS[v0]; \
[1:v][4]overlay=W-w-5:H-h- 
5,fade=t=in:st=0:d=1,fade=t=out:st=37:d=1,setpts=PTS-STARTPTS[v1]; \
[2:v]fade=t=in:st=0:d=1,setpts=PTS-STARTPTS[v2]; \
[1:a][3:a]amix=inputs=2:duration=shortest[maina]; \
[v0][0][v1][maina][v2][2]concat=n=3:v=1:a=1[outv][outa]" -vcodec 
libx264 -c:a aac -ac 2 -map "[outv]" -map "[outa]" videofinalbasic.mp4
  • Incomplete log (always show the complete log) so I can only guess: check that mainvideo.mp4 actually has audio. – llogan Feb 26 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.