Motion - Support Question 2008x 10x 25x 070400

Problems after upgrade ffmpeg to the new version.

Question

Hello. I have faced a problem. Through an auto update, the operating system has refreshed a package ffmpeg to the version 0.4.9.15594svn-20081010.pm.2143. 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 ‘file_protocol.next’) 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 ‘file_protocol.next’)

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.


Environment

Motion version: 3.2.11
ffmpeg version: 0.4.9.15594svn-20081010.pm.2143
Libraries: ffmpeg, mysql
Server OS: OpenSuse 10.3 kernel 2.6.22.19-0.1-default #1 SMP

-- RafisKhayrullin - 25 Oct 2008

Answer

Already added a patch in 3.2.11 release notes page :

http://www.lavrsen.dk/twiki/bin/view/Motion/ReleaseNoteMotion3x2x11

Take a look to known problems and get the patches .

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