ffmpeg & x264 on arm

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

ffmpeg & x264 on arm

adr
Hi Brad,

we talked about this last year (and tested some other codecs).
Can you apply this?

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}

Reply | Threaded
Open this post in threaded view
|

Re: ffmpeg & x264 on arm

Brad Smith-14
On 10/16/2020 9:27 AM, [hidden email] 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}
>