Linux 64 bit ffmpeg compilation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Linux 64 bit ffmpeg compilation

KRISHNAKUMAR N K
Hi

I have followed ffmpeg compilation guide "
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos" and its successful,
would like to know FFmpeg is 64bit by default (or) should i need to enable
any flags / properties. Also is there any ffmpeg tuning
guide/recommendation?

ffmpeg version 4.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/root/ffmpeg-4.3/ffmpeg_build
--pkg-config-flags=--static
--extra-cflags=-I/root/ffmpeg-4.3/ffmpeg_build/include
--extra-ldflags=-L/root/ffmpeg-4.3/ffmpeg_build/lib --extra-libs=-lpthread
--extra-libs=-lm --bindir=/root/ffmpeg-4.3/bin --enable-gpl
--enable-libfdk_aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvpx --enable-libx264 --enable-libx265
--enable-nonfree --enable-openssl
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...

Regards

*KrishnaKumar **N K *
*Mobile:*  +91 9894024256
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Linux 64 bit ffmpeg compilation

Carl Zwanzig
On 3/1/2021 6:41 PM, KRISHNAKUMAR N K wrote:
> would like to know FFmpeg is 64bit by default

"default" depends on the build platform and parameters. If you are building
on a 64-bit platform, configure should select this (read the configure
output or check config.h for "#define ARCH_X86_64 1").

"./configure -h" will tell you all of the supported flags.


z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Linux 64 bit ffmpeg compilation

KRISHNAKUMAR N K
On Tue, 2 Mar 2021 at 09:13, Carl Zwanzig <[hidden email]> wrote:

> On 3/1/2021 6:41 PM, KRISHNAKUMAR N K wrote:
> > would like to know FFmpeg is 64bit by default
>
> "default" depends on the build platform and parameters. If you are
> building
> on a 64-bit platform, configure should select this (read the configure
> output or check config.h for "#define ARCH_X86_64 1").
>
> "./configure -h" will tell you all of the supported flags.
>
>
Okay, I can see the following from the configure output  *"ARCH      x86
(generic)",a*lso i can see "*#define ARCH_X86_64 1*" in config.h file.

Thanks
Krishnakumar



>
> z!
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Linux 64 bit ffmpeg compilation

Carl Eugen Hoyos-2
In reply to this post by KRISHNAKUMAR N K


> Am 02.03.2021 um 03:41 schrieb KRISHNAKUMAR N K <[hidden email]>:
>
> I have followed ffmpeg compilation guide "
> https://trac.ffmpeg.org/wiki/CompilationGuide/Centos" and its successful,
> would like to know FFmpeg is 64bit by default (or) should i need to enable
> any flags / properties.

This only depends on your toolchain:
If you don’t specify a compiler when calling configure the default system compiler will be used.
On Intel 64bit systems, the system compiler most likely will default to 64bit. But this is not necessarily always the case, and on non-Intel 64bit systems it is common for the system compiler to default to 32bit.

There is a configure option „--cc“ that you can use to force 32 or 64 bit compilation:
./configure --cc=gcc -m32
(Needs parentheses around gcc -m32!!)

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

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