Motion - Support Question 2008x 10x 25x 070400

Problems after upgrade ffmpeg to the new version.


Hello. I have faced a problem. Through an auto update, the operating system has refreshed a package ffmpeg to the version As a result working motion began to create video files which cannot be displayed. I have tried to recompile again motion, but unsuccessfully. There is such error of compilation:

ffmpeg.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_seek’ ffmpeg.c:185: error: ‘file_seek’ undeclared here (not in a function) ffmpeg.c:187: warning: missing initializer ffmpeg.c:187: warning: (near initialization for ‘’) make: * [ffmpeg.o] Error 1

I have corrected a code in ffmpeg.c

//static offset_t file_seek(URLContext *h, offset_t pos, int whence) static int64_t file_seek(URLContext *h, int64_t pos, int whence)

motion it is compiled without errors, but did not begin to work.

only ffmpeg.c:187: warning: missing initializer ffmpeg.c:187: warning: (near initialization for ‘’)

I am not strong in programming ffmpeg and I do not have possibility to be rolled away back on the old version ffmpeg. Motion has deeply entered into my life :), therefore I appeal about the help.


Motion version: 3.2.11
ffmpeg version:
Libraries: ffmpeg, mysql
Server OS: OpenSuse 10.3 kernel #1 SMP

-- RafisKhayrullin - 25 Oct 2008


Already added a patch in 3.2.11 release notes page :

Take a look to known problems and get the patches .

-- AngelCarpintero - 25 Oct 2008
Topic revision: r2 - 25 Oct 2008, AngelCarpintero
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.