Friday, October 23, 2020

Re: ffmpeg & x264 on arm

On 10/16/2020 9:27 AM, adr@SDF.ORG wrote:
> Hi Brad,
>
> we talked about this last year (and tested some other codecs).
> Can you apply this?
Ya, I know. I had intended to get a board up and running. Thanks to some
help from jsg@ I have my M2 Ultra board now running with an SSD and I
am checking out the tree to take a look at your diff plus some other related
bits.
> Regards,
> adr.
> ==============================================
> multimedia/x264:
>
> --- Makefile.orig Thu Oct 15 09:02:38 2020
> +++ Makefile Thu Oct 15 09:04:07 2020
> @@ -42,7 +42,8 @@
> --disable-swscale
>
> .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "mips64" || \
> - ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc"
> + ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc" || \
> + ${MACHINE_ARCH} == "arm"
> CONFIGURE_ARGS+=--disable-asm
> .endif
> ==============================================
> graphics/ffmpeg:
>
> --- Makefile.orig Fri Oct 16 14:20:11 2020
> +++ Makefile Thu Oct 15 13:55:18 2020
> @@ -130,6 +130,10 @@
> --objcc="/usr/bin/false" \
> --optflags="${OPTFLAGS}"
>
> +.if ${MACHINE_ARCH} == "arm"
> +CONFIGURE_ARGS+=--disable-asm
> +.endif
> +
> CONFIGURE_ENV+= TERM=${TERM} \
> TMPDIR=${WRKBUILD}
>

No comments:

Post a Comment