Duh,
set LDFLAGS= /usr/lib/arm-linux-gnueabihf/
should have been more like
set LDFLAGS= -L/usr/lib/arm-linux-gnueabihf/
and I could probably use a -l/usr/lib/arm-linux-gnueabihf/libx264.so.142

Rebooting anyway.

On 1/6/17, lives-users-requ...@lists.sourceforge.net
<lives-users-requ...@lists.sourceforge.net> wrote:
> Send Lives-users mailing list submissions to
>       lives-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/lives-users
> or, via email, send a message with subject or body 'help' to
>       lives-users-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
>       lives-users-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Lives-users digest..."
>
>
> Today's Topics:
>
>    1. Trouble building x264 in Lives 2.8.3 (Alan Corey)
>    2. Re: Trouble building x264 in Lives 2.8.3 (salsaman)
>    3. Re: Sound insert in 2.8.3 (salsaman)
>    4. Re: Sound insert in 2.8.3 (salsaman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 6 Jan 2017 11:17:32 -0500
> From: Alan Corey <alan01...@gmail.com>
> Subject: [Lives-users] Trouble building x264 in Lives 2.8.3
> To: lives-users@lists.sourceforge.net
> Message-ID:
>       <caoh3ddybsbjfcwbosjwhhcjcr15ponpd7xoomctmsxse_ap...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On both of my Raspberry Pi 3B machines, reasonably up to date
> Raspbian.  I have x264 and aac from a github cloning, ffmpeg is from a
> master zip file at github.  I caught the output of configure into a
> text file, chased down most of the stuff it complained about being
> missing, configured again.  This looks like a problem in x264, I tried
> stuff like --without-x264 to configure, didn't have any luck at
> leaving it out as a test.
>
> make[4]: Leaving directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback/audiostream'
> make[4]: Entering directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
> make[4]: Nothing to be done for 'all-am'.
> make[4]: Leaving directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
> make[3]: Leaving directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
> Making all in decoders
> make[3]: Entering directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/decoders'
> /bin/bash ../../../libtool  --tag=CC   --mode=link gcc
> -DHAVE_LIBAV_LIBS=1 -DHAVE_AVCODEC_OPEN2=1
> -DHAVE_AVCODEC_ALLOC_CONTEXT3=1  -DHAVE_AVFORMAT_NEW_STREAM=1
> -DHAVE_AVPACKET_UNREF=1  -DHAVE_AVFORMAT_FIND_STREAM_INFO=1
> -DHAVE_AVFORMAT_CLOSE_INPUT=1   -DHAVE_AVPRIV_SET_PTS_INFO=1 -fPIC
> -DPIC  -I/usr/local/include  -I/usr/local/include
> -Wno-deprecated-declarations -g -O2 -Wall -lpthread -shared -fPIC
> -DPIC -module -avoid-version --tag=disable-static  -L/usr/local/lib
> -lavcodec -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape
> -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread -lm
> -llzma -lz -pthread -lswresample -lm -lavutil -lm  -L/usr/local/lib
> -lavformat -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape
> -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread -lm
> -llzma -lz -pthread -lavcodec -lxcb -lxcb-shm -lxcb -lxcb-xfixes
> -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound
> -lx264 -lpthread -lm -llzma -lz -pthread -lswresample -lm -lavutil -lm
>   -o flv_decoder.la -rpath "/usr/lib/lives/plugins/decoders"
> flv_decoder_la-flv_decoder.lo flv_decoder_la-dec_helper.lo
> libtool: link: gcc -shared  -fPIC -DPIC
> .libs/flv_decoder_la-flv_decoder.o .libs/flv_decoder_la-dec_helper.o
> -L/usr/local/lib -lavformat -lavcodec -lxcb-shm -lxcb-xfixes
> -lxcb-render -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread
> -llzma -lz -lswresample -lavutil -lm  -g -O2 -pthread -pthread
> -pthread   -pthread -Wl,-soname -Wl,flv_decoder.so -o
> .libs/flv_decoder.so
> /usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation
> R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making
> a shared object; recompile with -fPIC
> /usr/local/lib/libx264.a: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> Makefile:736: recipe for target 'flv_decoder.la' failed
> make[3]: *** [flv_decoder.la] Error 1
> make[3]: Leaving directory
> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/decoders'
> Makefile:514: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
>
> X264 is possibly the codec I want most, I was just trying to see if
> everything else would build.  I have Lives 2.2.6 installed now from
> the Raspbian debs and I think my x264 works with it, nothing
> complained anyway.
>
> I am pushing the limits of my technical competence a little here.
>
> --
> Credit is the root of all evil.  - AB1JX
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 6 Jan 2017 14:18:25 -0300
> From: salsaman <salsa...@gmail.com>
> Subject: Re: [Lives-users] Trouble building x264 in Lives 2.8.3
> To: LiVES users list <lives-users@lists.sourceforge.net>
> Message-ID:
>       <CAA74=eVhtmBAWMGq1xCyjjHw1bJt0zG8T4vjkD6=z1ekdma...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Alan,
> it looks like it is trying to link against the static version of libx264.
> Perhaps you are missing the dynamic versions (.so).
>
> Also the output here is from the flv_decoder, which actually doesnt use
> x264. You could remove this plugin from the Makefile and just skip it.
>
> x264 decoding is done by the avformat_decoder.
>
>
> Regards,
> Gabriel.
>
>
>
> http://lives-video.com
> https://www.openhub.net/accounts/salsaman
>
> On Fri, Jan 6, 2017 at 1:17 PM, Alan Corey <alan01...@gmail.com> wrote:
>
>> On both of my Raspberry Pi 3B machines, reasonably up to date
>> Raspbian.  I have x264 and aac from a github cloning, ffmpeg is from a
>> master zip file at github.  I caught the output of configure into a
>> text file, chased down most of the stuff it complained about being
>> missing, configured again.  This looks like a problem in x264, I tried
>> stuff like --without-x264 to configure, didn't have any luck at
>> leaving it out as a test.
>>
>> make[4]: Leaving directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback/audiostream'
>> make[4]: Entering directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
>> make[4]: Nothing to be done for 'all-am'.
>> make[4]: Leaving directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
>> make[3]: Leaving directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/playback'
>> Making all in decoders
>> make[3]: Entering directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/decoders'
>> /bin/bash ../../../libtool  --tag=CC   --mode=link gcc
>> -DHAVE_LIBAV_LIBS=1 -DHAVE_AVCODEC_OPEN2=1
>> -DHAVE_AVCODEC_ALLOC_CONTEXT3=1  -DHAVE_AVFORMAT_NEW_STREAM=1
>> -DHAVE_AVPACKET_UNREF=1  -DHAVE_AVFORMAT_FIND_STREAM_INFO=1
>> -DHAVE_AVFORMAT_CLOSE_INPUT=1   -DHAVE_AVPRIV_SET_PTS_INFO=1 -fPIC
>> -DPIC  -I/usr/local/include  -I/usr/local/include
>> -Wno-deprecated-declarations -g -O2 -Wall -lpthread -shared -fPIC
>> -DPIC -module -avoid-version --tag=disable-static  -L/usr/local/lib
>> -lavcodec -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape
>> -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread -lm
>> -llzma -lz -pthread -lswresample -lm -lavutil -lm  -L/usr/local/lib
>> -lavformat -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape
>> -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread -lm
>> -llzma -lz -pthread -lavcodec -lxcb -lxcb-shm -lxcb -lxcb-xfixes
>> -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -ljack -lasound
>> -lx264 -lpthread -lm -llzma -lz -pthread -lswresample -lm -lavutil -lm
>>   -o flv_decoder.la -rpath "/usr/lib/lives/plugins/decoders"
>> flv_decoder_la-flv_decoder.lo flv_decoder_la-dec_helper.lo
>> libtool: link: gcc -shared  -fPIC -DPIC
>> .libs/flv_decoder_la-flv_decoder.o .libs/flv_decoder_la-dec_helper.o
>> -L/usr/local/lib -lavformat -lavcodec -lxcb-shm -lxcb-xfixes
>> -lxcb-render -lxcb-shape -lxcb -lX11 -ljack -lasound -lx264 -lpthread
>> -llzma -lz -lswresample -lavutil -lm  -g -O2 -pthread -pthread
>> -pthread   -pthread -Wl,-soname -Wl,flv_decoder.so -o
>> .libs/flv_decoder.so
>> /usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation
>> R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making
>> a shared object; recompile with -fPIC
>> /usr/local/lib/libx264.a: error adding symbols: Bad value
>> collect2: error: ld returned 1 exit status
>> Makefile:736: recipe for target 'flv_decoder.la' failed
>> make[3]: *** [flv_decoder.la] Error 1
>> make[3]: Leaving directory
>> '/usr/src/misc/lives-2.8.3/lives-plugins/plugins/decoders'
>> Makefile:514: recipe for target 'all-recursive' failed
>> make[2]: *** [all-recursive] Error 1
>>
>> X264 is possibly the codec I want most, I was just trying to see if
>> everything else would build.  I have Lives 2.2.6 installed now from
>> the Raspbian debs and I think my x264 works with it, nothing
>> complained anyway.
>>
>> I am pushing the limits of my technical competence a little here.
>>
>> --
>> Credit is the root of all evil.  - AB1JX
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Lives-users mailing list
>> Lives-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lives-users
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Fri, 6 Jan 2017 14:58:29 -0300
> From: salsaman <salsa...@gmail.com>
> Subject: Re: [Lives-users] Sound insert in 2.8.3
> To: Michel-Patrick Lutz <cont...@miniprogslane.com>,  LiVES users list
>       <lives-users@lists.sourceforge.net>
> Message-ID:
>       <CAA74=eX11+DECpq7-1rkNdAW=r66l_graozxyncjkha2pip...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> OK, will check. Is this new in 2.8.3 ?
>
> Gabriel.
>
>
>
> http://lives-video.com
> https://www.openhub.net/accounts/salsaman
>
> On Fri, Jan 6, 2017 at 5:08 AM, Michel-Patrick Lutz <
> cont...@miniprogslane.com> wrote:
>
>> Hello Gabriel,
>>
>> When I insert a silence in a clip without sound, the result is not
>> correct. The sound does not have the expected length. If I have selected
>> all the video tape, it exceeds the length of the clip by many.
>> If I insert a silence at the beginning of a clip, the original sound is
>> erased and the size of the sound is not correct. The cancellation does
>> not
>> work.
>> If I add a silence at the end or in the soundtrack, it does not always
>> work and the cancellation does not work when the insert went wrong.
>> The soundtrack size is bad and the insert is not positioned correctly.
>> If then, we do other insertions of silences at the end of the clip, it
>> seems correctThe additions of sounds seem to work correctly.
>>
>> cordially
>>
>> --
>> Michel-Patrick Lutz
>> +336 72 17 44 74
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Lives-users mailing list
>> Lives-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lives-users
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Fri, 6 Jan 2017 15:12:15 -0300
> From: salsaman <salsa...@gmail.com>
> Subject: Re: [Lives-users] Sound insert in 2.8.3
> To: Michel-Patrick Lutz <cont...@miniprogslane.com>,  LiVES users list
>       <lives-users@lists.sourceforge.net>
> Message-ID:
>       <CAA74=exgbaplqn0fhvddhye+-mpdxqthk6o--jwvubkq8fu...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Had a quick look, there MAY be a simple fix, you can try this, edit
> callbacks.c:
>
> change:
>
>   // with_sound is 2 (audio only), therfore start, end, where, are in
> seconds. rate is -ve to indicate silence
>   com=lives_strdup_printf("%s insert \"%s\" \"%s\" %.8f 0. %.8f \"%s\" 2 0
> 0 0 0 %d %d %d %d %d",
>
> to:
>
>   // with_sound is 2 (audio only), therfore start, end, where, are in
> seconds. rate is -ve to indicate silence
>   com=lives_strdup_printf("%s insert \"%s\" \"%s\" %.8f 0. %.8f \"%s\" 2 0
> 0 0 0 %d %d %d %d %d 0",
>
>
> I think the problem is that it is restoring an old backup of the audio file
> without creating it first. The above change should force the backup before
> starting work.
>
> Regards,
> Gabriel.
>
>
>
>
>
> http://lives-video.com
> https://www.openhub.net/accounts/salsaman
>
> On Fri, Jan 6, 2017 at 2:58 PM, salsaman <salsa...@gmail.com> wrote:
>
>> OK, will check. Is this new in 2.8.3 ?
>>
>> Gabriel.
>>
>>
>>
>> http://lives-video.com
>> https://www.openhub.net/accounts/salsaman
>>
>> On Fri, Jan 6, 2017 at 5:08 AM, Michel-Patrick Lutz <
>> cont...@miniprogslane.com> wrote:
>>
>>> Hello Gabriel,
>>>
>>> When I insert a silence in a clip without sound, the result is not
>>> correct. The sound does not have the expected length. If I have selected
>>> all the video tape, it exceeds the length of the clip by many.
>>> If I insert a silence at the beginning of a clip, the original sound is
>>> erased and the size of the sound is not correct. The cancellation does
>>> not
>>> work.
>>> If I add a silence at the end or in the soundtrack, it does not always
>>> work and the cancellation does not work when the insert went wrong.
>>> The soundtrack size is bad and the insert is not positioned correctly.
>>> If then, we do other insertions of silences at the end of the clip, it
>>> seems correctThe additions of sounds seem to work correctly.
>>>
>>> cordially
>>>
>>> --
>>> Michel-Patrick Lutz
>>> +336 72 17 44 74
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Lives-users mailing list
>>> Lives-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/lives-users
>>>
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
> ------------------------------
>
> _______________________________________________
> Lives-users mailing list
> Lives-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lives-users
>
>
> End of Lives-users Digest, Vol 88, Issue 4
> ******************************************
>


-- 
Credit is the root of all evil.  - AB1JX

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Lives-users mailing list
Lives-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lives-users

Reply via email to