[Libav-user] Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Libav-user] Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User
hi all,

i am getting this errors:

libavfilter/vf_noise.c: Assembler messages:
libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid base/index expression
libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid base/index expression


I saw in google that it naybe concern to the 64 bit, but how can I resolve the errors?

Thanks


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Paul B Mahol
On 4/23/17, Self User <[hidden email]> wrote:

> hi all,
>
> i am getting this errors:
>
> libavfilter/vf_noise.c: Assembler messages:
> libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid base/index
> expression
>
>
> I saw in google that it naybe concern to the 64 bit, but how can I resolve
> the errors?

What version of FFmpeg?
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User
ffmpeg version 3.2

thanks


On Sun, Apr 23, 2017 at 6:05 PM, Paul B Mahol <[hidden email]> wrote:
On 4/23/17, Self User <[hidden email]> wrote:
> hi all,
>
> i am getting this errors:
>
> libavfilter/vf_noise.c: Assembler messages:
> libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid base/index
> expression
>
>
> I saw in google that it naybe concern to the 64 bit, but how can I resolve
> the errors?

What version of FFmpeg?
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User
Hi again,

I would like to update that I am using a private application above ffmpeg package.

I tried to compile the ffmpeg alone and it worked !

I used this configuration:

./configure --disable-yasm --disable-zlib --disable-stripping  --enable-debug=3 --disable-optimizations --enable-swresample --disable-avdevice --disable-swscale --disable-programs --disable-doc --disable-htmlpages  --disable-manpages --disable-podpages --disable-txtpages --disable-encoders --disable-decoders --disable-muxers --disable-demuxers --enable-decoder=h264 --enable-decoder=mpeg2video --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=ac3 --enable-parser=h264 --enable-demuxer=mpegts --enable-demuxer=mpegtsraw --enable-demuxer=hls --enable-demuxer=rtsp --enable-demuxer=rtp --enable-protocol=hls --enable-filter=ebur128 --enable-gpl --disable-filter=pp --bindir="bin" --libdir="/home/dev/ffmpeg32/build/lib" --shlibdir="/home/dev/ffmpeg32/build/lib" --incdir="/home/dev/ffmpeg32/build/include" --enable-rpath --enable-shared --disable-static --prefix=/home/dev/ffmpeg32/build

the package compiled perfect.


but when I am using my app (which has a lot of files...) I get the vf_noise.c compile error.

Is there any flag that can cause or affect ffmpeg? (I saw STDINT - and I am not sure I know what it means...) ?





On Sun, Apr 23, 2017 at 6:20 PM, Self User <[hidden email]> wrote:
ffmpeg version 3.2

thanks


On Sun, Apr 23, 2017 at 6:05 PM, Paul B Mahol <[hidden email]> wrote:
On 4/23/17, Self User <[hidden email]> wrote:
> hi all,
>
> i am getting this errors:
>
> libavfilter/vf_noise.c: Assembler messages:
> libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid base/index
> expression
> libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid base/index
> expression
>
>
> I saw in google that it naybe concern to the 64 bit, but how can I resolve
> the errors?

What version of FFmpeg?
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user



_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Paul B Mahol
On 4/23/17, Self User <[hidden email]> wrote:

> Hi again,
>
> I would like to update that I am using a private application above ffmpeg
> package.
>
> I tried to compile the ffmpeg alone and it worked !
>
> I used this configuration:
>
> ./configure --disable-yasm --disable-zlib --disable-stripping
>  --enable-debug=3 --disable-optimizations --enable-swresample
> --disable-avdevice --disable-swscale --disable-programs --disable-doc
> --disable-htmlpages  --disable-manpages --disable-podpages
> --disable-txtpages --disable-encoders --disable-decoders --disable-muxers
> --disable-demuxers --enable-decoder=h264 --enable-decoder=mpeg2video
> --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=ac3
> --enable-parser=h264 --enable-demuxer=mpegts --enable-demuxer=mpegtsraw
> --enable-demuxer=hls --enable-demuxer=rtsp --enable-demuxer=rtp
> --enable-protocol=hls --enable-filter=ebur128 --enable-gpl
> --disable-filter=pp --bindir="bin" --libdir="/home/dev/ffmpeg32/build/lib"
> --shlibdir="/home/dev/ffmpeg32/build/lib"
> --incdir="/home/dev/ffmpeg32/build/include"
> --enable-rpath --enable-shared --disable-static
> --prefix=/home/dev/ffmpeg32/
> build
>
> the package compiled perfect.
>
>
> but when I am using my app (which has a lot of files...) I get the
> vf_noise.c compile error.
>
> Is there any flag that can cause or affect ffmpeg? (I saw STDINT - and I am
> not sure I know what it means...) ?

What compiler you use?
You can disable noise filter as workaround.

