ffmpeg compile error on ubuntu

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

ffmpeg compile error on ubuntu

Remo Rayamajhi

Hello I m using ubuntu server 16.04 , I need to compile the ffmpeg .

I tried to install it from  https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu , each time I got error message on yasm nsam , libfdk , and now I m gtting error

License: nonfree and unredistributable
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
config.asm is unchanged
libavutil/avconfig.h is unchanged
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged
root@nettv:~/ffmpeg_sources/ffmpeg-3.1.11# make
CC      libavcodec/libx264.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
     if (x264_bit_depth > 8)
         ^
libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:892:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
     if (x264_bit_depth == 8)
         ^
common.mak:60: recipe for target 'libavcodec/libx264.o' failed
make: *** [libavcodec/libx264.o] Error 1
root@nettv:~/ffmpeg_sources/ffmpeg-3.1.11# sudo sh ffmpegupdate.sh
sh: 0: Can't open ffmpegupdate.sh
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg compile error on ubuntu

Carl Eugen Hoyos-2
2018-09-06 13:09 GMT+02:00, Remo Rayamajhi <[hidden email]>:
>
> Hello I m using ubuntu server 16.04 , I need to compile the ffmpeg .
>
> I tried to install it from
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

I don't think so...

> each time I got error
> message on yasm nsam , libfdk , and now I m gtting error
>
> License: nonfree and unredistributable
> Creating config.mak, config.h, and doc/config.texi...
> config.h is unchanged
> config.asm is unchanged
> libavutil/avconfig.h is unchanged
> libavcodec/bsf_list.c is unchanged
> libavformat/protocol_list.c is unchanged
> root@nettv:~/ffmpeg_sources/ffmpeg-3.1.11# make

Generally, only current FFmpeg git head is supported on this
mailing list.
In this specific case, you want to compile an old version of
FFmpeg with a newer version of a library FFmpeg depends
on. To make this work, we would need better crystal balls...

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg compile error on ubuntu

Remo Rayamajhi
In the newest veraion of FFMPEG compilation it gives error on yasm , liboam
, as well as on libfdk_ aac codecs ...  even i install correctly the with
no erroe on those codecs and libraries

so i tried with the older version .

is there any way so i successfully install ffmpeg with no errors.

On Thu, Sep 6, 2018, 10:19 PM Carl Eugen Hoyos <[hidden email]> wrote:

> 2018-09-06 13:09 GMT+02:00, Remo Rayamajhi <[hidden email]>:
> >
> > Hello I m using ubuntu server 16.04 , I need to compile the ffmpeg .
> >
> > I tried to install it from
> > https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
> I don't think so...
>
> > each time I got error
> > message on yasm nsam , libfdk , and now I m gtting error
> >
> > License: nonfree and unredistributable
> > Creating config.mak, config.h, and doc/config.texi...
> > config.h is unchanged
> > config.asm is unchanged
> > libavutil/avconfig.h is unchanged
> > libavcodec/bsf_list.c is unchanged
> > libavformat/protocol_list.c is unchanged
> > root@nettv:~/ffmpeg_sources/ffmpeg-3.1.11# make
>
> Generally, only current FFmpeg git head is supported on this
> mailing list.
> In this specific case, you want to compile an old version of
> FFmpeg with a newer version of a library FFmpeg depends
> on. To make this work, we would need better crystal balls...
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg compile error on ubuntu

mohammed bey ahmed khernache
>> In the newest veraion of FFMPEG compilation it gives error on yasm
replace --enable-yasm by --enable-x86asm
It worked for me.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg compile error on ubuntu

Remo Rayamajhi
and for libaom and and libfdk-aac what should i do

On Fri, Sep 7, 2018, 2:16 PM Mohammed Bey Ahmed Khernache <
[hidden email]> wrote:

> >> In the newest veraion of FFMPEG compilation it gives error on yasm
> replace --enable-yasm by --enable-x86asm
> It worked for me.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg compile error on ubuntu

Carl Eugen Hoyos-2
In reply to this post by Remo Rayamajhi
2018-09-07 4:09 GMT+02:00, Remo Rayamajhi <[hidden email]>:
> In the newest veraion of FFMPEG compilation it gives error on yasm ,

nasm (which is now recommendend) is - just as yasm - a small binary
that you can put in /usr/local/bin (or anywhere else in your $PATH), it
is needed since many years for FFmpeg compilation (assuming you
prefer a fast FFmpeg over a slow FFmpeg). Since new hardware is
developed, nasm/yasm has to be updated every few years. Because
it is a small, stand-alone binary it should be trivial to do the update.

> liboam

This is a very new library, are you sure that you need it?

> , as well as on libfdk_ aac codecs ...  even i install correctly the with
> no erroe on those codecs and libraries

The library changed its abi, if you need it, you either have to
install a little older version of libfdk or apply the patch that is
needed to use the latest version of libfdk.

> so i tried with the older version .

I hope you understand that using older FFmpeg with the same
libfdk cannot help you.

> is there any way so i successfully install ffmpeg with no errors.

I understand that the libfdk situation is not ideal but it will be
fixed. Apart from libfdk, I don't know of any real issues.

Please find out what top-posting means and don't do it here.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".