> 24 груд. 2014 о 12:36 Nicolas George <[email protected]> написав(ла): > > Le quartidi 4 nivôse, an CCXXIII, Vladimir Bilichenko a écrit : >> I need to join 3 video files. First video file contains 1 video stream, >> second and third files contain 1 video stream and 1 audio stream. > > [0:v][1:v][2:v]concat=n=3:v=1:a=0 will work. > Here is my modified command: ./ffmpeg -y -i mp4.mp4 -i ogv.ogv -i ogv2.ogv -vcodec ppm -filter_complex "[0:v][1:v][2:v]concat=n=3:v=1:a=0:unsafe=1 [v] [a]" -s '1280x1080' -b:v '512K' -b:a '128K' -strict -2 -c:v libx264 -preset ultrafast -map [v] -map [a] -r 30 outtmp.mp4 ./ffmpeg -i outtmp.mp4 -s $target_width'x'$target_height -vf "scale=iw*sar:ih , pad=max(iw\,ih*($target_aspect_ratio)):ow/($target_aspect_ratio):(ow-iw)/2:(oh-ih)/2" -aspect $target_width':'$target_height -strict -2 777.mp4
But now i get the following error: [AVFilterGraph @ 0x7ff241d1b700] No output pad can be associated to link label 'a'. Error configuring filters. How to configure audio filters? > Regards, > > -- > Nicolas George > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
