Hi Gys, I've upgraded from the live cd 1.17.0 to 1.18.1 with no problems. However....
I know want to use 1.19.0 as this fixes some of the problems with 1.18.1.
So i downloaded it and ran configure with the --with-ffmpeg with /usr/local/src/ffmpeg-0.4.8 but the message says libavformat.a is required for streaming. it's odd as doing find / -name libavformat.a it is in the /usr/local/src/ffmpeg-0.4.8/libavformat/libavformat.a
so can anyone help me work why this is the case.
regards
Paul
1.19.0, wont build on the live cd version.
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0, wont build on the live cd version.
What was the output of your configure command, did it find those libraries ok?
Phil,
Phil,
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
Re: 1.19.0, wont build on the live cd version.
Hi Phil,
Ok i downloaded ffmpeg, did configure, make and make install.
The out put form the zm config says that it finds :-
avcodec_init in -lavcodec... yes
but
av_new_stream in -lavformat... no
lame_init in -lmp3lame... no
So is there some software i need to install.
ffmpeg is in /usr/local/src/ffmpeg
and /usr/local/bin
regards
Paul
Ok i downloaded ffmpeg, did configure, make and make install.
The out put form the zm config says that it finds :-
avcodec_init in -lavcodec... yes
but
av_new_stream in -lavformat... no
lame_init in -lmp3lame... no
So is there some software i need to install.
ffmpeg is in /usr/local/src/ffmpeg
and /usr/local/bin
regards
Paul
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0, wont build on the live cd version.
Hi Paul,
You may be better of getting the pre-repease 1.19.1 which has changed the sense of the --with-ffmpeg option to instead point to the _installed_ root rather than the build root. If you do 'make installlibs' in ffmpeg it will instal the libraries and headers and then with 1.19.1 you would say --with-ffmpeg=/usr/local or something along those lines. Otherwise I don't know why one library should be detected and not the other, do they both exist?
Phil,
You may be better of getting the pre-repease 1.19.1 which has changed the sense of the --with-ffmpeg option to instead point to the _installed_ root rather than the build root. If you do 'make installlibs' in ffmpeg it will instal the libraries and headers and then with 1.19.1 you would say --with-ffmpeg=/usr/local or something along those lines. Otherwise I don't know why one library should be detected and not the other, do they both exist?
Phil,
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
Re: 1.19.0, wont build on the live cd version.
Hi Phil,
I've downloaded the 1.19.1 and made sure i did make installlib in ffmpeg
if i do find / -name libavformat.a
i get
/usr/local/lib/libavformat.a and
/usr/local/src/ffmpeg-0.4.8/libavformat/libavformat.a
but still ./configure says it doesen't exist. when i say --with-ffmpeg=/usr/local
the libavformat file is 2727178 byes, and the libavcodec is 62004468.
can you see if they are the same on your machine. is there anything else you can think of.
Regards
Paul
I've downloaded the 1.19.1 and made sure i did make installlib in ffmpeg
if i do find / -name libavformat.a
i get
/usr/local/lib/libavformat.a and
/usr/local/src/ffmpeg-0.4.8/libavformat/libavformat.a
but still ./configure says it doesen't exist. when i say --with-ffmpeg=/usr/local
the libavformat file is 2727178 byes, and the libavcodec is 62004468.
can you see if they are the same on your machine. is there anything else you can think of.
Regards
Paul
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0, wont build on the live cd version.
Hi Paul,
Try --with-ffmpeg=/usr/local/lib the README is wrong, it's not really the root per se I think.
Phil,
Try --with-ffmpeg=/usr/local/lib the README is wrong, it's not really the root per se I think.
Phil,
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
Re: 1.19.0, wont build on the live cd version.
Hi Phil,
Whilst i try and work out my problems building 1.19.0 and 1.19.1 and the ffmpeg problems. Is there a simple way i can get the sql database to back to how it should be for 1.18.1
As the new way chages the way 18.1 works.
Thanks
Paul
Whilst i try and work out my problems building 1.19.0 and 1.19.1 and the ffmpeg problems. Is there a simple way i can get the sql database to back to how it should be for 1.18.1
As the new way chages the way 18.1 works.
Thanks
Paul
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Re: 1.19.0, wont build on the live cd version.
Hi Paul,
I don't think there's a very simple way of going back to the 1.18.1 database I'm afraid, though I'll take a look.
I wouldn't bother with 1.19.0 any more just use 1.19.1 and have you tried using configure without and --with-ffmpeg at all? If it can't find it it should build but with no mpeg support, if it can find it by itself then it might well build alright anyway.
Phil,
I don't think there's a very simple way of going back to the 1.18.1 database I'm afraid, though I'll take a look.
I wouldn't bother with 1.19.0 any more just use 1.19.1 and have you tried using configure without and --with-ffmpeg at all? If it can't find it it should build but with no mpeg support, if it can find it by itself then it might well build alright anyway.
Phil,
-
- Posts: 43
- Joined: Sat Feb 21, 2004 7:39 pm
Re: 1.19.0, wont build on the live cd version.
Hey Phil,
I've sussed it out now, so no need to go back.
There was an old version of the lib lurking.
But it's built now and working. Just got to read the other threads to find out why i'm just getting a black square on the mpeg.
Keep up the great work.
Regards
Paul
I've sussed it out now, so no need to go back.
There was an old version of the lib lurking.
But it's built now and working. Just got to read the other threads to find out why i'm just getting a black square on the mpeg.
Keep up the great work.
Regards
Paul