openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvaro <zurca...@gmail.com>
Subject Re: FFmpeg error on Ubuntu 17.04
Date Wed, 19 Apr 2017 10:45:59 GMT
...do you compile ffmpeg on a fresh Ubuntu
17.04 installation or on a dist-upgrade?

Following the actual web-guide:

https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

...i get errors.
The only way for me to compile rightly is like i told
you about "--enable-shared". On this way when make a
recording, result a .flv file in /.../streams/2 (for example),
but give an error to convert it to mp4.

If i copy from Ubuntu 16.04 (/usr/local/bin) the nine
files, product of ffmpeg compilation, and put them in
Ubuntu 17.04 (/usr/local/bin), then the recordings
made it works right, without errors.

I've installed two diferents iso of Ubuntu 17.04:

ubuntu-mate-17.04-desktop-amd64.iso

...and

ubuntu-17.04-desktop-amd64.iso

...and got the same errors on both.

Attached two captures and a log.

Can't make the tutorial until it is solved.

Some more idea...?


................







El mié, 19-04-2017 a las 00:22 +0700, Maxim Solodovnik escribió:
> Hello Alvaro,
> 
> Just have tried to recompile using this:
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu guide
> 
> works for me as expected
> 
> On Sat, Apr 15, 2017 at 11:50 PM, Maxim Solodovnik <solomax666@gmail.com>
> wrote:
> 
> > Hello Alvaro,
> > I have updated my machine to 17.04 and previously compiled ffmpeg works as
> > expected
> > I'll try to re-compile it from sources and will let you know
> >
> > On Sat, Apr 15, 2017 at 1:22 PM, Alvaro <zurcamos2@gmail.com> wrote:
> >
> >> Hello Maxim,
> >>
> >> As you surely know, Ubuntu 17.04 final is launched.
> >> I've installed it to make the OM tutorial, but
> >> found an error when compile ffmpeg.
> >>
> >> FFmpeg script: ffmpeg-ubuntu-debian.sh
> >>
> >> ...run it and get this error:
> >>
> >>   -----------------
> >>   -----------------
> >>
> >> /usr/bin/ld: /root/ffmpeg_build/lib/libvpx.a(fwd_txfm_ssse3_x86_64.asm.o):
> >> relocation R_X86_64_32 against `.rodata' can not be used when making a
> >> shared object; recompile con -fPIC
> >> /usr/bin/ld: /root/ffmpeg_build/lib/libvpx.a(inv_txfm_ssse3_x86_64.asm.o):
> >> relocation R_X86_64_32 against `.rodata' can not be used when making a
> >> shared object; recompile con -fPIC
> >> /usr/bin/ld: /root/ffmpeg_build/lib/libvpx.a(quantize_ssse3_x86_64.asm.o):
> >> relocation R_X86_64_32 against `.rodata' can not be used when making a
> >> shared object; recompile con -fPIC
> >> /usr/bin/ld: /root/ffmpeg_build/lib/libvpx.a(subpel_variance_sse2.asm.o):
> >> relocation R_X86_64_32 against `.rodata' can not be used when making a
> >> shared object; recompile con -fPIC
> >> /usr/bin/ld: falló el enlace final: Sección no representable en la
> >> salida
> >> collect2: error: ld returned 1 exit status
> >> Makefile:136: fallo en las instrucciones para el objetivo 'ffmpeg_g'
> >> make: *** [ffmpeg_g] Error 1
> >> cp: no se puede efectuar `stat' sobre 'ffmpeg': No existe el archivo o
> >> el directorio
> >> cp: no se puede efectuar `stat' sobre 'ffprobe': No existe el archivo o
> >> el directorio
> >> cp: no se puede efectuar `stat' sobre 'ffserver': No existe el archivo o
> >> el directorio
> >> cp: no se puede efectuar `stat' sobre 'x264': No existe el archivo o el
> >> directorio
> >> FFmpeg Compilation is Finished!
> >>
> >>    -------------
> >>    -------------
> >>
> >> But, if i add --enable-shared to x264, fdk-aac, lame, opus, libvpx and
> >> ffmpeg, in the script, the compilation it is right, without any error.
> >> But the compiled files as ffmpeg, ffplay, etc, are not
> >> "application/x-executable" files, but "application/x-sharedlib".
> >>
> >> This is the same if compile sox, swftools, the compiled files are
> >> "application/x-sharedlib", without add --enable-shared, don't need it.
> >> It looks like the result of any compilation is "application/x-sharedlib"
> >> files.
> >>
> >> Have you an idea about how resolve this?
> >>
> >> Thanks
> >>
> >> Alvaro
> >>
> >>
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
> 
> 
> 


Mime
View raw message