[MEncoder-users] Mencoder does not sort joeg images !?
Kevin Williams
kevkim55 at gmail.com
Wed Aug 1 21:21:29 CEST 2007
Thank you both for your help. I really appreciate it.
Yes, it is true that a leading 0 can fix the problem of collating. This is
something I had done before, forgot over the time ! :-(
Said that, mencoder is working just perfect with filenames beginning with
0s.
Sorry for the noise, my bad ! :-)
Guess, I shall keep this collating sequence in mind as this would help a lot
in the future if, I happen to stumble upon similar situation.
Thanks again for all your help.
Regards,
Kevin
On 7/31/07, Dieter <freebsd at sopwith.solgatos.com> wrote:
>
> > I've 1000's of jpeg images taken by my webcam's Time Lapse Video
> feature. Now,
> > I want to stitch these into an AVI video.
> >
> > I'm using mencoder to get this done and this is the command I use:
> >
> > mencoder "mf://*.jpg" -mf type=jpeg:fps=10 -o /Movies/image-video2.avi-ovc
> > xvid -xvidencopts bitrate=200
> >
> > The images are named with numbers starting with 1 i.e. 1.jpg, 2.jpg....
> and so
> > on and so forth, numbered in chronological order with the
> firstmost/oldest
> > image being named 1.jpg. I expected mencoder to sort the filenames in
> > ascending order and start with the lowermost number i.e. 1.jpg. Looks
> like it
> > doesn't happen this way. When I play the encoded movie, I can tell that
> these
> > images were not sorted as each of the image has date and time printed on
> the
> > lower right corner and this keeps changing in randomly.
> >
> > How do I get mencoder to sort the filenames or how can I specify a file
> that
> > contains the list of files sorted in the desired order ?
>
> Have you tried naming the files with leading zeros so that they sort
> correctly?
>
> 000000001.jpg
> 000000002.jpg
> 000000003.jpg
> 000000004.jpg
> 000000005.jpg
> 000000006.jpg
> 000000007.jpg
> 000000008.jpg
> 000000009.jpg
> 000000010.jpg
> 000000011.jpg
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
More information about the MEncoder-users
mailing list