Motion - Support Question 2005x 07x 17x 092359

Frames Recorded out of Sequence?


I'm having a problem with frames being recorded out of sequence in both the ffmpeg-generated video files and the jpeg snapshots. Timestamps go in order, but things jump backwards and then forward again.

I'm using a Toshiba network camera -- I suppose it is possible (though it seems very unlikely) that it's caching images somehow and spitting them out out of order.

I can send examples if you like.


Motion version: 3.2.1
ffmpeg version: 0.4.9pre1
Libraries: ffmpeg, mysql, postgresql
Server OS: Fedora, CentOS (happens on both)

-- JohnRumpelein - 17 Jul 2005


The problem is most likely in the Motion netcam code.

Someone will start looking at this again now.

I do not think you can do anything in your setup but any observations you can add that triggers the event is very welcome.

-- KennethLavrsen - 17 Jul 2005

A bug was just filed with same problem and also with a Network camera.

-- KennethLavrsen - 19 Jul 2005

It is interesting to see that it is always a single frame that is inserted wrong. Never two and then two. That confirms to me that it is the buffer in the netcam thread that does not communicate correctly with the camera thread.

-- KennethLavrsen - 19 Jul 2005
I Attachment Action Size Date Who Comment
17-20050718161734.aviavi 17-20050718161734.avi manage 3 MB 19 Jul 2005 - 03:20 UnknownUser movie with frames out of order
18-20050718163047.aviavi 18-20050718163047.avi manage 1 MB 19 Jul 2005 - 03:21 UnknownUser another with frames out of sequence (no I don't drive like that)
21-20050718172920.aviavi 21-20050718172920.avi manage 409 K 19 Jul 2005 - 03:22 UnknownUser (I don't walk like that either.)
24-20050718194142.aviavi 24-20050718194142.avi manage 666 K 19 Jul 2005 - 03:22 UnknownUser ..and sometimes they are fine.
Topic revision: r5 - 19 Jul 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.