On Mon, 2 Aug 2021 at 15:15, Jacques Perconte
<jacques.perco...@gmail.com> wrote:
>
> I want to merge several avi files (dozen) witthout touching the internal 
> frame structure.
> The « cat »  command marge priorly the files, but I need to rebuild the 
> index. If not, only the first pasted file is accessible.
> Today I use mencoder, but I would love to use ffmpeg if possible.

Yes. The concat demuxer can be used to merge avi files.
You need to make sure you have a recent version of ffmpeg.
The command below can be used.

ls *.avi | while read each; do echo "file '$each'" >> mylist.txt; done

then

ffmpeg -f concat -safe 0 -i mylist.txt  -c copy  youroutput.avi

Def.

>
> thanks
> Jacques
>
>
> > Le 2 août 2021 à 14:12, DEF <shaker....@gmail.com> a écrit :
> >
> > On Mon, 2 Aug 2021 at 12:40, Jacques Perconte
> > <jacques.perco...@gmail.com> wrote:
> >>
> >> Dear all,
> >>
> >> Do you know if it is possible to perform something like the forceidx
> >> function of mencoder with ffmpeg to rebuild index of merged avi files
> >> (with cat) without doing anything else ?
> >>
> >
> > Some people familiar with ffmpeg may not have used mencoder.
> >
> > Is your final objective just to merge avi files?
> >
> >> thanks
> >> jacques
> >> _______________________________________________
> >>
> > _______________________________________________
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to