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 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.
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql
| Server OS:
|| OpenSuse 10.3 kernel 184.108.40.206-0.1-default #1 SMP
- 25 Oct 2008
Already added a patch in 3.2.11 release notes page :
Take a look to known problems and get the patches .
- 25 Oct 2008