>
>
>
>
>
> On Sun, Apr 23, 2017 at 6:20 PM, Self User <[hidden email]> wrote:
>
>> ffmpeg version 3.2
>>
>> thanks
>>
>>
>> On Sun, Apr 23, 2017 at 6:05 PM, Paul B Mahol <[hidden email]> wrote:
>>
>>> On 4/23/17, Self User <[hidden email]> wrote:
>>> > hi all,
>>> >
>>> > i am getting this errors:
>>> >
>>> > libavfilter/vf_noise.c: Assembler messages:
>>> > libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid
>>> base/index
>>> > expression
>>> >
>>> >
>>> > I saw in google that it naybe concern to the 64 bit, but how can I
>>> resolve
>>> > the errors?
>>>
>>> What version of FFmpeg?
>>> _______________________________________________
>>> Libav-user mailing list
>>> [hidden email]
>>> http://ffmpeg.org/mailman/listinfo/libav-user
>>>
>>
>>
>
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User
Hi

user@user-VirtualBox:~/iptv/IPM-R2$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

I will try to disable it.

On Sun, Apr 23, 2017 at 6:40 PM, Paul B Mahol <[hidden email]> wrote:
On 4/23/17, Self User <[hidden email]> wrote:
> Hi again,
>
> I would like to update that I am using a private application above ffmpeg
> package.
>
> I tried to compile the ffmpeg alone and it worked !
>
> I used this configuration:
>
> ./configure --disable-yasm --disable-zlib --disable-stripping
>  --enable-debug=3 --disable-optimizations --enable-swresample
> --disable-avdevice --disable-swscale --disable-programs --disable-doc
> --disable-htmlpages  --disable-manpages --disable-podpages
> --disable-txtpages --disable-encoders --disable-decoders --disable-muxers
> --disable-demuxers --enable-decoder=h264 --enable-decoder=mpeg2video
> --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=ac3
> --enable-parser=h264 --enable-demuxer=mpegts --enable-demuxer=mpegtsraw
> --enable-demuxer=hls --enable-demuxer=rtsp --enable-demuxer=rtp
> --enable-protocol=hls --enable-filter=ebur128 --enable-gpl
> --disable-filter=pp --bindir="bin" --libdir="/home/dev/ffmpeg32/build/lib"
> --shlibdir="/home/dev/ffmpeg32/build/lib"
> --incdir="/home/dev/ffmpeg32/build/include"
> --enable-rpath --enable-shared --disable-static
> --prefix=/home/dev/ffmpeg32/
> build
>
> the package compiled perfect.
>
>
> but when I am using my app (which has a lot of files...) I get the
> vf_noise.c compile error.
>
> Is there any flag that can cause or affect ffmpeg? (I saw STDINT - and I am
> not sure I know what it means...) ?

What compiler you use?
You can disable noise filter as workaround.

>
>
>
>
>
> On Sun, Apr 23, 2017 at 6:20 PM, Self User <[hidden email]> wrote:
>
>> ffmpeg version 3.2
>>
>> thanks
>>
>>
>> On Sun, Apr 23, 2017 at 6:05 PM, Paul B Mahol <[hidden email]> wrote:
>>
>>> On 4/23/17, Self User <[hidden email]> wrote:
>>> > hi all,
>>> >
>>> > i am getting this errors:
>>> >
>>> > libavfilter/vf_noise.c: Assembler messages:
>>> > libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid
>>> base/index
>>> > expression
>>> > libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid
>>> base/index
>>> > expression
>>> >
>>> >
>>> > I saw in google that it naybe concern to the 64 bit, but how can I
>>> resolve
>>> > the errors?
>>>
>>> What version of FFmpeg?
>>> _______________________________________________
>>> Libav-user mailing list
>>> [hidden email]
>>> http://ffmpeg.org/mailman/listinfo/libav-user
>>>
>>
>>
>
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Carl Eugen Hoyos-2
In reply to this post by Self User
2017-04-23 16:20 GMT+02:00 Self User <[hidden email]>:

> i am getting this errors:
>
> libavfilter/vf_noise.c: Assembler messages:
> libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index
> expression

Please test current FFmpeg git head and please tell us the configure
line that allows to reproduce the issue.

Please do not top-post here, Carl Eugen
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User
Hi Carl,

I continued figure out what may be wrong.
The version from git is good and compiled. 
The issue at my environment is probably because I compiled the ffmpeg under a shared folder.

I am using VBOX in Win7 as a host, and ubuntu image as a guest/target.
I compiled the ffmpeg in a shared folder defined in VBOX (share to a Win7 folder) and it failed.
When compiling same ffmpeg package in an inner folder (under ubuntu) that is not shared to the Win7 host - all compiled.

Thanks for help.

On Mon, Apr 24, 2017 at 11:45 AM, Carl Eugen Hoyos <[hidden email]> wrote:
2017-04-23 16:20 GMT+02:00 Self User <[hidden email]>:

> i am getting this errors:
>
> libavfilter/vf_noise.c: Assembler messages:
> libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid base/index
> expression

Please test current FFmpeg git head and please tell us the configure
line that allows to reproduce the issue.

Please do not top-post here, Carl Eugen
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user


_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Loading...