[FFmpeg-devel] FFMpeg media concatenation issue

Sagar Upadhyay sagarupadhyay at webtechsystem.com
Wed Dec 14 09:43:22 EET 2022


Hello Jonbae,

Thank you so much for your quick response, I really appreciate it.
Sorry but I am new to ffmpeg and your help is giving me more support on
this.

But can you please help me with my command string as I am using below
string can you please help me with that is that correct or need to change.

"ffmpeg -i files\167100350475.mp4 -loop 1 -framerate 24 -t 10 -i
files\167100350486.jpg -i files\167100350422.mp4 -t 10 -i
files\16710035042.mp3 -filter_complex
"[0]scale=432:432,setsar=1[vid0];[1]scale=432:432,setsar=1[img1];[2]scale=432:432,setsar=1[vid2];[vid0][0][img1][3][vid2][2]concat=n=3:v=1:a=1"
20221214073824lastvideo.mp4"

In this command, there are 3 media 2 videos and 1 image that I need to
concatenate and there is one audio file that I want to set in the
background.
So the sequence is 1)video 2) image 3) video and I am trying to set the
audio in the background.

The same code is working on my local system but while I am trying to
implement this on my server and it's not working and also the same problem
facing on my other system also.

If you or anyone can help me with this?



Thanks & Regards
Sagar Upadhyay
*Abbacus Technologies*
Skype: live:.cid.15b5ae379d6c78b7
UK: +44 207 193 3428 <+442071933428> | US: +1 201 204 9318 <+12012049318>
IND: +91 79 400 500 60 <+917940050060>
<sagarupadhyay at webtechsystem.com> WEB <http://www.abbacustechnologies.com/>


On Wed, Dec 14, 2022 at 12:10 PM jb <jonbae77 at gmail.com> wrote:

>
> Am 14.12.22 um 07:22 schrieb Sagar Upadhyay:
> > Preview attachment ffmpegerror.PNG
> > ffmpegerror.PNG
> > 85 KB
> > Hello,
> >
> > I am using FFmpeg for concatenating videos, images, background images,
> and
> > set background audio.
> > I have done all things and it's working on my system but while I am using
> > the same command on another system and on the server, it's showing me
> > stream related error.
> >
> > Can you please help me with this issue?
> >
> > I've attached a screenshot of the error message which I'm getting.
>
> Hello,
>
> I think is better and more save to specify the streams correctly, with
> [0:v] | [0:a] | [1:v] | [1:a] and so on. This is also the way in the
> documentation: https://ffmpeg.org/ffmpeg-filters.html#concat
>
>
> >
> > Thanks & Regards
> > Sagar Upadhyay
> > *Abbacus Technologies*
> > Skype: live:.cid.15b5ae379d6c78b7
> > UK: +44 207 193 3428 <+442071933428> | US: +1 201 204 9318 <+12012049318>
> > IND: +91 79 400 500 60 <+917940050060>
> > <sagarupadhyay at webtechsystem.com> WEB <
> http://www.abbacustechnologies.com/>
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list